Interface HandshakeResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HandshakeResource.Builder,,HandshakeResource> SdkBuilder<HandshakeResource.Builder,,HandshakeResource> SdkPojo
- Enclosing class:
HandshakeResource
-
Method Summary
Modifier and TypeMethodDescriptionresources(Collection<HandshakeResource> resources) When needed, contains an additional array ofHandshakeResourceobjects.resources(Consumer<HandshakeResource.Builder>... resources) When needed, contains an additional array ofHandshakeResourceobjects.resources(HandshakeResource... resources) When needed, contains an additional array ofHandshakeResourceobjects.The type of information being passed, specifying how the value is to be interpreted by the other party:type(HandshakeResourceType type) The type of information being passed, specifying how the value is to be interpreted by the other party:The information that is passed to the other party in the handshake.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of information being passed, specifying how the value is to be interpreted by the other party:
-
ACCOUNT- Specifies an Amazon Web Services 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 management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT- Specifies an Amazon Web Services 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 management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of information being passed, specifying how the value is to be interpreted by the other party:
-
ACCOUNT- Specifies an Amazon Web Services 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 management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT- Specifies an Amazon Web Services 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 management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resources
When needed, contains an additional array of
HandshakeResourceobjects.- Parameters:
resources- When needed, contains an additional array ofHandshakeResourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
When needed, contains an additional array of
HandshakeResourceobjects.- Parameters:
resources- When needed, contains an additional array ofHandshakeResourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
When needed, contains an additional array of
This is a convenience method that creates an instance of theHandshakeResourceobjects.HandshakeResource.Builderavoiding the need to create one manually viaHandshakeResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<HandshakeResource>).- Parameters:
resources- a consumer that will call methods onHandshakeResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-