Interface UpdatePackageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePackageRequest.Builder,,UpdatePackageRequest> IotRequest.Builder,SdkBuilder<UpdatePackageRequest.Builder,,UpdatePackageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePackageRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.defaultVersionName(String defaultVersionName) The name of the default package version.description(String description) The package description.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageName(String packageName) The name of the target software package.unsetDefaultVersion(Boolean unsetDefaultVersion) Indicates whether you want to remove the named default package version from the software 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.iot.model.IotRequest.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
The name of the target software package.
- Parameters:
packageName- The name of the target software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The package description.
- Parameters:
description- The package description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersionName
The name of the default package version.
Note: You cannot name a
defaultVersionand setunsetDefaultVersionequal totrueat the same time.- Parameters:
defaultVersionName- The name of the default package version.Note: You cannot name a
defaultVersionand setunsetDefaultVersionequal totrueat the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsetDefaultVersion
Indicates whether you want to remove the named default package version from the software package. Set as
trueto remove the default package version.Note: You cannot name a
defaultVersionand setunsetDefaultVersionequal totrueat the same time.- Parameters:
unsetDefaultVersion- Indicates whether you want to remove the named default package version from the software package. Set astrueto remove the default package version.Note: You cannot name a
defaultVersionand setunsetDefaultVersionequal totrueat the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
- Parameters:
clientToken- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePackageRequest.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
UpdatePackageRequest.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.
-