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 Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the token.The type of authentication used by the credentials.The type of authentication used by the credentials.The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.serverType
(String serverType) The type of source provider.serverType
(ServerType serverType) The type of source provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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.
-