Interface BatchGetCommentRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<BatchGetCommentRequest.Builder,,BatchGetCommentRequest> SdkBuilder<BatchGetCommentRequest.Builder,,BatchGetCommentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetCommentRequest
@Mutable
@NotThreadSafe
public static interface BatchGetCommentRequest.Builder
extends AssuranceRequest.Builder, SdkPojo, CopyableBuilder<BatchGetCommentRequest.Builder,BatchGetCommentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentArn(String environmentArn) The ARN of this governance environment.keys(Collection<CommentKey> keys) The comments to retrieve, 1 to 100 per request.keys(Consumer<CommentKey.Builder>... keys) The comments to retrieve, 1 to 100 per request.keys(CommentKey... keys) The comments to retrieve, 1 to 100 per request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the project.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentArn
The ARN of this governance environment.
- Parameters:
environmentArn- The ARN of this governance environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The name of the project.
- Parameters:
project- The name of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.
- Parameters:
keys- The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.
- Parameters:
keys- The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.
This is a convenience method that creates an instance of theCommentKey.Builderavoiding the need to create one manually viaCommentKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeys(List<CommentKey>).- Parameters:
keys- a consumer that will call methods onCommentKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchGetCommentRequest.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
BatchGetCommentRequest.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.
-