Interface Connector.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the connector.

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

      Connector.Builder provider(String provider)

      The cloud provider that the connector connects to.

      Parameters:
      provider - The cloud provider that the connector connects to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provider

      The cloud provider that the connector connects to.

      Parameters:
      provider - The cloud provider that the connector connects to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectorConfiguration

      Connector.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 Connector.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

      Connector.Builder roleArn(String roleArn)

      The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to obtain credentials for the third-party cloud provider.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to obtain credentials for the third-party cloud provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the connector.

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

      Connector.Builder createdTimeStamp(Long createdTimeStamp)

      The time when the connector was created, in milliseconds since the Unix epoch.

      Parameters:
      createdTimeStamp - The time when the connector was created, in milliseconds since the Unix epoch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.