@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LegalTerm extends Object implements Serializable, Cloneable, StructuredPojo
Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
Constructor and Description |
---|
LegalTerm() |
Modifier and Type | Method and Description |
---|---|
LegalTerm |
clone() |
boolean |
equals(Object obj) |
List<DocumentItem> |
getDocuments()
List of references to legal resources proposed to the buyers.
|
String |
getType()
Category of the term being updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocuments(Collection<DocumentItem> documents)
List of references to legal resources proposed to the buyers.
|
void |
setType(String type)
Category of the term being updated.
|
String |
toString()
Returns a string representation of this object.
|
LegalTerm |
withDocuments(Collection<DocumentItem> documents)
List of references to legal resources proposed to the buyers.
|
LegalTerm |
withDocuments(DocumentItem... documents)
List of references to legal resources proposed to the buyers.
|
LegalTerm |
withType(String type)
Category of the term being updated.
|
public List<DocumentItem> getDocuments()
List of references to legal resources proposed to the buyers. An example is the EULA.
public void setDocuments(Collection<DocumentItem> documents)
List of references to legal resources proposed to the buyers. An example is the EULA.
documents
- List of references to legal resources proposed to the buyers. An example is the EULA.public LegalTerm withDocuments(DocumentItem... documents)
List of references to legal resources proposed to the buyers. An example is the EULA.
NOTE: This method appends the values to the existing list (if any). Use
setDocuments(java.util.Collection)
or withDocuments(java.util.Collection)
if you want to
override the existing values.
documents
- List of references to legal resources proposed to the buyers. An example is the EULA.public LegalTerm withDocuments(Collection<DocumentItem> documents)
List of references to legal resources proposed to the buyers. An example is the EULA.
documents
- List of references to legal resources proposed to the buyers. An example is the EULA.public void setType(String type)
Category of the term being updated.
type
- Category of the term being updated.public String getType()
Category of the term being updated.
public LegalTerm withType(String type)
Category of the term being updated.
type
- Category of the term being updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.