Interface SourceCredentialsInfo.Builder

    • Method Detail

      • arn

        SourceCredentialsInfo.Builder arn​(String 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, or BITBUCKET.

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

        SourceCredentialsInfo.Builder serverType​(ServerType serverType)

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

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

        SourceCredentialsInfo.Builder authType​(String authType)

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

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

        SourceCredentialsInfo.Builder authType​(AuthType authType)

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

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