Interface AssociatePackageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociatePackageRequest.Builder,AssociatePackageRequest>,OpenSearchRequest.Builder,SdkBuilder<AssociatePackageRequest.Builder,AssociatePackageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociatePackageRequest
public static interface AssociatePackageRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AssociatePackageRequest.Builder,AssociatePackageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociatePackageRequest.BuilderassociationConfiguration(Consumer<PackageAssociationConfiguration.Builder> associationConfiguration)The configuration for associating a package with an Amazon OpenSearch Service domain.AssociatePackageRequest.BuilderassociationConfiguration(PackageAssociationConfiguration associationConfiguration)The configuration for associating a package with an Amazon OpenSearch Service domain.AssociatePackageRequest.BuilderdomainName(String domainName)Name of the domain to associate the package with.AssociatePackageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociatePackageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociatePackageRequest.BuilderpackageID(String packageID)Internal ID of the package to associate with a domain.AssociatePackageRequest.BuilderprerequisitePackageIDList(String... prerequisitePackageIDList)A list of package IDs that must be associated with the domain before the package specified in the request can be associated.AssociatePackageRequest.BuilderprerequisitePackageIDList(Collection<String> prerequisitePackageIDList)A list of package IDs that must be associated with the domain before the package specified in the request can be associated.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
build
-
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
-
packageID
AssociatePackageRequest.Builder packageID(String packageID)
Internal ID of the package to associate with a domain. Use
DescribePackagesto find this value.- Parameters:
packageID- Internal ID of the package to associate with a domain. UseDescribePackagesto find this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
AssociatePackageRequest.Builder domainName(String domainName)
Name of the domain to associate the package with.
- Parameters:
domainName- Name of the domain to associate the package with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prerequisitePackageIDList
AssociatePackageRequest.Builder prerequisitePackageIDList(Collection<String> prerequisitePackageIDList)
A list of package IDs that must be associated with the domain before the package specified in the request can be associated.
- Parameters:
prerequisitePackageIDList- A list of package IDs that must be associated with the domain before the package specified in the request can be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prerequisitePackageIDList
AssociatePackageRequest.Builder prerequisitePackageIDList(String... prerequisitePackageIDList)
A list of package IDs that must be associated with the domain before the package specified in the request can be associated.
- Parameters:
prerequisitePackageIDList- A list of package IDs that must be associated with the domain before the package specified in the request can be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfiguration
AssociatePackageRequest.Builder associationConfiguration(PackageAssociationConfiguration associationConfiguration)
The configuration for associating a package with an Amazon OpenSearch Service domain.
- Parameters:
associationConfiguration- The configuration for associating a package with an Amazon OpenSearch Service domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfiguration
default AssociatePackageRequest.Builder associationConfiguration(Consumer<PackageAssociationConfiguration.Builder> associationConfiguration)
The configuration for associating a package with an Amazon OpenSearch Service domain.
This is a convenience method that creates an instance of thePackageAssociationConfiguration.Builderavoiding the need to create one manually viaPackageAssociationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationConfiguration(PackageAssociationConfiguration).- Parameters:
associationConfiguration- a consumer that will call methods onPackageAssociationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
associationConfiguration(PackageAssociationConfiguration)
-
overrideConfiguration
AssociatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-