Interface UpdateCodeRepositoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>,SageMakerRequest.Builder,SdkBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCodeRepositoryRequest
@Mutable @NotThreadSafe 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.BuildercodeRepositoryName(String codeRepositoryName)The name of the Git repository to update.default UpdateCodeRepositoryRequest.BuildergitConfig(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.BuildergitConfig(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.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCodeRepositoryRequest.BuilderoverrideConfiguration(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
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:
gitConfig(GitConfigForUpdate)
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-