Interface BatchGetArtifactMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetArtifactMetadataResponse.Builder,,BatchGetArtifactMetadataResponse> SdkBuilder<BatchGetArtifactMetadataResponse.Builder,,BatchGetArtifactMetadataResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetArtifactMetadataResponse
@Mutable
@NotThreadSafe
public static interface BatchGetArtifactMetadataResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetArtifactMetadataResponse.Builder,BatchGetArtifactMetadataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionartifactMetadataList(Collection<ArtifactMetadataItem> artifactMetadataList) List of artifact metadataartifactMetadataList(Consumer<ArtifactMetadataItem.Builder>... artifactMetadataList) List of artifact metadataartifactMetadataList(ArtifactMetadataItem... artifactMetadataList) List of artifact metadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
artifactMetadataList
BatchGetArtifactMetadataResponse.Builder artifactMetadataList(Collection<ArtifactMetadataItem> artifactMetadataList) List of artifact metadata
- Parameters:
artifactMetadataList- List of artifact metadata- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactMetadataList
BatchGetArtifactMetadataResponse.Builder artifactMetadataList(ArtifactMetadataItem... artifactMetadataList) List of artifact metadata
- Parameters:
artifactMetadataList- List of artifact metadata- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactMetadataList
BatchGetArtifactMetadataResponse.Builder artifactMetadataList(Consumer<ArtifactMetadataItem.Builder>... artifactMetadataList) List of artifact metadata
This is a convenience method that creates an instance of theArtifactMetadataItem.Builderavoiding the need to create one manually viaArtifactMetadataItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifactMetadataList(List<ArtifactMetadataItem>).- Parameters:
artifactMetadataList- a consumer that will call methods onArtifactMetadataItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-