public static interface AssociateRepositoryRequest.Builder extends CodeGuruReviewerRequest.Builder, SdkPojo, CopyableBuilder<AssociateRepositoryRequest.Builder,AssociateRepositoryRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAssociateRepositoryRequest.Builder repository(Repository repository)
The repository to associate.
repository - The repository to associate.default AssociateRepositoryRequest.Builder repository(Consumer<Repository.Builder> repository)
The repository to associate.
This is a convenience that creates an instance of theRepository.Builder avoiding the need to create
one manually via Repository.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to repository(Repository).repository - a consumer that will call methods on Repository.Builderrepository(Repository)AssociateRepositoryRequest.Builder clientRequestToken(String clientRequestToken)
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
clientRequestToken - Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository
associations if there are failures and retries.AssociateRepositoryRequest.Builder tags(Map<String,String> tags)
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
A tag key (for example, CostCenter, Environment, Project, or
Secret). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333,
Production, or a team name). Omitting the tag value is the same as using an empty string. Like
tag keys, tag values are case sensitive.
tags - An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label
with two parts:
A tag key (for example, CostCenter, Environment, Project
, or Secret). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333,
Production, or a team name). Omitting the tag value is the same as using an empty string.
Like tag keys, tag values are case sensitive.
AssociateRepositoryRequest.Builder kmsKeyDetails(KMSKeyDetails kmsKeyDetails)
A KMSKeyDetails object that contains:
The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS)
(AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
The ID of the AWS KMS key that is associated with this respository association.
kmsKeyDetails - A KMSKeyDetails object that contains:
The encryption option for this repository association. It is either owned by AWS Key Management
Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
The ID of the AWS KMS key that is associated with this respository association.
default AssociateRepositoryRequest.Builder kmsKeyDetails(Consumer<KMSKeyDetails.Builder> kmsKeyDetails)
A KMSKeyDetails object that contains:
The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS)
(AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
The ID of the AWS KMS key that is associated with this respository association.
KMSKeyDetails.Builder avoiding the need to
create one manually via KMSKeyDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to kmsKeyDetails(KMSKeyDetails).kmsKeyDetails - a consumer that will call methods on KMSKeyDetails.BuilderkmsKeyDetails(KMSKeyDetails)AssociateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAssociateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.