Interface CreateCodeRepositoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCodeRepositoryRequest.Builder,,CreateCodeRepositoryRequest> SageMakerRequest.Builder,SdkBuilder<CreateCodeRepositoryRequest.Builder,,CreateCodeRepositoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCodeRepositoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncodeRepositoryName(String codeRepositoryName) The name of the Git repository.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.Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) An array of key-value pairs.tags(Consumer<Tag.Builder>... tags) An array of key-value pairs.An array of key-value pairs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaGitConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitConfig(GitConfig).- Parameters:
gitConfig- a consumer that will call methods onGitConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-