@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChimeWebhookConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ChimeWebhookConfiguration() |
Modifier and Type | Method and Description |
---|---|
ChimeWebhookConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getChatConfigurationArn()
The ARN of the ChimeWebhookConfiguration.
|
String |
getConfigurationName()
The name of the configuration.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getLoggingLevel()
Specifies the logging level for this configuration.
|
List<String> |
getSnsTopicArns()
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
List<Tag> |
getTags()
A list of tags applied to the configuration.
|
String |
getWebhookDescription()
Description of the webhook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the ChimeWebhookConfiguration.
|
void |
setConfigurationName(String configurationName)
The name of the configuration.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
void |
setLoggingLevel(String loggingLevel)
Specifies the logging level for this configuration.
|
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 applied to the configuration.
|
void |
setWebhookDescription(String webhookDescription)
Description of the webhook.
|
String |
toString()
Returns a string representation of this object.
|
ChimeWebhookConfiguration |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the ChimeWebhookConfiguration.
|
ChimeWebhookConfiguration |
withConfigurationName(String configurationName)
The name of the configuration.
|
ChimeWebhookConfiguration |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
ChimeWebhookConfiguration |
withLoggingLevel(String loggingLevel)
Specifies the logging level for this configuration.
|
ChimeWebhookConfiguration |
withSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
ChimeWebhookConfiguration |
withSnsTopicArns(String... snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
ChimeWebhookConfiguration |
withTags(Collection<Tag> tags)
A list of tags applied to the configuration.
|
ChimeWebhookConfiguration |
withTags(Tag... tags)
A list of tags applied to the configuration.
|
ChimeWebhookConfiguration |
withWebhookDescription(String webhookDescription)
Description of the webhook.
|
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 ChimeWebhookConfiguration 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 setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the ChimeWebhookConfiguration.public String getChatConfigurationArn()
public ChimeWebhookConfiguration withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the ChimeWebhookConfiguration.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 ChimeWebhookConfiguration 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 List<String> getSnsTopicArns()
public void setSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public ChimeWebhookConfiguration 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 ChimeWebhookConfiguration withSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public void setConfigurationName(String configurationName)
configurationName
- The name of the configuration.public String getConfigurationName()
public ChimeWebhookConfiguration withConfigurationName(String configurationName)
configurationName
- The name of the configuration.public void setLoggingLevel(String loggingLevel)
loggingLevel
- Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon
CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.public String getLoggingLevel()
public ChimeWebhookConfiguration withLoggingLevel(String loggingLevel)
loggingLevel
- Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon
CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags applied to the configuration.public ChimeWebhookConfiguration 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 applied to the configuration.public ChimeWebhookConfiguration withTags(Collection<Tag> tags)
tags
- A list of tags applied to the configuration.public String toString()
toString
in class Object
Object.toString()
public ChimeWebhookConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.