@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 |
getChannelGroupName()
The name that describes the channel group.
|
String |
getChannelName()
The name that describes the channel.
|
String |
getPolicy()
The policy assigned to the channel.
|
int |
hashCode() |
void |
setChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
void |
setChannelName(String channelName)
The name that describes the channel.
|
void |
setPolicy(String policy)
The policy assigned to the channel.
|
String |
toString()
Returns a string representation of this object.
|
GetChannelPolicyResult |
withChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
GetChannelPolicyResult |
withChannelName(String channelName)
The name that describes the channel.
|
GetChannelPolicyResult |
withPolicy(String policy)
The policy assigned to the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public String getChannelGroupName()
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
public GetChannelPolicyResult withChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public void setChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public String getChannelName()
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
public GetChannelPolicyResult withChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public void setPolicy(String policy)
The policy assigned to the channel.
policy
- The policy assigned to the channel.public String getPolicy()
The policy assigned to the channel.
public GetChannelPolicyResult withPolicy(String policy)
The policy assigned to the channel.
policy
- The policy assigned to the channel.public String toString()
toString
in class Object
Object.toString()
public GetChannelPolicyResult clone()