Interface AssociatePackageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociatePackageRequest.Builder,
,AssociatePackageRequest> OpenSearchRequest.Builder
,SdkBuilder<AssociatePackageRequest.Builder,
,AssociatePackageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociatePackageRequest
@Mutable
@NotThreadSafe
public static interface AssociatePackageRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AssociatePackageRequest.Builder,AssociatePackageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociatePackageRequest.Builder
associationConfiguration
(Consumer<PackageAssociationConfiguration.Builder> associationConfiguration) The configuration for associating a package with an Amazon OpenSearch Service domain.associationConfiguration
(PackageAssociationConfiguration associationConfiguration) The configuration for associating a package with an Amazon OpenSearch Service domain.domainName
(String domainName) Name of the domain to associate the package with.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Internal ID of the package to associate with a domain.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.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.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 Details
-
packageID
Internal ID of the package to associate with a domain. Use
DescribePackages
to find this value.- Parameters:
packageID
- Internal ID of the package to associate with a domain. UseDescribePackages
to find this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.Builder
avoiding the need to create one manually viaPackageAssociationConfiguration.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
AssociatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-