public static interface HandshakeResource.Builder extends CopyableBuilder<HandshakeResource.Builder,HandshakeResource>
Modifier and Type | Method and Description |
---|---|
HandshakeResource.Builder |
resources(Collection<HandshakeResource> resources)
When needed, contains an additional array of
HandshakeResource objects. |
HandshakeResource.Builder |
resources(Consumer<HandshakeResource.Builder>... resources)
When needed, contains an additional array of
HandshakeResource objects. |
HandshakeResource.Builder |
resources(HandshakeResource... resources)
When needed, contains an additional array of
HandshakeResource objects. |
HandshakeResource.Builder |
type(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
HandshakeResource.Builder |
type(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
HandshakeResource.Builder |
value(String value)
The information that is passed to the other party in the handshake.
|
copy
applyMutation, build
HandshakeResource.Builder value(String value)
The information that is passed to the other party in the handshake. The format of the value string must match the requirements of the specified type.
value
- The information that is passed to the other party in the handshake. The format of the value string
must match the requirements of the specified type.HandshakeResource.Builder type(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT
- Specifies an AWS account ID number.
ORGANIZATION
- Specifies an organization ID number.
EMAIL
- Specifies the email address that is associated with the account that receives the
handshake.
OWNER_EMAIL
- Specifies the email address associated with the master account. Included as
information about an organization.
OWNER_NAME
- Specifies the name associated with the master account. Included as information
about an organization.
NOTES
- Additional text provided by the handshake initiator and intended for the recipient to
read.
type
- The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT
- Specifies an AWS account ID number.
ORGANIZATION
- Specifies an organization ID number.
EMAIL
- Specifies the email address that is associated with the account that receives the
handshake.
OWNER_EMAIL
- Specifies the email address associated with the master account. Included as
information about an organization.
OWNER_NAME
- Specifies the name associated with the master account. Included as
information about an organization.
NOTES
- Additional text provided by the handshake initiator and intended for the
recipient to read.
HandshakeResourceType
,
HandshakeResourceType
HandshakeResource.Builder type(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT
- Specifies an AWS account ID number.
ORGANIZATION
- Specifies an organization ID number.
EMAIL
- Specifies the email address that is associated with the account that receives the
handshake.
OWNER_EMAIL
- Specifies the email address associated with the master account. Included as
information about an organization.
OWNER_NAME
- Specifies the name associated with the master account. Included as information
about an organization.
NOTES
- Additional text provided by the handshake initiator and intended for the recipient to
read.
type
- The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT
- Specifies an AWS account ID number.
ORGANIZATION
- Specifies an organization ID number.
EMAIL
- Specifies the email address that is associated with the account that receives the
handshake.
OWNER_EMAIL
- Specifies the email address associated with the master account. Included as
information about an organization.
OWNER_NAME
- Specifies the name associated with the master account. Included as
information about an organization.
NOTES
- Additional text provided by the handshake initiator and intended for the
recipient to read.
HandshakeResourceType
,
HandshakeResourceType
HandshakeResource.Builder resources(Collection<HandshakeResource> resources)
When needed, contains an additional array of HandshakeResource
objects.
resources
- When needed, contains an additional array of HandshakeResource
objects.HandshakeResource.Builder resources(HandshakeResource... resources)
When needed, contains an additional array of HandshakeResource
objects.
resources
- When needed, contains an additional array of HandshakeResource
objects.HandshakeResource.Builder resources(Consumer<HandshakeResource.Builder>... resources)
When needed, contains an additional array of HandshakeResource
objects.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #resources(List)
.resources
- a consumer that will call methods on List.Builder
#resources(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.