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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceCredentialsInfo.Builderarn(String arn)The Amazon Resource Name (ARN) of the token.SourceCredentialsInfo.BuilderauthType(String authType)The type of authentication used by the credentials.SourceCredentialsInfo.BuilderauthType(AuthType authType)The type of authentication used by the credentials.SourceCredentialsInfo.BuilderserverType(String serverType)The type of source provider.SourceCredentialsInfo.BuilderserverType(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 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.
-
authType
SourceCredentialsInfo.Builder authType(AuthType authType)
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
-
-