Interface UpdateCodeRepositoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCodeRepositoryRequest.Builder,,UpdateCodeRepositoryRequest> SageMakerRequest.Builder,SdkBuilder<UpdateCodeRepositoryRequest.Builder,,UpdateCodeRepositoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCodeRepositoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncodeRepositoryName(String codeRepositoryName) The name of the Git repository to update.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.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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
AWSCURRENTand 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 ofAWSCURRENTand 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
AWSCURRENTand must be in the following format:
This is a convenience method that creates an instance of the{"username": UserName, "password": Password}GitConfigForUpdate.Builderavoiding the need to create one manually viaGitConfigForUpdate.builder().When the
Consumercompletes,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:
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-