Interface ImportSourceCredentialsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeBuildRequest.Builder, CopyableBuilder<ImportSourceCredentialsRequest.Builder,ImportSourceCredentialsRequest>, SdkBuilder<ImportSourceCredentialsRequest.Builder,ImportSourceCredentialsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ImportSourceCredentialsRequest

public static interface ImportSourceCredentialsRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ImportSourceCredentialsRequest.Builder,ImportSourceCredentialsRequest>
  • Method Details

    • username

      The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.

      Parameters:
      username - The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • token

      For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.

      Parameters:
      token - For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverType

      The source provider used for this project.

      Parameters:
      serverType - The source provider used for this project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverType

      The source provider used for this project.

      Parameters:
      serverType - The source provider used for this project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.

      Parameters:
      authType - The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.

      Parameters:
      authType - The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shouldOverwrite

      ImportSourceCredentialsRequest.Builder shouldOverwrite(Boolean shouldOverwrite)

      Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.

      Parameters:
      shouldOverwrite - Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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