Interface AwsEc2VolumeDetails.Builder

    • Method Detail

      • createTime

        AwsEc2VolumeDetails.Builder createTime​(String createTime)

        Indicates when the volume was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        createTime - Indicates when the volume was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceName

        AwsEc2VolumeDetails.Builder deviceName​(String deviceName)

        The device name for the volume that is attached to the instance.

        Parameters:
        deviceName - The device name for the volume that is attached to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encrypted

        AwsEc2VolumeDetails.Builder encrypted​(Boolean encrypted)

        Specifies whether the volume is encrypted.

        Parameters:
        encrypted - Specifies whether the volume is encrypted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • size

        AwsEc2VolumeDetails.Builder size​(Integer size)

        The size of the volume, in GiBs.

        Parameters:
        size - The size of the volume, in GiBs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        AwsEc2VolumeDetails.Builder snapshotId​(String snapshotId)

        The snapshot from which the volume was created.

        Parameters:
        snapshotId - The snapshot from which the volume was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        AwsEc2VolumeDetails.Builder status​(String status)

        The volume state. Valid values are as follows:

        • available

        • creating

        • deleted

        • deleting

        • error

        • in-use

        Parameters:
        status - The volume state. Valid values are as follows:

        • available

        • creating

        • deleted

        • deleting

        • error

        • in-use

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        AwsEc2VolumeDetails.Builder kmsKeyId​(String kmsKeyId)

        The ARN of the KMS key that was used to protect the volume encryption key for the volume.

        Parameters:
        kmsKeyId - The ARN of the KMS key that was used to protect the volume encryption key for the volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachments

        AwsEc2VolumeDetails.Builder attachments​(AwsEc2VolumeAttachment... attachments)

        The volume attachments.

        Parameters:
        attachments - The volume attachments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeId

        AwsEc2VolumeDetails.Builder volumeId​(String volumeId)

        The ID of the volume.

        Parameters:
        volumeId - The ID of the volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeType

        AwsEc2VolumeDetails.Builder volumeType​(String volumeType)

        The volume type.

        Parameters:
        volumeType - The volume type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeScanStatus

        AwsEc2VolumeDetails.Builder volumeScanStatus​(String volumeScanStatus)

        Indicates whether the volume was scanned or skipped.

        Parameters:
        volumeScanStatus - Indicates whether the volume was scanned or skipped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.