Interface StartSnapshotResponse.Builder

  • Method Details

    • 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

      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

      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

      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:
    • 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

      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.
    • 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.
    • 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.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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: