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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaPackageDetailsForAssociation.builder().When the
Consumercompletes,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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociatePackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-