@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() |
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, copyBaseTo, 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()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.