Interface PackageGroupDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PackageGroupDescription.Builder,PackageGroupDescription>,SdkBuilder<PackageGroupDescription.Builder,PackageGroupDescription>,SdkPojo
- Enclosing class:
- PackageGroupDescription
public static interface PackageGroupDescription.Builder extends SdkPojo, CopyableBuilder<PackageGroupDescription.Builder,PackageGroupDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PackageGroupDescription.Builderarn(String arn)The ARN of the package group.PackageGroupDescription.BuildercontactInfo(String contactInfo)The contact information of the package group.PackageGroupDescription.BuildercreatedTime(Instant createdTime)A timestamp that represents the date and time the package group was created.PackageGroupDescription.Builderdescription(String description)The description of the package group.PackageGroupDescription.BuilderdomainName(String domainName)The name of the domain that contains the package group.PackageGroupDescription.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.default PackageGroupDescription.BuilderoriginConfiguration(Consumer<PackageGroupOriginConfiguration.Builder> originConfiguration)The package group origin configuration that determines how package versions can enter repositories.PackageGroupDescription.BuilderoriginConfiguration(PackageGroupOriginConfiguration originConfiguration)The package group origin configuration that determines how package versions can enter repositories.default PackageGroupDescription.Builderparent(Consumer<PackageGroupReference.Builder> parent)The direct parent package group of the package group.PackageGroupDescription.Builderparent(PackageGroupReference parent)The direct parent package group of the package group.PackageGroupDescription.Builderpattern(String pattern)The pattern of the package group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
PackageGroupDescription.Builder arn(String arn)
The ARN of the package group.
- Parameters:
arn- The ARN of the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
PackageGroupDescription.Builder pattern(String pattern)
The pattern of the package group. The pattern determines which packages are associated with the package group.
- Parameters:
pattern- The pattern of the package group. The pattern determines which packages are associated with the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
PackageGroupDescription.Builder domainName(String domainName)
The name of the domain that contains the package group.
- Parameters:
domainName- The name of the domain that contains the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
PackageGroupDescription.Builder domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Parameters:
domainOwner- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
PackageGroupDescription.Builder createdTime(Instant createdTime)
A timestamp that represents the date and time the package group was created.
- Parameters:
createdTime- A timestamp that represents the date and time the package group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactInfo
PackageGroupDescription.Builder contactInfo(String contactInfo)
The contact information of the package group.
- Parameters:
contactInfo- The contact information of the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PackageGroupDescription.Builder description(String description)
The description of the package group.
- Parameters:
description- The description of the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originConfiguration
PackageGroupDescription.Builder originConfiguration(PackageGroupOriginConfiguration originConfiguration)
The package group origin configuration that determines how package versions can enter repositories.
- Parameters:
originConfiguration- The package group origin configuration that determines how package versions can enter repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originConfiguration
default PackageGroupDescription.Builder originConfiguration(Consumer<PackageGroupOriginConfiguration.Builder> originConfiguration)
The package group origin configuration that determines how package versions can enter repositories.
This is a convenience method that creates an instance of thePackageGroupOriginConfiguration.Builderavoiding the need to create one manually viaPackageGroupOriginConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginConfiguration(PackageGroupOriginConfiguration).- Parameters:
originConfiguration- a consumer that will call methods onPackageGroupOriginConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
originConfiguration(PackageGroupOriginConfiguration)
-
parent
PackageGroupDescription.Builder parent(PackageGroupReference parent)
The direct parent package group of the package group.
- Parameters:
parent- The direct parent package group of the package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parent
default PackageGroupDescription.Builder parent(Consumer<PackageGroupReference.Builder> parent)
The direct parent package group of the package group.
This is a convenience method that creates an instance of thePackageGroupReference.Builderavoiding the need to create one manually viaPackageGroupReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparent(PackageGroupReference).- Parameters:
parent- a consumer that will call methods onPackageGroupReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parent(PackageGroupReference)
-
-