Class SlackWorkspace
- java.lang.Object
-
- software.amazon.awssdk.services.chatbot.model.SlackWorkspace
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlackWorkspace.Builder,SlackWorkspace>
@Generated("software.amazon.awssdk:codegen") public final class SlackWorkspace extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlackWorkspace.Builder,SlackWorkspace>
A Slack workspace.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlackWorkspace.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlackWorkspace.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SlackWorkspace.Builder>serializableBuilderClass()StringslackTeamId()The ID of the Slack workspace authorized with AWS Chatbot.StringslackTeamName()The name of the Slack workspace.Stringstate()EitherENABLEDorDISABLED.StringstateReason()Provided if State isDISABLED.SlackWorkspace.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
slackTeamId
public final String slackTeamId()
The ID of the Slack workspace authorized with AWS Chatbot.
- Returns:
- The ID of the Slack workspace authorized with AWS Chatbot.
-
slackTeamName
public final String slackTeamName()
The name of the Slack workspace.
- Returns:
- The name of the Slack workspace.
-
state
public final String state()
Either
ENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Returns:
- Either
ENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.
-
stateReason
public final String stateReason()
Provided if State is
DISABLED. Provides context as to why the resource is disabled.- Returns:
- Provided if State is
DISABLED. Provides context as to why the resource is disabled.
-
toBuilder
public SlackWorkspace.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlackWorkspace.Builder,SlackWorkspace>
-
builder
public static SlackWorkspace.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlackWorkspace.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-