Interface CreateConnectorRequest.Builder

  • Method Details

    • connectorConfiguration

      CreateConnectorRequest.Builder connectorConfiguration(ConnectorConfiguration connectorConfiguration)

      The configuration for connecting to the third-party cloud provider.

      Parameters:
      connectorConfiguration - The configuration for connecting to the third-party cloud provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorConfiguration

      default CreateConnectorRequest.Builder connectorConfiguration(Consumer<ConnectorConfiguration.Builder> connectorConfiguration)

      The configuration for connecting to the third-party cloud provider.

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

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

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

      The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to get credentials for the third-party cloud provider. The role must trust the Amazon CloudWatch Observability Admin service principal, observabilityadmin.amazonaws.com. The role must also allow sts:GetWebIdentityToken for the provider's token exchange audience.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to get credentials for the third-party cloud provider. The role must trust the Amazon CloudWatch Observability Admin service principal, observabilityadmin.amazonaws.com . The role must also allow sts:GetWebIdentityToken for the provider's token exchange audience.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the connector. The name must be unique in the account and Region (case-sensitive). If another connector already uses the name, the request fails with a ConflictException.

      The name can contain letters, digits, hyphens (-), underscores (_) and periods (.), and must start with a letter.

      Parameters:
      name - The name of the connector. The name must be unique in the account and Region (case-sensitive). If another connector already uses the name, the request fails with a ConflictException.

      The name can contain letters, digits, hyphens (-), underscores (_) and periods (.), and must start with a letter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags that you want to apply to the connector.

      Parameters:
      tags - The tags that you want to apply to the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateConnectorRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same parameters, the service returns the connector from the first request without an error. If you use the same token with different parameters, including different tags, the service returns a ValidationException. This operation is idempotent when you use the same token and parameters.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same parameters, the service returns the connector from the first request without an error. If you use the same token with different parameters, including different tags, the service returns a ValidationException. This operation is idempotent when you use the same token and parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.