@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChimeWebhookConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateChimeWebhookConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChimeWebhookConfigurationRequest |
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 ChimeWebhookConfiguration to update.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getLoggingLevel()
Logging levels include ERROR, INFO, or NONE.
|
List<String> |
getSnsTopicArns()
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
String |
getWebhookDescription()
Description of the webhook.
|
String |
getWebhookUrl()
URL for the Chime webhook.
|
int |
hashCode() |
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the ChimeWebhookConfiguration to update.
|
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 |
setSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
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.
|
UpdateChimeWebhookConfigurationRequest |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the ChimeWebhookConfiguration to update.
|
UpdateChimeWebhookConfigurationRequest |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
UpdateChimeWebhookConfigurationRequest |
withLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
UpdateChimeWebhookConfigurationRequest |
withSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
UpdateChimeWebhookConfigurationRequest |
withSnsTopicArns(String... snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
UpdateChimeWebhookConfigurationRequest |
withWebhookDescription(String webhookDescription)
Description of the webhook.
|
UpdateChimeWebhookConfigurationRequest |
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 UpdateChimeWebhookConfigurationRequest()
public void setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the ChimeWebhookConfiguration to update.public String getChatConfigurationArn()
public UpdateChimeWebhookConfigurationRequest withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the ChimeWebhookConfiguration to update.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 UpdateChimeWebhookConfigurationRequest 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 UpdateChimeWebhookConfigurationRequest 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 UpdateChimeWebhookConfigurationRequest 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 UpdateChimeWebhookConfigurationRequest 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 UpdateChimeWebhookConfigurationRequest 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 UpdateChimeWebhookConfigurationRequest withLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public String toString()
toString
in class Object
Object.toString()
public UpdateChimeWebhookConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()