@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutChannelPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutChannelPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutChannelPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getChannelName()
The identifier for the channel you are working on.
|
String |
getPolicy()
Adds an IAM role that determines the permissions of your channel.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The identifier for the channel you are working on.
|
void |
setPolicy(String policy)
Adds an IAM role that determines the permissions of your channel.
|
String |
toString()
Returns a string representation of this object.
|
PutChannelPolicyRequest |
withChannelName(String channelName)
The identifier for the channel you are working on.
|
PutChannelPolicyRequest |
withPolicy(String policy)
Adds an IAM role that determines the permissions of your channel.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setChannelName(String channelName)
The identifier for the channel you are working on.
channelName - The identifier for the channel you are working on.public String getChannelName()
The identifier for the channel you are working on.
public PutChannelPolicyRequest withChannelName(String channelName)
The identifier for the channel you are working on.
channelName - The identifier for the channel you are working on.public void setPolicy(String policy)
Adds an IAM role that determines the permissions of your channel.
policy - Adds an IAM role that determines the permissions of your channel.public String getPolicy()
Adds an IAM role that determines the permissions of your channel.
public PutChannelPolicyRequest withPolicy(String policy)
Adds an IAM role that determines the permissions of your channel.
policy - Adds an IAM role that determines the permissions of your channel.public String toString()
toString in class ObjectObject.toString()public PutChannelPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.