Interface CreatePackageVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePackageVersionRequest.Builder,CreatePackageVersionRequest>,IotRequest.Builder,SdkBuilder<CreatePackageVersionRequest.Builder,CreatePackageVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePackageVersionRequest
public static interface CreatePackageVersionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageVersionRequest.Builder,CreatePackageVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePackageVersionRequest.Builderartifact(Consumer<PackageVersionArtifact.Builder> artifact)The various build components created during the build process such as libraries and configuration files that make up a software package version.CreatePackageVersionRequest.Builderartifact(PackageVersionArtifact artifact)The various build components created during the build process such as libraries and configuration files that make up a software package version.CreatePackageVersionRequest.Builderattributes(Map<String,String> attributes)Metadata that can be used to define a package version’s configuration.CreatePackageVersionRequest.BuilderclientToken(String clientToken)A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.CreatePackageVersionRequest.Builderdescription(String description)A summary of the package version being created.CreatePackageVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePackageVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePackageVersionRequest.BuilderpackageName(String packageName)The name of the associated software package.CreatePackageVersionRequest.Builderrecipe(String recipe)The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.CreatePackageVersionRequest.Buildertags(Map<String,String> tags)Metadata that can be used to manage the package version.CreatePackageVersionRequest.BuilderversionName(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 Detail
-
packageName
CreatePackageVersionRequest.Builder packageName(String 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
CreatePackageVersionRequest.Builder versionName(String 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
CreatePackageVersionRequest.Builder description(String 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
CreatePackageVersionRequest.Builder attributes(Map<String,String> 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.
-
artifact
CreatePackageVersionRequest.Builder artifact(PackageVersionArtifact artifact)
The various build components created during the build process such as libraries and configuration files that make up a software package version.
- Parameters:
artifact- The various build components created during the build process such as libraries and configuration files that make up a software package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifact
default CreatePackageVersionRequest.Builder artifact(Consumer<PackageVersionArtifact.Builder> artifact)
The various build components created during the build process such as libraries and configuration files that make up a software package version.
This is a convenience method that creates an instance of thePackageVersionArtifact.Builderavoiding the need to create one manually viaPackageVersionArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifact(PackageVersionArtifact).- Parameters:
artifact- a consumer that will call methods onPackageVersionArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
artifact(PackageVersionArtifact)
-
recipe
CreatePackageVersionRequest.Builder recipe(String recipe)
The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.
- Parameters:
recipe- The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePackageVersionRequest.Builder tags(Map<String,String> 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
CreatePackageVersionRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePackageVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-