@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicateSecretToRegionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ReplicateSecretToRegionsResult() |
Modifier and Type | Method and Description |
---|---|
ReplicateSecretToRegionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
Replicate a secret based on the
ReplicaRegionType > consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias. |
List<ReplicationStatusType> |
getReplicationStatus()
Describes the secret replication status as
PENDING , SUCCESS or FAIL . |
int |
hashCode() |
void |
setARN(String aRN)
Replicate a secret based on the
ReplicaRegionType > consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias. |
void |
setReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes the secret replication status as
PENDING , SUCCESS or FAIL . |
String |
toString()
Returns a string representation of this object.
|
ReplicateSecretToRegionsResult |
withARN(String aRN)
Replicate a secret based on the
ReplicaRegionType > consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias. |
ReplicateSecretToRegionsResult |
withReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes the secret replication status as
PENDING , SUCCESS or FAIL . |
ReplicateSecretToRegionsResult |
withReplicationStatus(ReplicationStatusType... replicationStatus)
Describes the secret replication status as
PENDING , SUCCESS or FAIL . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
Replicate a secret based on the ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.
aRN
- Replicate a secret based on the ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.public String getARN()
Replicate a secret based on the ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.
ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.public ReplicateSecretToRegionsResult withARN(String aRN)
Replicate a secret based on the ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.
aRN
- Replicate a secret based on the ReplicaRegionType
> consisting of a Region(required) and a
KMSKeyId (optional) which can be the ARN, KeyID, or Alias.public List<ReplicationStatusType> getReplicationStatus()
Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.
PENDING
, SUCCESS
or
FAIL
.public void setReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.
replicationStatus
- Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.public ReplicateSecretToRegionsResult withReplicationStatus(ReplicationStatusType... replicationStatus)
Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.
NOTE: This method appends the values to the existing list (if any). Use
setReplicationStatus(java.util.Collection)
or withReplicationStatus(java.util.Collection)
if
you want to override the existing values.
replicationStatus
- Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.public ReplicateSecretToRegionsResult withReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.
replicationStatus
- Describes the secret replication status as PENDING
, SUCCESS
or FAIL
.public String toString()
toString
in class Object
Object.toString()
public ReplicateSecretToRegionsResult clone()