@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StopImportResult() |
Modifier and Type | Method and Description |
---|---|
StopImportResult |
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 for the import.
|
ImportSource |
getImportSource()
The source S3 bucket for the import.
|
ImportStatistics |
getImportStatistics()
Returns information on the stopped 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 the import's last update.
|
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 for the import.
|
void |
setImportSource(ImportSource importSource)
The source S3 bucket for the import.
|
void |
setImportStatistics(ImportStatistics importStatistics)
Returns information on the stopped 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 the import's last update.
|
String |
toString()
Returns a string representation of this object.
|
StopImportResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp of the import's creation.
|
StopImportResult |
withDestinations(Collection<String> destinations)
The ARN of the destination event data store.
|
StopImportResult |
withDestinations(String... destinations)
The ARN of the destination event data store.
|
StopImportResult |
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. |
StopImportResult |
withImportId(String importId)
The ID for the import.
|
StopImportResult |
withImportSource(ImportSource importSource)
The source S3 bucket for the import.
|
StopImportResult |
withImportStatistics(ImportStatistics importStatistics)
Returns information on the stopped import.
|
StopImportResult |
withImportStatus(ImportStatus importStatus)
The status of the import.
|
StopImportResult |
withImportStatus(String importStatus)
The status of the import.
|
StopImportResult |
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. |
StopImportResult |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImportId(String importId)
The ID for the import.
importId
- The ID for the import.public String getImportId()
The ID for the import.
public StopImportResult withImportId(String importId)
The ID for the import.
importId
- The ID for the import.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 StopImportResult withImportSource(ImportSource importSource)
The source S3 bucket for the import.
importSource
- The source S3 bucket for 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 StopImportResult 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 StopImportResult withDestinations(Collection<String> destinations)
The ARN of the destination event data store.
destinations
- The ARN of the destination event data store.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 StopImportResult withImportStatus(String importStatus)
The status of the import.
importStatus
- The status of the import.ImportStatus
public StopImportResult 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 StopImportResult 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 the import's last update.
updatedTimestamp
- The timestamp of the import's last update.public Date getUpdatedTimestamp()
The timestamp of the import's last update.
public StopImportResult withUpdatedTimestamp(Date updatedTimestamp)
The timestamp of the import's last update.
updatedTimestamp
- The timestamp of the import's last update.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 StopImportResult 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 StopImportResult 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 setImportStatistics(ImportStatistics importStatistics)
Returns information on the stopped import.
importStatistics
- Returns information on the stopped import.public ImportStatistics getImportStatistics()
Returns information on the stopped import.
public StopImportResult withImportStatistics(ImportStatistics importStatistics)
Returns information on the stopped import.
importStatistics
- Returns information on the stopped import.public String toString()
toString
in class Object
Object.toString()
public StopImportResult clone()