public static interface CreateCodeRepositoryRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateCodeRepositoryRequest.Builder,CreateCodeRepositoryRequest>
Modifier and Type | Method and Description |
---|---|
CreateCodeRepositoryRequest.Builder |
codeRepositoryName(String codeRepositoryName)
The name of the Git repository.
|
default CreateCodeRepositoryRequest.Builder |
gitConfig(Consumer<GitConfig.Builder> gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default
branch, and credentials to use to access the repository.
|
CreateCodeRepositoryRequest.Builder |
gitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default
branch, and credentials to use to access the repository.
|
CreateCodeRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCodeRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateCodeRepositoryRequest.Builder codeRepositoryName(String codeRepositoryName)
The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
codeRepositoryName
- The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z,
0-9, and - (hyphen).CreateCodeRepositoryRequest.Builder gitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
gitConfig
- Specifies details about the repository, including the URL where the repository is located, the default
branch, and credentials to use to access the repository.default CreateCodeRepositoryRequest.Builder gitConfig(Consumer<GitConfig.Builder> gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
This is a convenience that creates an instance of theGitConfig.Builder
avoiding the need to create
one manually via GitConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to gitConfig(GitConfig)
.gitConfig
- a consumer that will call methods on GitConfig.Builder
gitConfig(GitConfig)
CreateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.