Interface Integration.Builder

  • Method Details

    • integrationId

      Integration.Builder integrationId(String integrationId)

      The unique identifier of the integration.

      Parameters:
      integrationId - The unique identifier of the integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrationArn

      Integration.Builder integrationArn(String integrationArn)

      The Amazon Resource Name (ARN) of the integration.

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

      Integration.Builder integrationType(String integrationType)
      Sets the value of the IntegrationType property for this object.
      Parameters:
      integrationType - The new value for the IntegrationType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • integrationType

      Integration.Builder integrationType(IntegrationType integrationType)
      Sets the value of the IntegrationType property for this object.
      Parameters:
      integrationType - The new value for the IntegrationType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The customer-provided name of the integration.

      Parameters:
      name - The customer-provided name of the integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Integration.Builder status(String status)
      Sets the value of the Status property for this object.
      Parameters:
      status - The new value for the Status property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Sets the value of the Status property for this object.
      Parameters:
      status - The new value for the Status property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      Integration.Builder authType(String authType)
      Sets the value of the AuthType property for this object.
      Parameters:
      authType - The new value for the AuthType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      Integration.Builder authType(AuthType authType)
      Sets the value of the AuthType property for this object.
      Parameters:
      authType - The new value for the AuthType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • credentialArn

      Integration.Builder credentialArn(String credentialArn)

      The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.

      Parameters:
      credentialArn - The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Integration.Builder roleArn(String roleArn)

      The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrationAttributes

      Integration.Builder integrationAttributes(Map<String,String> integrationAttributes)

      Provider-specific key/value attributes that configure the integration.

      Parameters:
      integrationAttributes - Provider-specific key/value attributes that configure the integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationUrl

      Integration.Builder authorizationUrl(String authorizationUrl)

      The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

      Parameters:
      authorizationUrl - The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      Integration.Builder errorMessage(String errorMessage)

      A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

      Parameters:
      errorMessage - A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Integration.Builder createdAt(Instant createdAt)

      The time at which the integration was created.

      Parameters:
      createdAt - The time at which the integration was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Integration.Builder updatedAt(Instant updatedAt)

      The time at which the integration was last updated.

      Parameters:
      updatedAt - The time at which the integration was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

      Parameters:
      scope - Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      Integration.Builder scope(Scope scope)

      Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

      Parameters:
      scope - Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: