@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, setSdkResponseMetadata
public 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 Object
Object.toString()
public GetChannelPolicyResult clone()