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) List of references to legal resources proposed to the buyers.documents
(Consumer<DocumentItem.Builder>... documents) List of references to legal resources proposed to the buyers.documents
(DocumentItem... documents) List of references to legal resources proposed to the buyers.Category of the term being updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
documents
List of references to legal resources proposed to the buyers. An example is the EULA.
- Parameters:
documents
- List of references to legal resources proposed to the buyers. An example is the EULA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
List of references to legal resources proposed to the buyers. An example is the EULA.
- Parameters:
documents
- List of references to legal resources proposed to the buyers. An example is the EULA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
List of references to legal resources proposed to the buyers. An example is the EULA.
This is a convenience method that creates an instance of theDocumentItem.Builder
avoiding the need to create one manually viaDocumentItem.builder()
.When the
Consumer
completes,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:
-
type
Category of the term being updated.
- Parameters:
type
- Category of the term being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-