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
Modifier and TypeMethodDescriptiondescription
(String description) Resource description.disabledDate
(Instant disabledDate) The date indicating when the resource was disabled from WorkMail use.The email of the resource.enabledDate
(Instant enabledDate) The date indicating when the resource was enabled for WorkMail use.The identifier of the resource.The name of the resource.The state of the resource, which can be ENABLED, DISABLED, or DELETED.state
(EntityState state) The state of the resource, which can be ENABLED, DISABLED, or DELETED.The type of the resource: equipment or room.type
(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 Details
-
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
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
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
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:
-
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:
-
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:
-
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:
-
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
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 description.
- Parameters:
description
- Resource description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-