Interface CreatePackageVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePackageVersionResponse.Builder,CreatePackageVersionResponse>
,IotResponse.Builder
,SdkBuilder<CreatePackageVersionResponse.Builder,CreatePackageVersionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreatePackageVersionResponse
public static interface CreatePackageVersionResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<CreatePackageVersionResponse.Builder,CreatePackageVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePackageVersionResponse.Builder
attributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.CreatePackageVersionResponse.Builder
description(String description)
The package version description.CreatePackageVersionResponse.Builder
errorReason(String errorReason)
Error reason for a package version failure during creation or update.CreatePackageVersionResponse.Builder
packageName(String packageName)
The name of the associated software package.CreatePackageVersionResponse.Builder
packageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.CreatePackageVersionResponse.Builder
status(String status)
The status of the package version.CreatePackageVersionResponse.Builder
status(PackageVersionStatus status)
The status of the package version.CreatePackageVersionResponse.Builder
versionName(String versionName)
The name of the new package version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packageVersionArn
CreatePackageVersionResponse.Builder packageVersionArn(String packageVersionArn)
The Amazon Resource Name (ARN) for the package.
- Parameters:
packageVersionArn
- The Amazon Resource Name (ARN) for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageName
CreatePackageVersionResponse.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
CreatePackageVersionResponse.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
CreatePackageVersionResponse.Builder description(String description)
The package version description.
- Parameters:
description
- The package version description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
CreatePackageVersionResponse.Builder attributes(Map<String,String> attributes)
Metadata that were added to the package version that can be used to define a package version’s configuration.
- Parameters:
attributes
- Metadata that were added to the package version that can be used to define a package version’s configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreatePackageVersionResponse.Builder status(String status)
The status of the package version. For more information, see Package version lifecycle.
- Parameters:
status
- The status of the package version. For more information, see Package version lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus
,PackageVersionStatus
-
status
CreatePackageVersionResponse.Builder status(PackageVersionStatus status)
The status of the package version. For more information, see Package version lifecycle.
- Parameters:
status
- The status of the package version. For more information, see Package version lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus
,PackageVersionStatus
-
errorReason
CreatePackageVersionResponse.Builder errorReason(String errorReason)
Error reason for a package version failure during creation or update.
- Parameters:
errorReason
- Error reason for a package version failure during creation or update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-