Interface LegalTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LegalTerm.Builder,,LegalTerm> SdkBuilder<LegalTerm.Builder,,LegalTerm> SdkPojo
- Enclosing class:
LegalTerm
@Mutable
@NotThreadSafe
public static interface LegalTerm.Builder
extends SdkPojo, CopyableBuilder<LegalTerm.Builder,LegalTerm>
-
Method Summary
Modifier and TypeMethodDescriptiondocuments(Collection<DocumentItem> documents) The legal documents proposed to the buyer as part of this term.documents(Consumer<DocumentItem.Builder>... documents) The legal documents proposed to the buyer as part of this term.documents(DocumentItem... documents) The legal documents proposed to the buyer as part of this term.The unique identifier of the term.The category of the term.The category of the term.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
-
id
The unique identifier of the term.
- Parameters:
id- The unique identifier of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
The legal documents proposed to the buyer as part of this term.
- Parameters:
documents- The legal documents proposed to the buyer as part of this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The legal documents proposed to the buyer as part of this term.
- Parameters:
documents- The legal documents proposed to the buyer as part of this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The legal documents proposed to the buyer as part of this term.
This is a convenience method that creates an instance of theDocumentItem.Builderavoiding the need to create one manually viaDocumentItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<DocumentItem>).- Parameters:
documents- a consumer that will call methods onDocumentItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-