Interface HandshakeResource.Builder

  • 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 HandshakeResource objects. When needed, contains additional details for a handshake. For example, the email address for the sender.

      Parameters:
      resources - An array of HandshakeResource objects. 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 HandshakeResource objects. When needed, contains additional details for a handshake. For example, the email address for the sender.

      Parameters:
      resources - An array of HandshakeResource objects. 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 HandshakeResource objects. When needed, contains additional details for a handshake. For example, the email address for the sender.

      This is a convenience method that creates an instance of the HandshakeResource.Builder avoiding the need to create one manually via HandshakeResource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<HandshakeResource>).

      Parameters:
      resources - a consumer that will call methods on HandshakeResource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: