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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
codeRepositoryNameThe 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.
 
- 
gitConfigThe 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 of- AWSCURRENTand 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.
 
- 
gitConfigdefault 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 on- GitConfigForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-