Interface HandshakeResource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HandshakeResource.Builder,HandshakeResource>, SdkBuilder<HandshakeResource.Builder,HandshakeResource>, SdkPojo
Enclosing class:
HandshakeResource

public static interface HandshakeResource.Builder extends SdkPojo, CopyableBuilder<HandshakeResource.Builder,HandshakeResource>
  • 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 HandshakeResource objects.

      Parameters:
      resources - When needed, contains an additional array of HandshakeResource objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      When needed, contains an additional array of HandshakeResource objects.

      Parameters:
      resources - When needed, contains an additional array of HandshakeResource objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      When needed, contains an additional array of HandshakeResource objects.

      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: