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) |
CreateCodeRepositoryRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateCodeRepositoryRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs.
|
CreateCodeRepositoryRequest.Builder |
tags(Tag... tags)
An array of key-value pairs.
|
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 method 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 tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateCodeRepositoryRequest.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateCodeRepositoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.