Interface StartSnapshotResponse.Builder

    • Method Detail

      • description

        StartSnapshotResponse.Builder description​(String description)

        The description of the snapshot.

        Parameters:
        description - The description of the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        StartSnapshotResponse.Builder snapshotId​(String snapshotId)

        The ID of the snapshot.

        Parameters:
        snapshotId - The ID of the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        StartSnapshotResponse.Builder ownerId​(String ownerId)

        The Amazon Web Services account ID of the snapshot owner.

        Parameters:
        ownerId - The Amazon Web Services account ID of the snapshot owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        StartSnapshotResponse.Builder status​(String status)

        The status of the snapshot.

        Parameters:
        status - The status of the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status
      • status

        StartSnapshotResponse.Builder status​(Status status)

        The status of the snapshot.

        Parameters:
        status - The status of the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status
      • startTime

        StartSnapshotResponse.Builder startTime​(Instant startTime)

        The timestamp when the snapshot was created.

        Parameters:
        startTime - The timestamp when the snapshot was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeSize

        StartSnapshotResponse.Builder volumeSize​(Long volumeSize)

        The size of the volume, in GiB.

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

        StartSnapshotResponse.Builder blockSize​(Integer blockSize)

        The size of the blocks in the snapshot, in bytes.

        Parameters:
        blockSize - The size of the blocks in the snapshot, in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        StartSnapshotResponse.Builder tags​(Tag... tags)

        The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        tags - The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentSnapshotId

        StartSnapshotResponse.Builder parentSnapshotId​(String parentSnapshotId)

        The ID of the parent snapshot.

        Parameters:
        parentSnapshotId - The ID of the parent snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyArn

        StartSnapshotResponse.Builder kmsKeyArn​(String kmsKeyArn)

        The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sseType

        StartSnapshotResponse.Builder sseType​(String sseType)

        Reserved for future use.

        Parameters:
        sseType - Reserved for future use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SSEType, SSEType
      • sseType

        StartSnapshotResponse.Builder sseType​(SSEType sseType)

        Reserved for future use.

        Parameters:
        sseType - Reserved for future use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SSEType, SSEType