Interface Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,Resource>,SdkBuilder<Resource.Builder,Resource>,SdkPojo
- Enclosing class:
- Resource
public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource.Builderdescription(String description)Resource description.Resource.BuilderdisabledDate(Instant disabledDate)The date indicating when the resource was disabled from WorkMail use.Resource.Builderemail(String email)The email of the resource.Resource.BuilderenabledDate(Instant enabledDate)The date indicating when the resource was enabled for WorkMail use.Resource.Builderid(String id)The identifier of the resource.Resource.Buildername(String name)The name of the resource.Resource.Builderstate(String state)The state of the resource, which can be ENABLED, DISABLED, or DELETED.Resource.Builderstate(EntityState state)The state of the resource, which can be ENABLED, DISABLED, or DELETED.Resource.Buildertype(String type)The type of the resource: equipment or room.Resource.Buildertype(ResourceType type)The type of the resource: equipment or room.-
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
Resource.Builder id(String id)
The identifier of the resource.
- Parameters:
id- The identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Resource.Builder email(String email)
The email of the resource.
- Parameters:
email- The email of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Resource.Builder name(String name)
The name of the resource.
- Parameters:
name- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Resource.Builder type(String type)
The type of the resource: equipment or room.
- Parameters:
type- The type of the resource: equipment or room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
type
Resource.Builder type(ResourceType type)
The type of the resource: equipment or room.
- Parameters:
type- The type of the resource: equipment or room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
state
Resource.Builder state(String state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
- Parameters:
state- The state of the resource, 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
Resource.Builder state(EntityState state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
- Parameters:
state- The state of the resource, 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
Resource.Builder enabledDate(Instant enabledDate)
The date indicating when the resource was enabled for WorkMail use.
- Parameters:
enabledDate- The date indicating when the resource was enabled for WorkMail use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabledDate
Resource.Builder disabledDate(Instant disabledDate)
The date indicating when the resource was disabled from WorkMail use.
- Parameters:
disabledDate- The date indicating when the resource was disabled from WorkMail use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Resource.Builder description(String description)
Resource description.
- Parameters:
description- Resource description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-