Interface ImageVersion.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageVersion.Builder,ImageVersion>
,SdkBuilder<ImageVersion.Builder,ImageVersion>
,SdkPojo
- Enclosing class:
- ImageVersion
public static interface ImageVersion.Builder extends SdkPojo, CopyableBuilder<ImageVersion.Builder,ImageVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageVersion.Builder
creationTime(Instant creationTime)
When the version was created.ImageVersion.Builder
failureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.ImageVersion.Builder
imageArn(String imageArn)
The ARN of the image the version is based on.ImageVersion.Builder
imageVersionArn(String imageVersionArn)
The ARN of the version.ImageVersion.Builder
imageVersionStatus(String imageVersionStatus)
The status of the version.ImageVersion.Builder
imageVersionStatus(ImageVersionStatus imageVersionStatus)
The status of the version.ImageVersion.Builder
lastModifiedTime(Instant lastModifiedTime)
When the version was last modified.ImageVersion.Builder
version(Integer version)
The version number.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
creationTime
ImageVersion.Builder creationTime(Instant creationTime)
When the version was created.
- Parameters:
creationTime
- When the version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
ImageVersion.Builder failureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.
- Parameters:
failureReason
- When a create or delete operation fails, the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageArn
ImageVersion.Builder imageArn(String imageArn)
The ARN of the image the version is based on.
- Parameters:
imageArn
- The ARN of the image the version is based on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageVersionArn
ImageVersion.Builder imageVersionArn(String imageVersionArn)
The ARN of the version.
- Parameters:
imageVersionArn
- The ARN of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageVersionStatus
ImageVersion.Builder imageVersionStatus(String imageVersionStatus)
The status of the version.
- Parameters:
imageVersionStatus
- The status of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImageVersionStatus
,ImageVersionStatus
-
imageVersionStatus
ImageVersion.Builder imageVersionStatus(ImageVersionStatus imageVersionStatus)
The status of the version.
- Parameters:
imageVersionStatus
- The status of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImageVersionStatus
,ImageVersionStatus
-
lastModifiedTime
ImageVersion.Builder lastModifiedTime(Instant lastModifiedTime)
When the version was last modified.
- Parameters:
lastModifiedTime
- When the version was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
ImageVersion.Builder version(Integer version)
The version number.
- Parameters:
version
- The version number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-