Interface GcpConfiguration.Builder

  • Method Details

    • organizationId

      GcpConfiguration.Builder organizationId(String organizationId)

      The ID of the GCP organization.

      Parameters:
      organizationId - The ID of the GCP organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloadIdentityPoolProvider

      GcpConfiguration.Builder workloadIdentityPoolProvider(String workloadIdentityPoolProvider)

      The full resource name of the GCP workload identity pool provider used for authentication.

      Parameters:
      workloadIdentityPoolProvider - The full resource name of the GCP workload identity pool provider used for authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccountEmail

      GcpConfiguration.Builder serviceAccountEmail(String serviceAccountEmail)

      The email address of the GCP service account used for authentication.

      Parameters:
      serviceAccountEmail - The email address of the GCP service account used for authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The target GCP projects for the cloud connector.

      Parameters:
      targets - The target GCP projects for the cloud connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The target GCP projects for the cloud connector.

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

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

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