Interface ImportSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportSource.Builder,,ImportSource> SdkBuilder<ImportSource.Builder,,ImportSource> SdkPojo
- Enclosing class:
ImportSource
@Mutable
@NotThreadSafe
public static interface ImportSource.Builder
extends SdkPojo, CopyableBuilder<ImportSource.Builder,ImportSource>
-
Method Summary
Modifier and TypeMethodDescriptiondocuments(Collection<SecurityRequirementArtifact> documents) The list of documents to extract security requirements from.documents(Consumer<SecurityRequirementArtifact.Builder>... documents) The list of documents to extract security requirements from.documents(SecurityRequirementArtifact... documents) The list of documents to extract security requirements from.Methods 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
-
documents
The list of documents to extract security requirements from.
- Parameters:
documents- The list of documents to extract security requirements from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents to extract security requirements from.
- Parameters:
documents- The list of documents to extract security requirements from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents to extract security requirements from.
This is a convenience method that creates an instance of theSecurityRequirementArtifact.Builderavoiding the need to create one manually viaSecurityRequirementArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<SecurityRequirementArtifact>).- Parameters:
documents- a consumer that will call methods onSecurityRequirementArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-