Interface LegalTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LegalTerm.Builder,LegalTerm>,SdkBuilder<LegalTerm.Builder,LegalTerm>,SdkPojo
- Enclosing class:
- LegalTerm
public static interface LegalTerm.Builder extends SdkPojo, CopyableBuilder<LegalTerm.Builder,LegalTerm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LegalTerm.Builderdocuments(Collection<DocumentItem> documents)List of references to legal resources proposed to the buyers.LegalTerm.Builderdocuments(Consumer<DocumentItem.Builder>... documents)List of references to legal resources proposed to the buyers.LegalTerm.Builderdocuments(DocumentItem... documents)List of references to legal resources proposed to the buyers.LegalTerm.Buildertype(String type)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, sdkFields
-
-
-
-
Method Detail
-
documents
LegalTerm.Builder documents(Collection<DocumentItem> 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
LegalTerm.Builder documents(DocumentItem... 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
LegalTerm.Builder documents(Consumer<DocumentItem.Builder>... 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 to#documents(List.) - 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:
#documents(java.util.Collection)
-
type
LegalTerm.Builder type(String 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.
-
-