public static interface Resource.Builder extends CopyableBuilder<Resource.Builder,Resource>
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
disabledDate(Instant disabledDate)
The date indicating when the resource was disabled from Amazon WorkMail use.
|
Resource.Builder |
email(String email)
The email of the resource.
|
Resource.Builder |
enabledDate(Instant enabledDate)
The date indicating when the resource was enabled for Amazon WorkMail use.
|
Resource.Builder |
id(String id)
The identifier of the resource.
|
Resource.Builder |
name(String name)
The name of the resource.
|
Resource.Builder |
state(EntityState state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
|
Resource.Builder |
state(String state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
|
Resource.Builder |
type(ResourceType type)
The type of the resource: equipment or room.
|
Resource.Builder |
type(String type)
The type of the resource: equipment or room.
|
copy
applyMutation, build
Resource.Builder id(String id)
The identifier of the resource.
id
- The identifier of the resource.Resource.Builder email(String email)
The email of the resource.
email
- The email of the resource.Resource.Builder name(String name)
The name of the resource.
name
- The name of the resource.Resource.Builder type(String type)
The type of the resource: equipment or room.
type
- The type of the resource: equipment or room.ResourceType
,
ResourceType
Resource.Builder type(ResourceType type)
The type of the resource: equipment or room.
type
- The type of the resource: equipment or room.ResourceType
,
ResourceType
Resource.Builder state(String state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
state
- The state of the resource, which can be ENABLED, DISABLED, or DELETED.EntityState
,
EntityState
Resource.Builder state(EntityState state)
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
state
- The state of the resource, which can be ENABLED, DISABLED, or DELETED.EntityState
,
EntityState
Resource.Builder enabledDate(Instant enabledDate)
The date indicating when the resource was enabled for Amazon WorkMail use.
enabledDate
- The date indicating when the resource was enabled for Amazon WorkMail use.Resource.Builder disabledDate(Instant disabledDate)
The date indicating when the resource was disabled from Amazon WorkMail use.
disabledDate
- The date indicating when the resource was disabled from Amazon WorkMail use.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.