Interface CreatePackageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePackageRequest.Builder,,CreatePackageRequest> ElasticsearchRequest.Builder,SdkBuilder<CreatePackageRequest.Builder,,CreatePackageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePackageRequest
public static interface CreatePackageRequest.Builder
extends ElasticsearchRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageDescription(String packageDescription) Description of the package.packageName(String packageName) Unique identifier for the package.default CreatePackageRequest.BuilderpackageSource(Consumer<PackageSource.Builder> packageSource) The customer S3 locationPackageSourcefor importing the package.packageSource(PackageSource packageSource) The customer S3 locationPackageSourcefor importing the package.packageType(String packageType) Type of package.packageType(PackageType packageType) Type of package.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.elasticsearch.model.ElasticsearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
packageName
Unique identifier for the package.
- Parameters:
packageName- Unique identifier for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageType
Type of package. Currently supports only TXT-DICTIONARY.
- Parameters:
packageType- Type of package. Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageType
Type of package. Currently supports only TXT-DICTIONARY.
- Parameters:
packageType- Type of package. Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageDescription
Description of the package.
- Parameters:
packageDescription- Description of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
The customer S3 location
PackageSourcefor importing the package.- Parameters:
packageSource- The customer S3 locationPackageSourcefor importing the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
The customer S3 location
This is a convenience method that creates an instance of thePackageSourcefor importing the package.PackageSource.Builderavoiding the need to create one manually viaPackageSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageSource(PackageSource).- Parameters:
packageSource- a consumer that will call methods onPackageSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-