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) An array ofHandshakeResourceobjects.resources(Consumer<HandshakeResource.Builder>... resources) An array ofHandshakeResourceobjects.resources(HandshakeResource... resources) An 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:Additional information for 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, sdkFieldNameToField, sdkFields
-
Method Details
-
value
Additional information for the handshake. The format of the value string must match the requirements of the specified type.
- Parameters:
value- Additional information for 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: ID for an Amazon Web Services account.
-
ORGANIZATION: ID for an organization.
-
EMAIL: Email address for the recipient.
-
OWNER_EMAIL: Email address for the sender.
-
OWNER_NAME: Name of the sender.
-
NOTES: Additional text included by the sender for the recipient.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT: ID for an Amazon Web Services account.
-
ORGANIZATION: ID for an organization.
-
EMAIL: Email address for the recipient.
-
OWNER_EMAIL: Email address for the sender.
-
OWNER_NAME: Name of the sender.
-
NOTES: Additional text included by the sender for the recipient.
-
- 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: ID for an Amazon Web Services account.
-
ORGANIZATION: ID for an organization.
-
EMAIL: Email address for the recipient.
-
OWNER_EMAIL: Email address for the sender.
-
OWNER_NAME: Name of the sender.
-
NOTES: Additional text included by the sender for the recipient.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT: ID for an Amazon Web Services account.
-
ORGANIZATION: ID for an organization.
-
EMAIL: Email address for the recipient.
-
OWNER_EMAIL: Email address for the sender.
-
OWNER_NAME: Name of the sender.
-
NOTES: Additional text included by the sender for the recipient.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resources
An array of
HandshakeResourceobjects. When needed, contains additional details for a handshake. For example, the email address for the sender.- Parameters:
resources- An array ofHandshakeResourceobjects. When needed, contains additional details for a handshake. For example, the email address for the sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of
HandshakeResourceobjects. When needed, contains additional details for a handshake. For example, the email address for the sender.- Parameters:
resources- An array ofHandshakeResourceobjects. When needed, contains additional details for a handshake. For example, the email address for the sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of
This is a convenience method that creates an instance of theHandshakeResourceobjects. When needed, contains additional details for a handshake. For example, the email address for the sender.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:
-