public static interface CreateRepositoryRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRepositoryRequest.Builder |
connectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository
provider account.
|
CreateRepositoryRequest.Builder |
encryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
|
CreateRepositoryRequest.Builder |
name(String name)
The repository name (for example,
myrepos/myrepo). |
CreateRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRepositoryRequest.Builder |
provider(RepositoryProvider provider)
The repository provider.
|
CreateRepositoryRequest.Builder |
provider(String provider)
The repository provider.
|
CreateRepositoryRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository.
|
CreateRepositoryRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton repository.
|
CreateRepositoryRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton repository.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRepositoryRequest.Builder connectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
connectionArn - The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository
provider account. For more information, see Setting up for
Proton in the Proton User Guide.CreateRepositoryRequest.Builder encryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
encryptionKey - The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.CreateRepositoryRequest.Builder name(String name)
The repository name (for example, myrepos/myrepo).
name - The repository name (for example, myrepos/myrepo).CreateRepositoryRequest.Builder provider(String provider)
The repository provider.
provider - The repository provider.RepositoryProvider,
RepositoryProviderCreateRepositoryRequest.Builder provider(RepositoryProvider provider)
The repository provider.
provider - The repository provider.RepositoryProvider,
RepositoryProviderCreateRepositoryRequest.Builder tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton repository. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateRepositoryRequest.Builder tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton repository. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateRepositoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
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) CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.