Interface PackageGroupDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageGroupDescription.Builder,
,PackageGroupDescription> SdkBuilder<PackageGroupDescription.Builder,
,PackageGroupDescription> SdkPojo
- Enclosing class:
PackageGroupDescription
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the package group.contactInfo
(String contactInfo) The contact information of the package group.createdTime
(Instant createdTime) A timestamp that represents the date and time the package group was created.description
(String description) The description of the package group.domainName
(String domainName) The name of the domain that contains the package group.domainOwner
(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.default PackageGroupDescription.Builder
originConfiguration
(Consumer<PackageGroupOriginConfiguration.Builder> originConfiguration) The package group origin configuration that determines how package versions can enter repositories.originConfiguration
(PackageGroupOriginConfiguration originConfiguration) The package group origin configuration that determines how package versions can enter repositories.default PackageGroupDescription.Builder
parent
(Consumer<PackageGroupReference.Builder> parent) The direct parent package group of the package group.parent
(PackageGroupReference parent) The direct parent package group of the package group.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, sdkFields
-
Method Details
-
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
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaPackageGroupOriginConfiguration.builder()
.When the
Consumer
completes,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:
-
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
The direct parent package group of the package group.
This is a convenience method that creates an instance of thePackageGroupReference.Builder
avoiding the need to create one manually viaPackageGroupReference.builder()
.When the
Consumer
completes,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:
-