Interface CreateRepositoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>,ProtonRequest.Builder,SdkBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRepositoryRequest
public static interface CreateRepositoryRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRepositoryRequest.BuilderconnectionArn(String connectionArn)The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.CreateRepositoryRequest.BuilderencryptionKey(String encryptionKey)The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.CreateRepositoryRequest.Buildername(String name)The repository name (for example,myrepos/myrepo).CreateRepositoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRepositoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRepositoryRequest.Builderprovider(String provider)The repository provider.CreateRepositoryRequest.Builderprovider(RepositoryProvider provider)The repository provider.CreateRepositoryRequest.Buildertags(Collection<Tag> tags)An optional list of metadata items that you can associate with the Proton repository.CreateRepositoryRequest.Buildertags(Consumer<Tag.Builder>... tags)An optional list of metadata items that you can associate with the Proton repository.CreateRepositoryRequest.Buildertags(Tag... tags)An optional list of metadata items that you can associate with the Proton repository.-
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.proton.model.ProtonRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
connectionArn
CreateRepositoryRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
CreateRepositoryRequest.Builder encryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
- Parameters:
encryptionKey- The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateRepositoryRequest.Builder name(String name)
The repository name (for example,
myrepos/myrepo).- Parameters:
name- The repository name (for example,myrepos/myrepo).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
CreateRepositoryRequest.Builder provider(String provider)
The repository provider.
- Parameters:
provider- The repository provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RepositoryProvider,RepositoryProvider
-
provider
CreateRepositoryRequest.Builder provider(RepositoryProvider provider)
The repository provider.
- Parameters:
provider- The repository provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RepositoryProvider,RepositoryProvider
-
tags
CreateRepositoryRequest.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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.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
CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-