Interface CreateCodeRepositoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCodeRepositoryRequest.Builder,CreateCodeRepositoryRequest>,SageMakerRequest.Builder,SdkBuilder<CreateCodeRepositoryRequest.Builder,CreateCodeRepositoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCodeRepositoryRequest
@Mutable @NotThreadSafe public static interface CreateCodeRepositoryRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateCodeRepositoryRequest.Builder,CreateCodeRepositoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCodeRepositoryRequest.BuildercodeRepositoryName(String codeRepositoryName)The name of the Git repository.default CreateCodeRepositoryRequest.BuildergitConfig(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.BuildergitConfig(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.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCodeRepositoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCodeRepositoryRequest.Buildertags(Collection<Tag> tags)An array of key-value pairs.CreateCodeRepositoryRequest.Buildertags(Consumer<Tag.Builder>... tags)An array of key-value pairs.CreateCodeRepositoryRequest.Buildertags(Tag... tags)An array of key-value pairs.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
codeRepositoryName
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).
- 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
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.
- 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
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.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:
gitConfig(GitConfig)
-
tags
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-