Interface KxVolume.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KxVolume.Builder,KxVolume>,SdkBuilder<KxVolume.Builder,KxVolume>,SdkPojo
- Enclosing class:
- KxVolume
public static interface KxVolume.Builder extends SdkPojo, CopyableBuilder<KxVolume.Builder,KxVolume>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KxVolume.BuilderavailabilityZoneIds(String... availabilityZoneIds)The identifier of the availability zones.KxVolume.BuilderavailabilityZoneIds(Collection<String> availabilityZoneIds)The identifier of the availability zones.KxVolume.BuilderazMode(String azMode)The number of availability zones assigned to the volume.KxVolume.BuilderazMode(KxAzMode azMode)The number of availability zones assigned to the volume.KxVolume.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp at which the volume was created in FinSpace.KxVolume.Builderdescription(String description)A description of the volume.KxVolume.BuilderlastModifiedTimestamp(Instant lastModifiedTimestamp)The last time that the volume was updated in FinSpace.KxVolume.Builderstatus(String status)The status of volume.KxVolume.Builderstatus(KxVolumeStatus status)The status of volume.KxVolume.BuilderstatusReason(String statusReason)The error message when a failed state occurs.KxVolume.BuildervolumeName(String volumeName)A unique identifier for the volume.KxVolume.BuildervolumeType(String volumeType)The type of file system volume.KxVolume.BuildervolumeType(KxVolumeType volumeType)The type of file system volume.-
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
-
volumeName
KxVolume.Builder volumeName(String volumeName)
A unique identifier for the volume.
- Parameters:
volumeName- A unique identifier for the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
KxVolume.Builder volumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type.- Parameters:
volumeType- The type of file system volume. Currently, FinSpace only supportsNAS_1volume type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeType,KxVolumeType
-
volumeType
KxVolume.Builder volumeType(KxVolumeType volumeType)
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type.- Parameters:
volumeType- The type of file system volume. Currently, FinSpace only supportsNAS_1volume type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeType,KxVolumeType
-
status
KxVolume.Builder status(String status)
The status of volume.
-
CREATING – The volume creation is in progress.
-
CREATE_FAILED – The volume creation has failed.
-
ACTIVE – The volume is active.
-
UPDATING – The volume is in the process of being updated.
-
UPDATE_FAILED – The update action failed.
-
UPDATED – The volume is successfully updated.
-
DELETING – The volume is in the process of being deleted.
-
DELETE_FAILED – The system failed to delete the volume.
-
DELETED – The volume is successfully deleted.
- Parameters:
status- The status of volume.-
CREATING – The volume creation is in progress.
-
CREATE_FAILED – The volume creation has failed.
-
ACTIVE – The volume is active.
-
UPDATING – The volume is in the process of being updated.
-
UPDATE_FAILED – The update action failed.
-
UPDATED – The volume is successfully updated.
-
DELETING – The volume is in the process of being deleted.
-
DELETE_FAILED – The system failed to delete the volume.
-
DELETED – The volume is successfully deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeStatus,KxVolumeStatus
-
-
status
KxVolume.Builder status(KxVolumeStatus status)
The status of volume.
-
CREATING – The volume creation is in progress.
-
CREATE_FAILED – The volume creation has failed.
-
ACTIVE – The volume is active.
-
UPDATING – The volume is in the process of being updated.
-
UPDATE_FAILED – The update action failed.
-
UPDATED – The volume is successfully updated.
-
DELETING – The volume is in the process of being deleted.
-
DELETE_FAILED – The system failed to delete the volume.
-
DELETED – The volume is successfully deleted.
- Parameters:
status- The status of volume.-
CREATING – The volume creation is in progress.
-
CREATE_FAILED – The volume creation has failed.
-
ACTIVE – The volume is active.
-
UPDATING – The volume is in the process of being updated.
-
UPDATE_FAILED – The update action failed.
-
UPDATED – The volume is successfully updated.
-
DELETING – The volume is in the process of being deleted.
-
DELETE_FAILED – The system failed to delete the volume.
-
DELETED – The volume is successfully deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeStatus,KxVolumeStatus
-
-
description
KxVolume.Builder description(String description)
A description of the volume.
- Parameters:
description- A description of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
KxVolume.Builder statusReason(String statusReason)
The error message when a failed state occurs.
- Parameters:
statusReason- The error message when a failed state occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
azMode
KxVolume.Builder azMode(String azMode)
The number of availability zones assigned to the volume. Currently, only
SINGLEis supported.
-
azMode
KxVolume.Builder azMode(KxAzMode azMode)
The number of availability zones assigned to the volume. Currently, only
SINGLEis supported.
-
availabilityZoneIds
KxVolume.Builder availabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
- Parameters:
availabilityZoneIds- The identifier of the availability zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneIds
KxVolume.Builder availabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
- Parameters:
availabilityZoneIds- The identifier of the availability zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
KxVolume.Builder createdTimestamp(Instant createdTimestamp)
The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Parameters:
createdTimestamp- The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimestamp
KxVolume.Builder lastModifiedTimestamp(Instant lastModifiedTimestamp)
The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Parameters:
lastModifiedTimestamp- The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-