@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChimeWebhookConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateChimeWebhookConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateChimeWebhookConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfigurationName()
The name of the configuration.
|
String |
getIamRoleArn()
This is a user-defined role that AWS Chatbot will assume.
|
String |
getLoggingLevel()
Logging levels include ERROR, INFO, or NONE.
|
List<String> |
getSnsTopicArns()
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
List<Tag> |
getTags()
A list of tags to apply to the configuration.
|
String |
getWebhookDescription()
Description of the webhook.
|
String |
getWebhookUrl()
URL for the Chime webhook.
|
int |
hashCode() |
void |
setConfigurationName(String configurationName)
The name of the configuration.
|
void |
setIamRoleArn(String iamRoleArn)
This is a user-defined role that AWS Chatbot will assume.
|
void |
setLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
void |
setSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to the configuration.
|
void |
setWebhookDescription(String webhookDescription)
Description of the webhook.
|
void |
setWebhookUrl(String webhookUrl)
URL for the Chime webhook.
|
String |
toString()
Returns a string representation of this object.
|
CreateChimeWebhookConfigurationRequest |
withConfigurationName(String configurationName)
The name of the configuration.
|
CreateChimeWebhookConfigurationRequest |
withIamRoleArn(String iamRoleArn)
This is a user-defined role that AWS Chatbot will assume.
|
CreateChimeWebhookConfigurationRequest |
withLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
CreateChimeWebhookConfigurationRequest |
withSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
CreateChimeWebhookConfigurationRequest |
withSnsTopicArns(String... snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
CreateChimeWebhookConfigurationRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to the configuration.
|
CreateChimeWebhookConfigurationRequest |
withTags(Tag... tags)
A list of tags to apply to the configuration.
|
CreateChimeWebhookConfigurationRequest |
withWebhookDescription(String webhookDescription)
Description of the webhook.
|
CreateChimeWebhookConfigurationRequest |
withWebhookUrl(String webhookUrl)
URL for the Chime webhook.
|
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 CreateChimeWebhookConfigurationRequest()
public void setWebhookDescription(String webhookDescription)
webhookDescription
- Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup
tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.public String getWebhookDescription()
public CreateChimeWebhookConfigurationRequest withWebhookDescription(String webhookDescription)
webhookDescription
- Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup
tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.public void setWebhookUrl(String webhookUrl)
webhookUrl
- URL for the Chime webhook.public String getWebhookUrl()
public CreateChimeWebhookConfigurationRequest withWebhookUrl(String webhookUrl)
webhookUrl
- URL for the Chime webhook.public List<String> getSnsTopicArns()
public void setSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public CreateChimeWebhookConfigurationRequest 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 CreateChimeWebhookConfigurationRequest withSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public void setIamRoleArn(String iamRoleArn)
iamRoleArn
- 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 CreateChimeWebhookConfigurationRequest withIamRoleArn(String iamRoleArn)
iamRoleArn
- 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 setConfigurationName(String configurationName)
configurationName
- The name of the configuration.public String getConfigurationName()
public CreateChimeWebhookConfigurationRequest withConfigurationName(String configurationName)
configurationName
- The name of the configuration.public void setLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public String getLoggingLevel()
public CreateChimeWebhookConfigurationRequest withLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags to apply to the configuration.public CreateChimeWebhookConfigurationRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to apply to the configuration.public CreateChimeWebhookConfigurationRequest withTags(Collection<Tag> tags)
tags
- A list of tags to apply to the configuration.public String toString()
toString
in class Object
Object.toString()
public CreateChimeWebhookConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()