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)
Add an optional request override configuration.
|
CreateCodeRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.