Interface AssociatePackagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociatePackagesRequest.Builder,
,AssociatePackagesRequest> OpenSearchRequest.Builder
,SdkBuilder<AssociatePackagesRequest.Builder,
,AssociatePackagesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociatePackagesRequest
@Mutable
@NotThreadSafe
public static interface AssociatePackagesRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AssociatePackagesRequest.Builder,AssociatePackagesRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName
(String domainName) Sets the value of the DomainName property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageList
(Collection<PackageDetailsForAssociation> packageList) A list of packages and their prerequisites to be associated with a domain.packageList
(Consumer<PackageDetailsForAssociation.Builder>... packageList) A list of packages and their prerequisites to be associated with a domain.packageList
(PackageDetailsForAssociation... packageList) A list of packages and their prerequisites to be associated with a domain.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
-
packageList
A list of packages and their prerequisites to be associated with a domain.
- Parameters:
packageList
- A list of packages and their prerequisites to be associated with a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageList
A list of packages and their prerequisites to be associated with a domain.
- Parameters:
packageList
- A list of packages and their prerequisites to be associated with a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageList
AssociatePackagesRequest.Builder packageList(Consumer<PackageDetailsForAssociation.Builder>... packageList) A list of packages and their prerequisites to be associated with a domain.
This is a convenience method that creates an instance of thePackageDetailsForAssociation.Builder
avoiding the need to create one manually viaPackageDetailsForAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topackageList(List<PackageDetailsForAssociation>)
.- Parameters:
packageList
- a consumer that will call methods onPackageDetailsForAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainName
Sets the value of the DomainName property for this object.- Parameters:
domainName
- The new value for the DomainName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociatePackagesRequest.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
AssociatePackagesRequest.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.
-