@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlackWorkspaceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for a Slack workspace that you added to an Amazon Web Services account.
Constructor and Description |
---|
SlackWorkspaceConfiguration() |
Modifier and Type | Method and Description |
---|---|
SlackWorkspaceConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowOrganizationMemberAccount()
Whether to allow member accounts to authorize Slack workspaces.
|
String |
getTeamId()
The team ID in Slack.
|
String |
getTeamName()
The name of the Slack workspace.
|
int |
hashCode() |
Boolean |
isAllowOrganizationMemberAccount()
Whether to allow member accounts to authorize Slack workspaces.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowOrganizationMemberAccount(Boolean allowOrganizationMemberAccount)
Whether to allow member accounts to authorize Slack workspaces.
|
void |
setTeamId(String teamId)
The team ID in Slack.
|
void |
setTeamName(String teamName)
The name of the Slack workspace.
|
String |
toString()
Returns a string representation of this object.
|
SlackWorkspaceConfiguration |
withAllowOrganizationMemberAccount(Boolean allowOrganizationMemberAccount)
Whether to allow member accounts to authorize Slack workspaces.
|
SlackWorkspaceConfiguration |
withTeamId(String teamId)
The team ID in Slack.
|
SlackWorkspaceConfiguration |
withTeamName(String teamName)
The name of the Slack workspace.
|
public void setAllowOrganizationMemberAccount(Boolean allowOrganizationMemberAccount)
Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an organization in Organizations.
allowOrganizationMemberAccount
- Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an
organization in Organizations.public Boolean getAllowOrganizationMemberAccount()
Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an organization in Organizations.
public SlackWorkspaceConfiguration withAllowOrganizationMemberAccount(Boolean allowOrganizationMemberAccount)
Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an organization in Organizations.
allowOrganizationMemberAccount
- Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an
organization in Organizations.public Boolean isAllowOrganizationMemberAccount()
Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an organization in Organizations.
public void setTeamId(String teamId)
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
teamId
- The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.public String getTeamId()
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
T012ABCDEFG
.public SlackWorkspaceConfiguration withTeamId(String teamId)
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
teamId
- The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.public void setTeamName(String teamName)
The name of the Slack workspace.
teamName
- The name of the Slack workspace.public String getTeamName()
The name of the Slack workspace.
public SlackWorkspaceConfiguration withTeamName(String teamName)
The name of the Slack workspace.
teamName
- The name of the Slack workspace.public String toString()
toString
in class Object
Object.toString()
public SlackWorkspaceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.