@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 retrieved by the resource-based policy.
|
String |
getName()
The friendly name of the secret retrieved by the resource-based policy.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret retrieved by the resource-based policy.
|
void |
setName(String name)
The friendly name of the secret retrieved by the resource-based policy.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withARN(String aRN)
The ARN of the secret retrieved by the resource-based policy.
|
PutResourcePolicyResult |
withName(String name)
The friendly name of the secret retrieved by the resource-based policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The ARN of the secret retrieved by the resource-based policy.
aRN
- The ARN of the secret retrieved by the resource-based policy.public String getARN()
The ARN of the secret retrieved by the resource-based policy.
public PutResourcePolicyResult withARN(String aRN)
The ARN of the secret retrieved by the resource-based policy.
aRN
- The ARN of the secret retrieved by the resource-based policy.public void setName(String name)
The friendly name of the secret retrieved by the resource-based policy.
name
- The friendly name of the secret retrieved by the resource-based policy.public String getName()
The friendly name of the secret retrieved by the resource-based policy.
public PutResourcePolicyResult withName(String name)
The friendly name of the secret retrieved by the resource-based policy.
name
- The friendly name of the secret retrieved by the resource-based policy.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()