Class SourceCredentialState.Builder

  • Enclosing class:
    SourceCredentialState

    public static final class SourceCredentialState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public SourceCredentialState.Builder arn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of Source Credential.
        Returns:
        builder
      • authType

        public SourceCredentialState.Builder authType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> authType)
        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.
        Returns:
        builder
      • authType

        public SourceCredentialState.Builder authType​(java.lang.String authType)
        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.
        Returns:
        builder
      • serverType

        public SourceCredentialState.Builder serverType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> serverType)
        Parameters:
        serverType - The source provider used for this project.
        Returns:
        builder
      • serverType

        public SourceCredentialState.Builder serverType​(java.lang.String serverType)
        Parameters:
        serverType - The source provider used for this project.
        Returns:
        builder
      • token

        public SourceCredentialState.Builder token​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> token)
        Parameters:
        token - For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
        Returns:
        builder
      • token

        public SourceCredentialState.Builder token​(java.lang.String token)
        Parameters:
        token - For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
        Returns:
        builder
      • userName

        public SourceCredentialState.Builder userName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> userName)
        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:
        builder
      • userName

        public SourceCredentialState.Builder userName​(java.lang.String userName)
        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:
        builder