@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the secret.
|
String |
getName()
The name of the secret.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret.
|
void |
setName(String name)
The name of the secret.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withARN(String aRN)
The ARN of the secret.
|
PutResourcePolicyResult |
withName(String name)
The name of the secret.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public String getARN()
The ARN of the secret.
public PutResourcePolicyResult withARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public void setName(String name)
The name of the secret.
name
- The name of the secret.public String getName()
The name of the secret.
public PutResourcePolicyResult withName(String name)
The name of the secret.
name
- The name of the secret.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()