@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetChannelPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetChannelPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetChannelPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The IAM policy for the channel.
|
int |
hashCode() |
void |
setPolicy(String policy)
The IAM policy for the channel.
|
String |
toString()
Returns a string representation of this object.
|
GetChannelPolicyResult |
withPolicy(String policy)
The IAM policy for the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The IAM policy for the channel.
policy - The IAM policy for the channel.public String getPolicy()
The IAM policy for the channel.
public GetChannelPolicyResult withPolicy(String policy)
The IAM policy for the channel.
policy - The IAM policy for the channel.public String toString()
toString in class ObjectObject.toString()public GetChannelPolicyResult clone()
Copyright © 2022. All rights reserved.