Interface GetExportJobV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetExportJobV2Response.Builder,,GetExportJobV2Response> SdkBuilder<GetExportJobV2Response.Builder,,GetExportJobV2Response> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetExportJobV2Response
-
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 GetExportJobV2Response.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 (SUCCEEDED,FAILED, orCANCELLED).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 that provides more detail about why the export job failed.The user-provided name of the export job, if one was specified when the job was started.default GetExportJobV2Response.BuilderoutputConfiguration(Consumer<ExportOutput.Builder> outputConfiguration) The output configuration that the export job was started with, including the format and any filters or selected fields.outputConfiguration(ExportOutput outputConfiguration) The output configuration that the export job was started with, including the format and any filters or selected fields.default GetExportJobV2Response.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
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 when the job was started.
- Parameters:
name- The user-provided name of the export job, if one was specified when the job was started.- 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 that the export job was started with, including the format and any filters or selected fields.
- Parameters:
outputConfiguration- The output configuration that the export job was started with, including the format and any filters or selected fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfiguration
default GetExportJobV2Response.Builder outputConfiguration(Consumer<ExportOutput.Builder> outputConfiguration) The output configuration that the export job was started with, including the format and any filters or selected fields.
This is a convenience method that creates an instance of theExportOutput.Builderavoiding the need to create one manually viaExportOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfiguration(ExportOutput).- Parameters:
outputConfiguration- a consumer that will call methods onExportOutput.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. This parameter is absent if the caller didn't supply
Scopes. It contains only the organization or organizational unit (OU) identifiers that the caller submitted; it never contains resolved member-account identifiers.- Parameters:
scopes- The organization scopes that the export job was started with, echoed verbatim. This parameter is absent if the caller didn't supplyScopes. It contains only the organization or organizational unit (OU) identifiers that the caller submitted; it never contains resolved member-account identifiers.- 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. This parameter is absent if the caller didn't supply
This is a convenience method that creates an instance of theScopes. It contains only the organization or organizational unit (OU) identifiers that the caller submitted; it never contains resolved member-account identifiers.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 that provides more detail about why the export job failed. Present only when
StatusisFAILED.- Parameters:
failureMessage- A human-readable message that provides more detail 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 (
SUCCEEDED,FAILED, orCANCELLED). This parameter is absent while the job isRUNNING.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 (SUCCEEDED,FAILED, orCANCELLED). This parameter is 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.
-