Interface UpdatePackageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>,OpenSearchRequest.Builder,SdkBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePackageRequest
public static interface UpdatePackageRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>
-
-
Method Summary
-
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
-
packageID
UpdatePackageRequest.Builder packageID(String packageID)
The unique identifier for the package.
- Parameters:
packageID- The unique identifier for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
UpdatePackageRequest.Builder packageSource(PackageSource packageSource)
Amazon S3 bucket and key for the package.
- Parameters:
packageSource- Amazon S3 bucket and key for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
default UpdatePackageRequest.Builder packageSource(Consumer<PackageSource.Builder> packageSource)
Amazon S3 bucket and key for the package.
This is a convenience method that creates an instance of thePackageSource.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:
packageSource(PackageSource)
-
packageDescription
UpdatePackageRequest.Builder packageDescription(String packageDescription)
A new description of the package.
- Parameters:
packageDescription- A new description of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitMessage
UpdatePackageRequest.Builder commitMessage(String commitMessage)
Commit message for the updated file, which is shown as part of
GetPackageVersionHistoryResponse.- Parameters:
commitMessage- Commit message for the updated file, which is shown as part ofGetPackageVersionHistoryResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageConfiguration
UpdatePackageRequest.Builder packageConfiguration(PackageConfiguration packageConfiguration)
The updated configuration details for a package.
- Parameters:
packageConfiguration- The updated configuration details for a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageConfiguration
default UpdatePackageRequest.Builder packageConfiguration(Consumer<PackageConfiguration.Builder> packageConfiguration)
The updated configuration details for a package.
This is a convenience method that creates an instance of thePackageConfiguration.Builderavoiding the need to create one manually viaPackageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageConfiguration(PackageConfiguration).- Parameters:
packageConfiguration- a consumer that will call methods onPackageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
packageConfiguration(PackageConfiguration)
-
packageEncryptionOptions
UpdatePackageRequest.Builder packageEncryptionOptions(PackageEncryptionOptions packageEncryptionOptions)
Encryption options for a package.
- Parameters:
packageEncryptionOptions- Encryption options for a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageEncryptionOptions
default UpdatePackageRequest.Builder packageEncryptionOptions(Consumer<PackageEncryptionOptions.Builder> packageEncryptionOptions)
Encryption options for a package.
This is a convenience method that creates an instance of thePackageEncryptionOptions.Builderavoiding the need to create one manually viaPackageEncryptionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageEncryptionOptions(PackageEncryptionOptions).- Parameters:
packageEncryptionOptions- a consumer that will call methods onPackageEncryptionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
packageEncryptionOptions(PackageEncryptionOptions)
-
overrideConfiguration
UpdatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-