@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccessPointPolicyResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetAccessPointPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetAccessPointPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The access point policy associated with the specified access point.
|
int |
hashCode() |
void |
setPolicy(String policy)
The access point policy associated with the specified access point.
|
String |
toString()
Returns a string representation of this object.
|
GetAccessPointPolicyResult |
withPolicy(String policy)
The access point policy associated with the specified access point.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The access point policy associated with the specified access point.
policy - The access point policy associated with the specified access point.public String getPolicy()
The access point policy associated with the specified access point.
public GetAccessPointPolicyResult withPolicy(String policy)
The access point policy associated with the specified access point.
policy - The access point policy associated with the specified access point.public String toString()
toString in class ObjectObject.toString()public GetAccessPointPolicyResult clone()