Interface GetAccountAssociationResponse.Builder

  • Method Details

    • accountAssociationId

      GetAccountAssociationResponse.Builder accountAssociationId(String accountAssociationId)

      The unique identifier of the retrieved account association.

      Parameters:
      accountAssociationId - The unique identifier of the retrieved account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationState

      GetAccountAssociationResponse.Builder associationState(String associationState)

      The current status state for the account association.

      Parameters:
      associationState - The current status state for the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationState

      GetAccountAssociationResponse.Builder associationState(AssociationState associationState)

      The current status state for the account association.

      Parameters:
      associationState - The current status state for the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      GetAccountAssociationResponse.Builder errorMessage(String errorMessage)

      The error message explaining the current account association error.

      Parameters:
      errorMessage - The error message explaining the current account association error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorDestinationId

      GetAccountAssociationResponse.Builder connectorDestinationId(String connectorDestinationId)

      The identifier of the connector destination associated with this account association.

      Parameters:
      connectorDestinationId - The identifier of the connector destination associated with this account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the account association.

      Parameters:
      name - The name of the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      The description of the account association.

      Parameters:
      description - The description of the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the account association.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthAuthorizationUrl

      GetAccountAssociationResponse.Builder oAuthAuthorizationUrl(String oAuthAuthorizationUrl)

      Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication. This field will be empty when using General Authorization flows that do not require OAuth.

      Parameters:
      oAuthAuthorizationUrl - Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication. This field will be empty when using General Authorization flows that do not require OAuth.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A set of key/value pairs that are used to manage the account association.

      Parameters:
      tags - A set of key/value pairs that are used to manage the account association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generalAuthorization

      GetAccountAssociationResponse.Builder generalAuthorization(GeneralAuthorizationName generalAuthorization)

      The General Authorization reference by authorization material name.

      Parameters:
      generalAuthorization - The General Authorization reference by authorization material name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generalAuthorization

      default GetAccountAssociationResponse.Builder generalAuthorization(Consumer<GeneralAuthorizationName.Builder> generalAuthorization)

      The General Authorization reference by authorization material name.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to generalAuthorization(GeneralAuthorizationName).

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