Interface SourceCredentialsInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SourceCredentialsInfo.Builder,SourceCredentialsInfo>, SdkBuilder<SourceCredentialsInfo.Builder,SourceCredentialsInfo>, SdkPojo
Enclosing class:
SourceCredentialsInfo

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

    • arn

      The Amazon Resource Name (ARN) of the token.

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

      SourceCredentialsInfo.Builder serverType(String serverType)

      The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.

      Parameters:
      serverType - The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverType

      SourceCredentialsInfo.Builder serverType(ServerType serverType)

      The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.

      Parameters:
      serverType - The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.

      Parameters:
      authType - The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.

      Parameters:
      authType - The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resource

      The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.

      Parameters:
      resource - The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.