@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateResourcePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ValidateResourcePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
ValidateResourcePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourcePolicy()
A JSON-formatted string that contains an Amazon Web Services resource-based policy.
|
String |
getSecretId()
The ARN or name of the secret with the resource-based policy you want to validate.
|
int |
hashCode() |
void |
setResourcePolicy(String resourcePolicy)
A JSON-formatted string that contains an Amazon Web Services resource-based policy.
|
void |
setSecretId(String secretId)
The ARN or name of the secret with the resource-based policy you want to validate.
|
String |
toString()
Returns a string representation of this object.
|
ValidateResourcePolicyRequest |
withResourcePolicy(String resourcePolicy)
A JSON-formatted string that contains an Amazon Web Services resource-based policy.
|
ValidateResourcePolicyRequest |
withSecretId(String secretId)
The ARN or name of the secret with the resource-based policy you want to validate.
|
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 with the resource-based policy you want to validate.
secretId
- The ARN or name of the secret with the resource-based policy you want to validate.public String getSecretId()
The ARN or name of the secret with the resource-based policy you want to validate.
public ValidateResourcePolicyRequest withSecretId(String secretId)
The ARN or name of the secret with the resource-based policy you want to validate.
secretId
- The ARN or name of the secret with the resource-based policy you want to validate.public void setResourcePolicy(String resourcePolicy)
A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.
resourcePolicy
- A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the
string identifies who can access or manage this secret and its versions. For example policies, see Permissions
policy examples.public String getResourcePolicy()
A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.
public ValidateResourcePolicyRequest withResourcePolicy(String resourcePolicy)
A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.
resourcePolicy
- A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the
string identifies who can access or manage this secret and its versions. For example policies, see Permissions
policy examples.public String toString()
toString
in class Object
Object.toString()
public ValidateResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()