Class Bot
- java.lang.Object
-
- software.amazon.awssdk.services.chime.model.Bot
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Bot.Builder,Bot>
@Generated("software.amazon.awssdk:codegen") public final class Bot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bot.Builder,Bot>
A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotEmail()The bot email address.StringbotId()The bot ID.BotTypebotType()The bot type.StringbotTypeAsString()The bot type.static Bot.Builderbuilder()InstantcreatedTimestamp()The bot creation timestamp, in ISO 8601 format.Booleandisabled()When true, the bot is stopped from running in your account.StringdisplayName()The bot display name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsecurityToken()The security token used to authenticate Amazon Chime with the outgoing event endpoint.static Class<? extends Bot.Builder>serializableBuilderClass()Bot.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedTimestamp()The updated bot timestamp, in ISO 8601 format.StringuserId()The unique ID for the bot user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
botId
public final String botId()
The bot ID.
- Returns:
- The bot ID.
-
userId
public final String userId()
The unique ID for the bot user.
- Returns:
- The unique ID for the bot user.
-
displayName
public final String displayName()
The bot display name.
- Returns:
- The bot display name.
-
botType
public final BotType botType()
The bot type.
If the service returns an enum value that is not available in the current SDK version,
botTypewill returnBotType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotTypeAsString().- Returns:
- The bot type.
- See Also:
BotType
-
botTypeAsString
public final String botTypeAsString()
The bot type.
If the service returns an enum value that is not available in the current SDK version,
botTypewill returnBotType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotTypeAsString().- Returns:
- The bot type.
- See Also:
BotType
-
disabled
public final Boolean disabled()
When true, the bot is stopped from running in your account.
- Returns:
- When true, the bot is stopped from running in your account.
-
createdTimestamp
public final Instant createdTimestamp()
The bot creation timestamp, in ISO 8601 format.
- Returns:
- The bot creation timestamp, in ISO 8601 format.
-
updatedTimestamp
public final Instant updatedTimestamp()
The updated bot timestamp, in ISO 8601 format.
- Returns:
- The updated bot timestamp, in ISO 8601 format.
-
botEmail
public final String botEmail()
The bot email address.
- Returns:
- The bot email address.
-
securityToken
public final String securityToken()
The security token used to authenticate Amazon Chime with the outgoing event endpoint.
- Returns:
- The security token used to authenticate Amazon Chime with the outgoing event endpoint.
-
toBuilder
public Bot.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Bot.Builder,Bot>
-
builder
public static Bot.Builder builder()
-
serializableBuilderClass
public static Class<? extends Bot.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-