@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StartImportResult() |
| Modifier and Type | Method and Description |
|---|---|
StartImportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The timestamp for the import's creation.
|
List<String> |
getDestinations()
The ARN of the destination event data store.
|
Date |
getEndEventTime()
Used with
StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
String |
getImportId()
The ID of the import.
|
ImportSource |
getImportSource()
The source S3 bucket for the import.
|
String |
getImportStatus()
Shows the status of the import after a
StartImport request. |
Date |
getStartEventTime()
Used with
EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period. |
Date |
getUpdatedTimestamp()
The timestamp of the import's last update, if applicable.
|
int |
hashCode() |
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp for the import's creation.
|
void |
setDestinations(Collection<String> destinations)
The ARN of the destination event data store.
|
void |
setEndEventTime(Date endEventTime)
Used with
StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
void |
setImportId(String importId)
The ID of the import.
|
void |
setImportSource(ImportSource importSource)
The source S3 bucket for the import.
|
void |
setImportStatus(String importStatus)
Shows the status of the import after a
StartImport request. |
void |
setStartEventTime(Date startEventTime)
Used with
EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period. |
void |
setUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
StartImportResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp for the import's creation.
|
StartImportResult |
withDestinations(Collection<String> destinations)
The ARN of the destination event data store.
|
StartImportResult |
withDestinations(String... destinations)
The ARN of the destination event data store.
|
StartImportResult |
withEndEventTime(Date endEventTime)
Used with
StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
StartImportResult |
withImportId(String importId)
The ID of the import.
|
StartImportResult |
withImportSource(ImportSource importSource)
The source S3 bucket for the import.
|
StartImportResult |
withImportStatus(ImportStatus importStatus)
Shows the status of the import after a
StartImport request. |
StartImportResult |
withImportStatus(String importStatus)
Shows the status of the import after a
StartImport request. |
StartImportResult |
withStartEventTime(Date startEventTime)
Used with
EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period. |
StartImportResult |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update, if applicable.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setImportId(String importId)
The ID of the import.
importId - The ID of the import.public String getImportId()
The ID of the import.
public StartImportResult withImportId(String importId)
The ID of the import.
importId - The ID of the import.public List<String> getDestinations()
The ARN of the destination event data store.
public void setDestinations(Collection<String> destinations)
The ARN of the destination event data store.
destinations - The ARN of the destination event data store.public StartImportResult withDestinations(String... destinations)
The ARN of the destination event data store.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection) or withDestinations(java.util.Collection) if you want to
override the existing values.
destinations - The ARN of the destination event data store.public StartImportResult withDestinations(Collection<String> destinations)
The ARN of the destination event data store.
destinations - The ARN of the destination event data store.public void setImportSource(ImportSource importSource)
The source S3 bucket for the import.
importSource - The source S3 bucket for the import.public ImportSource getImportSource()
The source S3 bucket for the import.
public StartImportResult withImportSource(ImportSource importSource)
The source S3 bucket for the import.
importSource - The source S3 bucket for the import.public void setStartEventTime(Date startEventTime)
Used with EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period.
startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.public Date getStartEventTime()
Used with EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period.
EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.public StartImportResult withStartEventTime(Date startEventTime)
Used with EndEventTime to bound a StartImport request, and limit imported trail events
to only those events logged within a specified time period.
startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.public void setEndEventTime(Date endEventTime)
Used with StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.public Date getEndEventTime()
Used with StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
StartEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.public StartImportResult withEndEventTime(Date endEventTime)
Used with StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.public void setImportStatus(String importStatus)
Shows the status of the import after a StartImport request. An import finishes with a status of
COMPLETED if there were no failures, or FAILED if there were failures.
importStatus - Shows the status of the import after a StartImport request. An import finishes with a status
of COMPLETED if there were no failures, or FAILED if there were failures.ImportStatuspublic String getImportStatus()
Shows the status of the import after a StartImport request. An import finishes with a status of
COMPLETED if there were no failures, or FAILED if there were failures.
StartImport request. An import finishes with a status
of COMPLETED if there were no failures, or FAILED if there were failures.ImportStatuspublic StartImportResult withImportStatus(String importStatus)
Shows the status of the import after a StartImport request. An import finishes with a status of
COMPLETED if there were no failures, or FAILED if there were failures.
importStatus - Shows the status of the import after a StartImport request. An import finishes with a status
of COMPLETED if there were no failures, or FAILED if there were failures.ImportStatuspublic StartImportResult withImportStatus(ImportStatus importStatus)
Shows the status of the import after a StartImport request. An import finishes with a status of
COMPLETED if there were no failures, or FAILED if there were failures.
importStatus - Shows the status of the import after a StartImport request. An import finishes with a status
of COMPLETED if there were no failures, or FAILED if there were failures.ImportStatuspublic void setCreatedTimestamp(Date createdTimestamp)
The timestamp for the import's creation.
createdTimestamp - The timestamp for the import's creation.public Date getCreatedTimestamp()
The timestamp for the import's creation.
public StartImportResult withCreatedTimestamp(Date createdTimestamp)
The timestamp for the import's creation.
createdTimestamp - The timestamp for the import's creation.public void setUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update, if applicable.
updatedTimestamp - The timestamp of the import's last update, if applicable.public Date getUpdatedTimestamp()
The timestamp of the import's last update, if applicable.
public StartImportResult withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update, if applicable.
updatedTimestamp - The timestamp of the import's last update, if applicable.public String toString()
toString in class ObjectObject.toString()public StartImportResult clone()