@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReferenceImportJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetReferenceImportJobResult() |
Modifier and Type | Method and Description |
---|---|
GetReferenceImportJobResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletionTime()
When the job completed.
|
Date |
getCreationTime()
When the job was created.
|
String |
getId()
The job's ID.
|
String |
getReferenceStoreId()
The job's reference store ID.
|
String |
getRoleArn()
The job's service role ARN.
|
List<ImportReferenceSourceItem> |
getSources()
The job's source files.
|
String |
getStatus()
The job's status.
|
String |
getStatusMessage()
The job's status message.
|
int |
hashCode() |
void |
setCompletionTime(Date completionTime)
When the job completed.
|
void |
setCreationTime(Date creationTime)
When the job was created.
|
void |
setId(String id)
The job's ID.
|
void |
setReferenceStoreId(String referenceStoreId)
The job's reference store ID.
|
void |
setRoleArn(String roleArn)
The job's service role ARN.
|
void |
setSources(Collection<ImportReferenceSourceItem> sources)
The job's source files.
|
void |
setStatus(String status)
The job's status.
|
void |
setStatusMessage(String statusMessage)
The job's status message.
|
String |
toString()
Returns a string representation of this object.
|
GetReferenceImportJobResult |
withCompletionTime(Date completionTime)
When the job completed.
|
GetReferenceImportJobResult |
withCreationTime(Date creationTime)
When the job was created.
|
GetReferenceImportJobResult |
withId(String id)
The job's ID.
|
GetReferenceImportJobResult |
withReferenceStoreId(String referenceStoreId)
The job's reference store ID.
|
GetReferenceImportJobResult |
withRoleArn(String roleArn)
The job's service role ARN.
|
GetReferenceImportJobResult |
withSources(Collection<ImportReferenceSourceItem> sources)
The job's source files.
|
GetReferenceImportJobResult |
withSources(ImportReferenceSourceItem... sources)
The job's source files.
|
GetReferenceImportJobResult |
withStatus(ReferenceImportJobStatus status)
The job's status.
|
GetReferenceImportJobResult |
withStatus(String status)
The job's status.
|
GetReferenceImportJobResult |
withStatusMessage(String statusMessage)
The job's status message.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The job's ID.
id
- The job's ID.public String getId()
The job's ID.
public GetReferenceImportJobResult withId(String id)
The job's ID.
id
- The job's ID.public void setReferenceStoreId(String referenceStoreId)
The job's reference store ID.
referenceStoreId
- The job's reference store ID.public String getReferenceStoreId()
The job's reference store ID.
public GetReferenceImportJobResult withReferenceStoreId(String referenceStoreId)
The job's reference store ID.
referenceStoreId
- The job's reference store ID.public void setRoleArn(String roleArn)
The job's service role ARN.
roleArn
- The job's service role ARN.public String getRoleArn()
The job's service role ARN.
public GetReferenceImportJobResult withRoleArn(String roleArn)
The job's service role ARN.
roleArn
- The job's service role ARN.public void setStatus(String status)
The job's status.
status
- The job's status.ReferenceImportJobStatus
public String getStatus()
The job's status.
ReferenceImportJobStatus
public GetReferenceImportJobResult withStatus(String status)
The job's status.
status
- The job's status.ReferenceImportJobStatus
public GetReferenceImportJobResult withStatus(ReferenceImportJobStatus status)
The job's status.
status
- The job's status.ReferenceImportJobStatus
public void setStatusMessage(String statusMessage)
The job's status message.
statusMessage
- The job's status message.public String getStatusMessage()
The job's status message.
public GetReferenceImportJobResult withStatusMessage(String statusMessage)
The job's status message.
statusMessage
- The job's status message.public void setCreationTime(Date creationTime)
When the job was created.
creationTime
- When the job was created.public Date getCreationTime()
When the job was created.
public GetReferenceImportJobResult withCreationTime(Date creationTime)
When the job was created.
creationTime
- When the job was created.public void setCompletionTime(Date completionTime)
When the job completed.
completionTime
- When the job completed.public Date getCompletionTime()
When the job completed.
public GetReferenceImportJobResult withCompletionTime(Date completionTime)
When the job completed.
completionTime
- When the job completed.public List<ImportReferenceSourceItem> getSources()
The job's source files.
public void setSources(Collection<ImportReferenceSourceItem> sources)
The job's source files.
sources
- The job's source files.public GetReferenceImportJobResult withSources(ImportReferenceSourceItem... sources)
The job's source files.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The job's source files.public GetReferenceImportJobResult withSources(Collection<ImportReferenceSourceItem> sources)
The job's source files.
sources
- The job's source files.public String toString()
toString
in class Object
Object.toString()
public GetReferenceImportJobResult clone()