Interface Group.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Group.Builder,Group>,SdkBuilder<Group.Builder,Group>,SdkPojo
- Enclosing class:
- Group
public static interface Group.Builder extends SdkPojo, CopyableBuilder<Group.Builder,Group>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Group.BuilderdisabledDate(Instant disabledDate)The date indicating when the group was disabled from WorkMail use.Group.Builderemail(String email)The email of the group.Group.BuilderenabledDate(Instant enabledDate)The date indicating when the group was enabled for WorkMail use.Group.Builderid(String id)The identifier of the group.Group.Buildername(String name)The name of the group.Group.Builderstate(String state)The state of the group, which can be ENABLED, DISABLED, or DELETED.Group.Builderstate(EntityState state)The state of the group, which can be ENABLED, DISABLED, or DELETED.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
Group.Builder id(String id)
The identifier of the group.
- Parameters:
id- The identifier of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Group.Builder email(String email)
The email of the group.
- Parameters:
email- The email of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Group.Builder name(String name)
The name of the group.
- Parameters:
name- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Group.Builder state(String state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
- Parameters:
state- The state of the group, which can be ENABLED, DISABLED, or DELETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntityState,EntityState
-
state
Group.Builder state(EntityState state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
- Parameters:
state- The state of the group, which can be ENABLED, DISABLED, or DELETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntityState,EntityState
-
enabledDate
Group.Builder enabledDate(Instant enabledDate)
The date indicating when the group was enabled for WorkMail use.
- Parameters:
enabledDate- The date indicating when the group was enabled for WorkMail use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabledDate
Group.Builder disabledDate(Instant disabledDate)
The date indicating when the group was disabled from WorkMail use.
- Parameters:
disabledDate- The date indicating when the group was disabled from WorkMail use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-