* 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. *
*/ private KeyMetadata replicaKeyMetadata; /** ** The key policy of the new replica key. The value is a key policy document in JSON format. *
*/ private String replicaPolicy; /** ** The tags on the new replica key. The value is a list of tag key and tag value pairs. *
*/ private com.amazonaws.internal.SdkInternalList* 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. *
* * @param 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. */ public void setReplicaKeyMetadata(KeyMetadata replicaKeyMetadata) { this.replicaKeyMetadata = 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. *
* * @return 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. */ public KeyMetadata getReplicaKeyMetadata() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicateKeyResult withReplicaKeyMetadata(KeyMetadata replicaKeyMetadata) { setReplicaKeyMetadata(replicaKeyMetadata); return this; } /** ** The key policy of the new replica key. The value is a key policy document in JSON format. *
* * @param replicaPolicy * The key policy of the new replica key. The value is a key policy document in JSON format. */ public void setReplicaPolicy(String replicaPolicy) { this.replicaPolicy = replicaPolicy; } /** ** The key policy of the new replica key. The value is a key policy document in JSON format. *
* * @return The key policy of the new replica key. The value is a key policy document in JSON format. */ public String getReplicaPolicy() { return this.replicaPolicy; } /** ** The key policy of the new replica key. The value is a key policy document in JSON format. *
* * @param replicaPolicy * The key policy of the new replica key. The value is a key policy document in JSON format. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicateKeyResult withReplicaPolicy(String replicaPolicy) { setReplicaPolicy(replicaPolicy); return this; } /** ** The tags on the new replica key. The value is a list of tag key and tag value pairs. *
* * @return The tags on the new replica key. The value is a list of tag key and tag value pairs. */ public java.util.List* The tags on the new replica key. The value is a list of tag key and tag value pairs. *
* * @param replicaTags * The tags on the new replica key. The value is a list of tag key and tag value pairs. */ public void setReplicaTags(java.util.Collection* The tags on the new replica key. The value is a list of tag key and tag value pairs. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setReplicaTags(java.util.Collection)} or {@link #withReplicaTags(java.util.Collection)} if you want to * override the existing values. *
* * @param replicaTags * The tags on the new replica key. The value is a list of tag key and tag value pairs. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicateKeyResult withReplicaTags(Tag... replicaTags) { if (this.replicaTags == null) { setReplicaTags(new com.amazonaws.internal.SdkInternalList* The tags on the new replica key. The value is a list of tag key and tag value pairs. *
* * @param replicaTags * The tags on the new replica key. The value is a list of tag key and tag value pairs. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicateKeyResult withReplicaTags(java.util.Collection