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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCodeRepositoryRequest.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.BuildergitConfig(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 theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.