Interface ExportSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExportSummary.Builder,,ExportSummary> SdkBuilder<ExportSummary.Builder,,ExportSummary> SdkPojo
- Enclosing class:
ExportSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe category of data that the export job produces.dataType(ExportDataType dataType) The category of data that the export job produces.default ExportSummary.Builderdestination(Consumer<ExportDestination.Builder> destination) The destination that the export job writes to.destination(ExportDestination destination) The destination that the export job writes to.The time when the export job reached a terminal state.exportJobId(String exportJobId) The unique identifier of the export job.failureCode(String failureCode) A code that classifies why the export job failed.failureCode(ExportFailureCode failureCode) A code that classifies why the export job failed.failureMessage(String failureMessage) A human-readable message about why the export job failed.The user-provided name of the export job, if one was specified.default ExportSummary.BuilderoutputConfiguration(Consumer<ExportOutputSummary.Builder> outputConfiguration) The output configuration of the export job.outputConfiguration(ExportOutputSummary outputConfiguration) The output configuration of the export job.default ExportSummary.Builderscopes(Consumer<ExportScopes.Builder> scopes) The organization scopes that the export job was started with, echoed verbatim.scopes(ExportScopes scopes) The organization scopes that the export job was started with, echoed verbatim.The time when the export job was created.The current state of the export job.status(ExportStatus status) The current state of the export job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
exportJobId
The unique identifier of the export job.
- Parameters:
exportJobId- The unique identifier of the export job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The user-provided name of the export job, if one was specified.
- Parameters:
name- The user-provided name of the export job, if one was specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the export job.
- Parameters:
status- The current state of the export job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of the export job.
- Parameters:
status- The current state of the export job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataType
The category of data that the export job produces.
- Parameters:
dataType- The category of data that the export job produces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataType
The category of data that the export job produces.
- Parameters:
dataType- The category of data that the export job produces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfiguration
The output configuration of the export job. For findings exports, this reports the output format. Present only for findings exports; absent for other data types.
- Parameters:
outputConfiguration- The output configuration of the export job. For findings exports, this reports the output format. Present only for findings exports; absent for other data types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfiguration
default ExportSummary.Builder outputConfiguration(Consumer<ExportOutputSummary.Builder> outputConfiguration) The output configuration of the export job. For findings exports, this reports the output format. Present only for findings exports; absent for other data types.
This is a convenience method that creates an instance of theExportOutputSummary.Builderavoiding the need to create one manually viaExportOutputSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfiguration(ExportOutputSummary).- Parameters:
outputConfiguration- a consumer that will call methods onExportOutputSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
The organization scopes that the export job was started with, echoed verbatim. Absent if the caller didn't supply
Scopes.- Parameters:
scopes- The organization scopes that the export job was started with, echoed verbatim. Absent if the caller didn't supplyScopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The organization scopes that the export job was started with, echoed verbatim. Absent if the caller didn't supply
This is a convenience method that creates an instance of theScopes.ExportScopes.Builderavoiding the need to create one manually viaExportScopes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopes(ExportScopes).- Parameters:
scopes- a consumer that will call methods onExportScopes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
The destination that the export job writes to.
- Parameters:
destination- The destination that the export job writes to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The destination that the export job writes to.
This is a convenience method that creates an instance of theExportDestination.Builderavoiding the need to create one manually viaExportDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(ExportDestination).- Parameters:
destination- a consumer that will call methods onExportDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
A code that classifies why the export job failed. Present only when
StatusisFAILED.- Parameters:
failureCode- A code that classifies why the export job failed. Present only whenStatusisFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
A code that classifies why the export job failed. Present only when
StatusisFAILED.- Parameters:
failureCode- A code that classifies why the export job failed. Present only whenStatusisFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
A human-readable message about why the export job failed. Present only when
StatusisFAILED.- Parameters:
failureMessage- A human-readable message about why the export job failed. Present only whenStatusisFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time when the export job was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
startedAt- The time when the export job was created.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time when the export job reached a terminal state. Absent while the job is
RUNNING.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
endedAt- The time when the export job reached a terminal state. Absent while the job isRUNNING.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-