@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSlackChannelConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSlackChannelConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSlackChannelConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChatConfigurationArn()
The ARN of the SlackChannelConfiguration to update.
|
List<String> |
getGuardrailPolicyArns()
The list of IAM policy ARNs that are applied as channel guardrails.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getLoggingLevel()
Logging levels include ERROR, INFO, or NONE.
|
String |
getSlackChannelId()
The ID of the Slack channel.
|
String |
getSlackChannelName()
The name of the Slack Channel.
|
List<String> |
getSnsTopicArns()
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
Boolean |
getUserAuthorizationRequired()
Enables use of a user role requirement in your chat configuration.
|
int |
hashCode() |
Boolean |
isUserAuthorizationRequired()
Enables use of a user role requirement in your chat configuration.
|
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the SlackChannelConfiguration to update.
|
void |
setGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
void |
setLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
void |
setSlackChannelId(String slackChannelId)
The ID of the Slack channel.
|
void |
setSlackChannelName(String slackChannelName)
The name of the Slack Channel.
|
void |
setSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
void |
setUserAuthorizationRequired(Boolean userAuthorizationRequired)
Enables use of a user role requirement in your chat configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSlackChannelConfigurationRequest |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the SlackChannelConfiguration to update.
|
UpdateSlackChannelConfigurationRequest |
withGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
UpdateSlackChannelConfigurationRequest |
withGuardrailPolicyArns(String... guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
UpdateSlackChannelConfigurationRequest |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
UpdateSlackChannelConfigurationRequest |
withLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
UpdateSlackChannelConfigurationRequest |
withSlackChannelId(String slackChannelId)
The ID of the Slack channel.
|
UpdateSlackChannelConfigurationRequest |
withSlackChannelName(String slackChannelName)
The name of the Slack Channel.
|
UpdateSlackChannelConfigurationRequest |
withSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
UpdateSlackChannelConfigurationRequest |
withSnsTopicArns(String... snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
UpdateSlackChannelConfigurationRequest |
withUserAuthorizationRequired(Boolean userAuthorizationRequired)
Enables use of a user role requirement in your chat configuration.
|
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 UpdateSlackChannelConfigurationRequest()
public void setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the SlackChannelConfiguration to update.public String getChatConfigurationArn()
public UpdateSlackChannelConfigurationRequest withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the SlackChannelConfiguration to update.public void setSlackChannelId(String slackChannelId)
slackChannelId
- The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane,
then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example,
ABCBBLZZZ.public String getSlackChannelId()
public UpdateSlackChannelConfigurationRequest withSlackChannelId(String slackChannelId)
slackChannelId
- The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane,
then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example,
ABCBBLZZZ.public void setSlackChannelName(String slackChannelName)
slackChannelName
- The name of the Slack Channel.public String getSlackChannelName()
public UpdateSlackChannelConfigurationRequest withSlackChannelName(String slackChannelName)
slackChannelName
- The name of the Slack Channel.public List<String> getSnsTopicArns()
public void setSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public UpdateSlackChannelConfigurationRequest withSnsTopicArns(String... snsTopicArns)
NOTE: This method appends the values to the existing list (if any). Use
setSnsTopicArns(java.util.Collection)
or withSnsTopicArns(java.util.Collection)
if you want to
override the existing values.
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public UpdateSlackChannelConfigurationRequest withSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public void setIamRoleArn(String iamRoleArn)
iamRoleArn
- The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS
Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS
Chatbot.public String getIamRoleArn()
public UpdateSlackChannelConfigurationRequest withIamRoleArn(String iamRoleArn)
iamRoleArn
- The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS
Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS
Chatbot.public void setLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public String getLoggingLevel()
public UpdateSlackChannelConfigurationRequest withLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public List<String> getGuardrailPolicyArns()
public void setGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
guardrailPolicyArns
- The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess'
policy is applied by default if this is not set.public UpdateSlackChannelConfigurationRequest withGuardrailPolicyArns(String... guardrailPolicyArns)
NOTE: This method appends the values to the existing list (if any). Use
setGuardrailPolicyArns(java.util.Collection)
or withGuardrailPolicyArns(java.util.Collection)
if you want to override the existing values.
guardrailPolicyArns
- The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess'
policy is applied by default if this is not set.public UpdateSlackChannelConfigurationRequest withGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
guardrailPolicyArns
- The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess'
policy is applied by default if this is not set.public void setUserAuthorizationRequired(Boolean userAuthorizationRequired)
userAuthorizationRequired
- Enables use of a user role requirement in your chat configuration.public Boolean getUserAuthorizationRequired()
public UpdateSlackChannelConfigurationRequest withUserAuthorizationRequired(Boolean userAuthorizationRequired)
userAuthorizationRequired
- Enables use of a user role requirement in your chat configuration.public Boolean isUserAuthorizationRequired()
public String toString()
toString
in class Object
Object.toString()
public UpdateSlackChannelConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()