Interface StopImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<StopImportResponse.Builder,StopImportResponse>,SdkBuilder<StopImportResponse.Builder,StopImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StopImportResponse
public static interface StopImportResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<StopImportResponse.Builder,StopImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StopImportResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp of the import's creation.StopImportResponse.Builderdestinations(String... destinations)The ARN of the destination event data store.StopImportResponse.Builderdestinations(Collection<String> destinations)The ARN of the destination event data store.StopImportResponse.BuilderendEventTime(Instant endEventTime)Used withStartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.StopImportResponse.BuilderimportId(String importId)The ID for the import.default StopImportResponse.BuilderimportSource(Consumer<ImportSource.Builder> importSource)The source S3 bucket for the import.StopImportResponse.BuilderimportSource(ImportSource importSource)The source S3 bucket for the import.default StopImportResponse.BuilderimportStatistics(Consumer<ImportStatistics.Builder> importStatistics)Returns information on the stopped import.StopImportResponse.BuilderimportStatistics(ImportStatistics importStatistics)Returns information on the stopped import.StopImportResponse.BuilderimportStatus(String importStatus)The status of the import.StopImportResponse.BuilderimportStatus(ImportStatus importStatus)The status of the import.StopImportResponse.BuilderstartEventTime(Instant startEventTime)Used withEndEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.StopImportResponse.BuilderupdatedTimestamp(Instant updatedTimestamp)The timestamp of the import's last update.-
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
StopImportResponse.Builder importId(String importId)
The ID for the import.
- Parameters:
importId- The ID for the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
StopImportResponse.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 StopImportResponse.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)
-
destinations
StopImportResponse.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
StopImportResponse.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.
-
importStatus
StopImportResponse.Builder importStatus(String importStatus)
The status of the import.
- Parameters:
importStatus- The status of the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
importStatus
StopImportResponse.Builder importStatus(ImportStatus importStatus)
The status of the import.
- Parameters:
importStatus- The status of the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
createdTimestamp
StopImportResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp of the import's creation.
- Parameters:
createdTimestamp- The timestamp of the import's creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
StopImportResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp of the import's last update.
- Parameters:
updatedTimestamp- The timestamp of the import's last update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startEventTime
StopImportResponse.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
StopImportResponse.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.
-
importStatistics
StopImportResponse.Builder importStatistics(ImportStatistics importStatistics)
Returns information on the stopped import.
- Parameters:
importStatistics- Returns information on the stopped import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatistics
default StopImportResponse.Builder importStatistics(Consumer<ImportStatistics.Builder> importStatistics)
Returns information on the stopped import.
This is a convenience method that creates an instance of theImportStatistics.Builderavoiding the need to create one manually viaImportStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportStatistics(ImportStatistics).- Parameters:
importStatistics- a consumer that will call methods onImportStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
importStatistics(ImportStatistics)
-
-