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.The unique identifer for the term.Category of the term being updated.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
-
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.
-
id
The unique identifer for the term.
- Parameters:
id- The unique identifer for the term.- 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.
- 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.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:
-