Interface UpdateCodeRepositoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateCodeRepositoryRequest
public static interface UpdateCodeRepositoryRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateCodeRepositoryRequest.Builder
codeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.default UpdateCodeRepositoryRequest.Builder
gitConfig(Consumer<GitConfigForUpdate.Builder> gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.UpdateCodeRepositoryRequest.Builder
gitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.UpdateCodeRepositoryRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateCodeRepositoryRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
codeRepositoryName
UpdateCodeRepositoryRequest.Builder codeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.
- Parameters:
codeRepositoryName
- The name of the Git repository to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
UpdateCodeRepositoryRequest.Builder gitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of
AWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
- Parameters:
gitConfig
- The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label ofAWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
default UpdateCodeRepositoryRequest.Builder gitConfig(Consumer<GitConfigForUpdate.Builder> gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of
AWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
GitConfigForUpdate.Builder
avoiding the need to create one manually viaGitConfigForUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitConfig(GitConfigForUpdate)
.- Parameters:
gitConfig
- a consumer that will call methods onGitConfigForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gitConfig(GitConfigForUpdate)
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-