Interface StartImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<StartImportResponse.Builder,StartImportResponse>,SdkBuilder<StartImportResponse.Builder,StartImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartImportResponse
public static interface StartImportResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp for the import's creation.StartImportResponse.Builderdestinations(String... destinations)The ARN of the destination event data store.StartImportResponse.Builderdestinations(Collection<String> destinations)The ARN of the destination event data store.StartImportResponse.BuilderendEventTime(Instant endEventTime)Used withStartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.StartImportResponse.BuilderimportId(String importId)The ID of the import.default StartImportResponse.BuilderimportSource(Consumer<ImportSource.Builder> importSource)The source S3 bucket for the import.StartImportResponse.BuilderimportSource(ImportSource importSource)The source S3 bucket for the import.StartImportResponse.BuilderimportStatus(String importStatus)Shows the status of the import after aStartImportrequest.StartImportResponse.BuilderimportStatus(ImportStatus importStatus)Shows the status of the import after aStartImportrequest.StartImportResponse.BuilderstartEventTime(Instant startEventTime)Used withEndEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.StartImportResponse.BuilderupdatedTimestamp(Instant updatedTimestamp)The timestamp of the import's last update, if applicable.-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
importId
StartImportResponse.Builder importId(String importId)
The ID of the import.
- Parameters:
importId- The ID of the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
StartImportResponse.Builder destinations(Collection<String> destinations)
The ARN of the destination event data store.
- Parameters:
destinations- The ARN of the destination event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
StartImportResponse.Builder destinations(String... destinations)
The ARN of the destination event data store.
- Parameters:
destinations- The ARN of the destination event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
StartImportResponse.Builder importSource(ImportSource importSource)
The source S3 bucket for the import.
- Parameters:
importSource- The source S3 bucket for the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
default StartImportResponse.Builder importSource(Consumer<ImportSource.Builder> importSource)
The source S3 bucket for the import.
This is a convenience method that creates an instance of theImportSource.Builderavoiding the need to create one manually viaImportSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportSource(ImportSource).- Parameters:
importSource- a consumer that will call methods onImportSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
importSource(ImportSource)
-
startEventTime
StartImportResponse.Builder startEventTime(Instant startEventTime)
Used with
EndEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.- Parameters:
startEventTime- Used withEndEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endEventTime
StartImportResponse.Builder endEventTime(Instant endEventTime)
Used with
StartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.- Parameters:
endEventTime- Used withStartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatus
StartImportResponse.Builder importStatus(String importStatus)
Shows the status of the import after a
StartImportrequest. An import finishes with a status ofCOMPLETEDif there were no failures, orFAILEDif there were failures.- Parameters:
importStatus- Shows the status of the import after aStartImportrequest. An import finishes with a status ofCOMPLETEDif there were no failures, orFAILEDif there were failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
importStatus
StartImportResponse.Builder importStatus(ImportStatus importStatus)
Shows the status of the import after a
StartImportrequest. An import finishes with a status ofCOMPLETEDif there were no failures, orFAILEDif there were failures.- Parameters:
importStatus- Shows the status of the import after aStartImportrequest. An import finishes with a status ofCOMPLETEDif there were no failures, orFAILEDif there were failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
createdTimestamp
StartImportResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp for the import's creation.
- Parameters:
createdTimestamp- The timestamp for the import's creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
StartImportResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp of the import's last update, if applicable.
- Parameters:
updatedTimestamp- The timestamp of the import's last update, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-