@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentInfo extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a document for which to retrieve status information
| Constructor and Description | 
|---|
| DocumentInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentInfo | clone() | 
| boolean | equals(Object obj) | 
| List<DocumentAttribute> | getAttributes()
 Attributes that identify a specific version of a document to check. | 
| String | getDocumentId()
 The identifier of the document. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAttributes(Collection<DocumentAttribute> attributes)
 Attributes that identify a specific version of a document to check. | 
| void | setDocumentId(String documentId)
 The identifier of the document. | 
| String | toString()Returns a string representation of this object. | 
| DocumentInfo | withAttributes(Collection<DocumentAttribute> attributes)
 Attributes that identify a specific version of a document to check. | 
| DocumentInfo | withAttributes(DocumentAttribute... attributes)
 Attributes that identify a specific version of a document to check. | 
| DocumentInfo | withDocumentId(String documentId)
 The identifier of the document. | 
public void setDocumentId(String documentId)
The identifier of the document.
documentId - The identifier of the document.public String getDocumentId()
The identifier of the document.
public DocumentInfo withDocumentId(String documentId)
The identifier of the document.
documentId - The identifier of the document.public List<DocumentAttribute> getAttributes()
Attributes that identify a specific version of a document to check.
The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
 dataSourceId and jobExecutionId must be used together.
 
 version is ignored if dataSourceId and jobExecutionId are not provided.
 
 If dataSourceId and jobExecutionId are provided, but version is not, the
 version defaults to "0".
 
The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
         dataSourceId and jobExecutionId must be used together.
         
         version is ignored if dataSourceId and jobExecutionId are not
         provided.
         
         If dataSourceId and jobExecutionId are provided, but version is
         not, the version defaults to "0".
         
public void setAttributes(Collection<DocumentAttribute> attributes)
Attributes that identify a specific version of a document to check.
The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
 dataSourceId and jobExecutionId must be used together.
 
 version is ignored if dataSourceId and jobExecutionId are not provided.
 
 If dataSourceId and jobExecutionId are provided, but version is not, the
 version defaults to "0".
 
attributes - Attributes that identify a specific version of a document to check.
        The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
        dataSourceId and jobExecutionId must be used together.
        
        version is ignored if dataSourceId and jobExecutionId are not
        provided.
        
        If dataSourceId and jobExecutionId are provided, but version is
        not, the version defaults to "0".
        
public DocumentInfo withAttributes(DocumentAttribute... attributes)
Attributes that identify a specific version of a document to check.
The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
 dataSourceId and jobExecutionId must be used together.
 
 version is ignored if dataSourceId and jobExecutionId are not provided.
 
 If dataSourceId and jobExecutionId are provided, but version is not, the
 version defaults to "0".
 
 NOTE: This method appends the values to the existing list (if any). Use
 setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
 override the existing values.
 
attributes - Attributes that identify a specific version of a document to check.
        The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
        dataSourceId and jobExecutionId must be used together.
        
        version is ignored if dataSourceId and jobExecutionId are not
        provided.
        
        If dataSourceId and jobExecutionId are provided, but version is
        not, the version defaults to "0".
        
public DocumentInfo withAttributes(Collection<DocumentAttribute> attributes)
Attributes that identify a specific version of a document to check.
The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
 dataSourceId and jobExecutionId must be used together.
 
 version is ignored if dataSourceId and jobExecutionId are not provided.
 
 If dataSourceId and jobExecutionId are provided, but version is not, the
 version defaults to "0".
 
attributes - Attributes that identify a specific version of a document to check.
        The only valid attributes are:
version
datasourceId
jobExecutionId
The attributes follow these rules:
        dataSourceId and jobExecutionId must be used together.
        
        version is ignored if dataSourceId and jobExecutionId are not
        provided.
        
        If dataSourceId and jobExecutionId are provided, but version is
        not, the version defaults to "0".
        
public String toString()
toString in class ObjectObject.toString()public DocumentInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.