@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. IAM policies are used to control access to your channel.
policy - The IAM policy for the channel. IAM policies are used to control access to your channel.public String getPolicy()
The IAM policy for the channel. IAM policies are used to control access to your channel.
public GetChannelPolicyResult withPolicy(String policy)
The IAM policy for the channel. IAM policies are used to control access to your channel.
policy - The IAM policy for the channel. IAM policies are used to control access to your channel.public String toString()
toString in class ObjectObject.toString()public GetChannelPolicyResult clone()