Interface ReplicateKeyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ReplicateKeyResponse.Builder,ReplicateKeyResponse>, KmsResponse.Builder, SdkBuilder<ReplicateKeyResponse.Builder,ReplicateKeyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ReplicateKeyResponse

public static interface ReplicateKeyResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ReplicateKeyResponse.Builder,ReplicateKeyResponse>
  • Method Details

    • replicaKeyMetadata

      ReplicateKeyResponse.Builder replicaKeyMetadata(KeyMetadata replicaKeyMetadata)

      Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.

      Parameters:
      replicaKeyMetadata - Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaKeyMetadata

      default ReplicateKeyResponse.Builder replicaKeyMetadata(Consumer<KeyMetadata.Builder> replicaKeyMetadata)

      Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to replicaKeyMetadata(KeyMetadata).

      Parameters:
      replicaKeyMetadata - a consumer that will call methods on KeyMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicaPolicy

      ReplicateKeyResponse.Builder replicaPolicy(String replicaPolicy)

      The key policy of the new replica key. The value is a key policy document in JSON format.

      Parameters:
      replicaPolicy - The key policy of the new replica key. The value is a key policy document in JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaTags

      ReplicateKeyResponse.Builder replicaTags(Collection<Tag> replicaTags)

      The tags on the new replica key. The value is a list of tag key and tag value pairs.

      Parameters:
      replicaTags - The tags on the new replica key. The value is a list of tag key and tag value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaTags

      ReplicateKeyResponse.Builder replicaTags(Tag... replicaTags)

      The tags on the new replica key. The value is a list of tag key and tag value pairs.

      Parameters:
      replicaTags - The tags on the new replica key. The value is a list of tag key and tag value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaTags

      ReplicateKeyResponse.Builder replicaTags(Consumer<Tag.Builder>... replicaTags)

      The tags on the new replica key. The value is a list of tag key and tag value pairs.

      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 replicaTags(List<Tag>).

      Parameters:
      replicaTags - 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: