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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
defaultVersion
and setunsetDefaultVersion
equal totrue
at the same time.- Parameters:
defaultVersionName
- The name of the default package version.Note: You cannot name a
defaultVersion
and setunsetDefaultVersion
equal totrue
at 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
true
to remove the default package version.Note: You cannot name a
defaultVersion
and setunsetDefaultVersion
equal totrue
at the same time.- Parameters:
unsetDefaultVersion
- Indicates whether you want to remove the named default package version from the software package. Set astrue
to remove the default package version.Note: You cannot name a
defaultVersion
and setunsetDefaultVersion
equal totrue
at 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-