Interface HandshakeResource.Builder

    • Method Detail

      • value

        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.

        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

        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 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:
        HandshakeResourceType, HandshakeResourceType
      • type

        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 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:
        HandshakeResourceType, HandshakeResourceType
      • resources

        HandshakeResource.Builder resources​(Collection<HandshakeResource> 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

        HandshakeResource.Builder resources​(HandshakeResource... 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.