public ReplicateKeyResult withReplicaPolicy(String replicaPolicy) {
        setReplicaPolicy(replicaPolicy);
        return this;
    }
<p>
The key policy of the new replica key. The value is a key policy document in JSON format.
</p>

@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.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/ReplicateKeyResult.java