@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout
public 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 Object
Object.toString()
public PutChannelPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()