@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicateSecretToRegionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ReplicateSecretToRegionsRequest() |
Modifier and Type | Method and Description |
---|---|
ReplicateSecretToRegionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ReplicaRegionType> |
getAddReplicaRegions()
A list of Regions in which to replicate the secret.
|
Boolean |
getForceOverwriteReplicaSecret()
Specifies whether to overwrite a secret with the same name in the destination Region.
|
String |
getSecretId()
The ARN or name of the secret to replicate.
|
int |
hashCode() |
Boolean |
isForceOverwriteReplicaSecret()
Specifies whether to overwrite a secret with the same name in the destination Region.
|
void |
setAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
A list of Regions in which to replicate the secret.
|
void |
setForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
Specifies whether to overwrite a secret with the same name in the destination Region.
|
void |
setSecretId(String secretId)
The ARN or name of the secret to replicate.
|
String |
toString()
Returns a string representation of this object.
|
ReplicateSecretToRegionsRequest |
withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
A list of Regions in which to replicate the secret.
|
ReplicateSecretToRegionsRequest |
withAddReplicaRegions(ReplicaRegionType... addReplicaRegions)
A list of Regions in which to replicate the secret.
|
ReplicateSecretToRegionsRequest |
withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
Specifies whether to overwrite a secret with the same name in the destination Region.
|
ReplicateSecretToRegionsRequest |
withSecretId(String secretId)
The ARN or name of the secret to replicate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSecretId(String secretId)
The ARN or name of the secret to replicate.
secretId
- The ARN or name of the secret to replicate.public String getSecretId()
The ARN or name of the secret to replicate.
public ReplicateSecretToRegionsRequest withSecretId(String secretId)
The ARN or name of the secret to replicate.
secretId
- The ARN or name of the secret to replicate.public List<ReplicaRegionType> getAddReplicaRegions()
A list of Regions in which to replicate the secret.
public void setAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
A list of Regions in which to replicate the secret.
addReplicaRegions
- A list of Regions in which to replicate the secret.public ReplicateSecretToRegionsRequest withAddReplicaRegions(ReplicaRegionType... addReplicaRegions)
A list of Regions in which to replicate the secret.
NOTE: This method appends the values to the existing list (if any). Use
setAddReplicaRegions(java.util.Collection)
or withAddReplicaRegions(java.util.Collection)
if
you want to override the existing values.
addReplicaRegions
- A list of Regions in which to replicate the secret.public ReplicateSecretToRegionsRequest withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
A list of Regions in which to replicate the secret.
addReplicaRegions
- A list of Regions in which to replicate the secret.public void setForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
forceOverwriteReplicaSecret
- Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets
aren't overwritten.public Boolean getForceOverwriteReplicaSecret()
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
public ReplicateSecretToRegionsRequest withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
forceOverwriteReplicaSecret
- Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets
aren't overwritten.public Boolean isForceOverwriteReplicaSecret()
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
public String toString()
toString
in class Object
Object.toString()
public ReplicateSecretToRegionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()