@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetResourcePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetResourcePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSecretId()
Specifies the secret that you want to retrieve the attached resource-based policy for.
|
int |
hashCode() |
void |
setSecretId(String secretId)
Specifies the secret that you want to retrieve the attached resource-based policy for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetResourcePolicyRequest |
withSecretId(String secretId)
Specifies the secret that you want to retrieve the attached resource-based policy for.
|
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, withSdkRequestTimeoutpublic void setSecretId(String secretId)
Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
secretId - Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify
either the Amazon Resource Name (ARN) or the friendly name of the secret.public String getSecretId()
Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
public GetResourcePolicyRequest withSecretId(String secretId)
Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
secretId - Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify
either the Amazon Resource Name (ARN) or the friendly name of the secret.public String toString()
toString in class ObjectObject.toString()public GetResourcePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.