Interface CreatePackageVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePackageVersionRequest.Builder,
,CreatePackageVersionRequest> IotRequest.Builder
,SdkBuilder<CreatePackageVersionRequest.Builder,
,CreatePackageVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePackageVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) Metadata that can be used to define a package version’s configuration.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.description
(String description) A summary of the package version being created.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 associated software package.Metadata that can be used to manage the package version.versionName
(String versionName) The name of the new package version.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 associated software package.
- Parameters:
packageName
- The name of the associated software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
The name of the new package version.
- Parameters:
versionName
- The name of the new package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A summary of the package version being created. This can be used to outline the package's contents or purpose.
- Parameters:
description
- A summary of the package version being created. This can be used to outline the package's contents or purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
- Parameters:
attributes
- Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.The combined size of all the attributes on a package version is limited to 3KB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the package version.
- Parameters:
tags
- Metadata that can be used to manage the package version.- 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
CreatePackageVersionRequest.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
CreatePackageVersionRequest.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.
-