Interface CreateConnectionRequest.Builder

  • Method Details

    • providerType

      CreateConnectionRequest.Builder providerType(String providerType)

      The name of the external provider where your third-party code repository is configured.

      Parameters:
      providerType - The name of the external provider where your third-party code repository is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      CreateConnectionRequest.Builder providerType(ProviderType providerType)

      The name of the external provider where your third-party code repository is configured.

      Parameters:
      providerType - The name of the external provider where your third-party code repository is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionName

      CreateConnectionRequest.Builder connectionName(String connectionName)

      The name of the connection to be created.

      Parameters:
      connectionName - The name of the connection to be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair to use when tagging the resource.

      Parameters:
      tags - The key-value pair to use when tagging the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair to use when tagging the resource.

      Parameters:
      tags - The key-value pair to use when tagging the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair to use when tagging the resource.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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

      The Amazon Resource Name (ARN) of the host associated with the connection to be created.

      Parameters:
      hostArn - The Amazon Resource Name (ARN) of the host associated with the connection to be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerEndpoint

      CreateConnectionRequest.Builder providerEndpoint(String providerEndpoint)

      The endpoint of the ghe.com tenant where your organization resides. Provide this parameter only when ProviderType is GitHubEnterpriseCloudDataResidency. Leave this parameter empty for all other provider types.

      Parameters:
      providerEndpoint - The endpoint of the ghe.com tenant where your organization resides. Provide this parameter only when ProviderType is GitHubEnterpriseCloudDataResidency. Leave this parameter empty for all other provider types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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