Interface KxVolume.Builder

All Superinterfaces:
Buildable, CopyableBuilder<KxVolume.Builder,KxVolume>, SdkBuilder<KxVolume.Builder,KxVolume>, SdkPojo
Enclosing class:
KxVolume

@Mutable @NotThreadSafe public static interface KxVolume.Builder extends SdkPojo, CopyableBuilder<KxVolume.Builder,KxVolume>
  • Method Details

    • 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_1 volume type.

      Parameters:
      volumeType - The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      KxVolume.Builder volumeType(KxVolumeType volumeType)

      The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

      Parameters:
      volumeType - The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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 you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

      Parameters:
      azMode - The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • azMode

      KxVolume.Builder azMode(KxAzMode azMode)

      The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

      Parameters:
      azMode - The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.