@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 constructed according to the grammar and syntax for an Amazon Web Services resource-based
policy.
|
String |
getSecretId()
(Optional) The identifier of the secret with the resource-based policy you want to validate.
|
int |
hashCode() |
void |
setResourcePolicy(String resourcePolicy)
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services resource-based
policy.
|
void |
setSecretId(String secretId)
(Optional) The identifier 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 constructed according to the grammar and syntax for an Amazon Web Services resource-based
policy.
|
ValidateResourcePolicyRequest |
withSecretId(String secretId)
(Optional) The identifier 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)
(Optional) The identifier of the secret with the resource-based policy you want to validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
secretId
- (Optional) The identifier of the secret with the resource-based policy you want to validate. You can
specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
public String getSecretId()
(Optional) The identifier of the secret with the resource-based policy you want to validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
public ValidateResourcePolicyRequest withSecretId(String secretId)
(Optional) The identifier of the secret with the resource-based policy you want to validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
secretId
- (Optional) The identifier of the secret with the resource-based policy you want to validate. You can
specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
public void setResourcePolicy(String resourcePolicy)
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.publi
resourcePolicy
- A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services
resource-based policy. The policy in the string identifies who can access or manage this secret and its
versions. For information on how to format a JSON parameter for the various command line tool
environments, see Using
JSON for Parameters in the CLI User Guide.publipublic String getResourcePolicy()
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.publi
public ValidateResourcePolicyRequest withResourcePolicy(String resourcePolicy)
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.publi
resourcePolicy
- A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services
resource-based policy. The policy in the string identifies who can access or manage this secret and its
versions. For information on how to format a JSON parameter for the various command line tool
environments, see Using
JSON for Parameters in the CLI User Guide.publipublic String toString()
toString
in class Object
Object.toString()
public ValidateResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()