@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetImportResult() |
Modifier and Type | Method and Description |
---|---|
GetImportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The timestamp of 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.
|
ImportStatistics |
getImportStatistics()
Provides statistics for the import.
|
String |
getImportStatus()
The status of the import.
|
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 when the import was updated.
|
int |
hashCode() |
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp of 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.
|
void |
setImportStatistics(ImportStatistics importStatistics)
Provides statistics for the import.
|
void |
setImportStatus(String importStatus)
The status of the import.
|
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 when the import was updated.
|
String |
toString()
Returns a string representation of this object.
|
GetImportResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp of the import's creation.
|
GetImportResult |
withDestinations(Collection<String> destinations)
The ARN of the destination event data store.
|
GetImportResult |
withDestinations(String... destinations)
The ARN of the destination event data store.
|
GetImportResult |
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. |
GetImportResult |
withImportId(String importId)
The ID of the import.
|
GetImportResult |
withImportSource(ImportSource importSource)
The source S3 bucket.
|
GetImportResult |
withImportStatistics(ImportStatistics importStatistics)
Provides statistics for the import.
|
GetImportResult |
withImportStatus(ImportStatus importStatus)
The status of the import.
|
GetImportResult |
withImportStatus(String importStatus)
The status of the import.
|
GetImportResult |
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. |
GetImportResult |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of when the import was updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImportId(String importId)
The ID of the import.
importId
- The ID of the import.public String getImportId()
The ID of the import.
public GetImportResult 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 GetImportResult 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 GetImportResult 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.
importSource
- The source S3 bucket.public ImportSource getImportSource()
The source S3 bucket.
public GetImportResult withImportSource(ImportSource importSource)
The source S3 bucket.
importSource
- The source S3 bucket.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 GetImportResult 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 GetImportResult 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)
The status of the import.
importStatus
- The status of the import.ImportStatus
public String getImportStatus()
The status of the import.
ImportStatus
public GetImportResult withImportStatus(String importStatus)
The status of the import.
importStatus
- The status of the import.ImportStatus
public GetImportResult withImportStatus(ImportStatus importStatus)
The status of the import.
importStatus
- The status of the import.ImportStatus
public void setCreatedTimestamp(Date createdTimestamp)
The timestamp of the import's creation.
createdTimestamp
- The timestamp of the import's creation.public Date getCreatedTimestamp()
The timestamp of the import's creation.
public GetImportResult withCreatedTimestamp(Date createdTimestamp)
The timestamp of the import's creation.
createdTimestamp
- The timestamp of the import's creation.public void setUpdatedTimestamp(Date updatedTimestamp)
The timestamp of when the import was updated.
updatedTimestamp
- The timestamp of when the import was updated.public Date getUpdatedTimestamp()
The timestamp of when the import was updated.
public GetImportResult withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of when the import was updated.
updatedTimestamp
- The timestamp of when the import was updated.public void setImportStatistics(ImportStatistics importStatistics)
Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values
for parameters such as EventsCompleted
may be lower than the actual value, because CloudTrail
updates statistics incrementally over the course of the import.
importStatistics
- Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned
values for parameters such as EventsCompleted
may be lower than the actual value, because
CloudTrail updates statistics incrementally over the course of the import.public ImportStatistics getImportStatistics()
Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values
for parameters such as EventsCompleted
may be lower than the actual value, because CloudTrail
updates statistics incrementally over the course of the import.
EventsCompleted
may be lower than the actual value, because
CloudTrail updates statistics incrementally over the course of the import.public GetImportResult withImportStatistics(ImportStatistics importStatistics)
Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values
for parameters such as EventsCompleted
may be lower than the actual value, because CloudTrail
updates statistics incrementally over the course of the import.
importStatistics
- Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned
values for parameters such as EventsCompleted
may be lower than the actual value, because
CloudTrail updates statistics incrementally over the course of the import.public String toString()
toString
in class Object
Object.toString()
public GetImportResult clone()