Interface AssociatePackagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociatePackagesRequest.Builder,AssociatePackagesRequest>
,OpenSearchRequest.Builder
,SdkBuilder<AssociatePackagesRequest.Builder,AssociatePackagesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- AssociatePackagesRequest
public static interface AssociatePackagesRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AssociatePackagesRequest.Builder,AssociatePackagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociatePackagesRequest.Builder
domainName(String domainName)
Sets the value of the DomainName property for this object.AssociatePackagesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AssociatePackagesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AssociatePackagesRequest.Builder
packageList(Collection<PackageDetailsForAssociation> packageList)
A list of packages and their prerequisites to be associated with a domain.AssociatePackagesRequest.Builder
packageList(Consumer<PackageDetailsForAssociation.Builder>... packageList)
A list of packages and their prerequisites to be associated with a domain.AssociatePackagesRequest.Builder
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 Detail
-
packageList
AssociatePackagesRequest.Builder packageList(Collection<PackageDetailsForAssociation> 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(PackageDetailsForAssociation... 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 to#packageList(List
.) - 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:
#packageList(java.util.Collection
)
-
domainName
AssociatePackagesRequest.Builder domainName(String 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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AssociatePackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-