Interface AnalysisLogExport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisLogExport.Builder,,AnalysisLogExport> SdkBuilder<AnalysisLogExport.Builder,,AnalysisLogExport> SdkPojo
- Enclosing class:
AnalysisLogExport
-
Method Summary
Modifier and TypeMethodDescriptionanalysisId(String analysisId) The unique identifier of the protected query that the analysis logs were exported for.analysisLogExportId(String analysisLogExportId) The unique identifier of the analysis log export.analysisType(String analysisType) The type of analysis that the logs were exported for.analysisType(LogExportAnalysisType analysisType) The type of analysis that the logs were exported for.createTime(Instant createTime) The time the analysis log export was created.default AnalysisLogExport.BuilderThe analysis log export error.error(AnalysisLogExportError error) The analysis log export error.membershipId(String membershipId) The unique identifier of the membership that the analysis log export belongs to.default AnalysisLogExport.BuilderresultConfiguration(Consumer<AnalysisLogExportResultConfiguration.Builder> resultConfiguration) Contains the details needed to write the exported analysis logs.resultConfiguration(AnalysisLogExportResultConfiguration resultConfiguration) Contains the details needed to write the exported analysis logs.The status of the analysis log export.status(AnalysisLogExportStatus status) The status of the analysis log export.updateTime(Instant updateTime) The time the analysis log export was last updated.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
-
analysisLogExportId
The unique identifier of the analysis log export.
- Parameters:
analysisLogExportId- The unique identifier of the analysis log export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisId
The unique identifier of the protected query that the analysis logs were exported for.
- Parameters:
analysisId- The unique identifier of the protected query that the analysis logs were exported for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisType
The type of analysis that the logs were exported for. Currently, only
PROTECTED_QUERYis supported.- Parameters:
analysisType- The type of analysis that the logs were exported for. Currently, onlyPROTECTED_QUERYis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
The type of analysis that the logs were exported for. Currently, only
PROTECTED_QUERYis supported.- Parameters:
analysisType- The type of analysis that the logs were exported for. Currently, onlyPROTECTED_QUERYis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
membershipId
The unique identifier of the membership that the analysis log export belongs to.
- Parameters:
membershipId- The unique identifier of the membership that the analysis log export belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the analysis log export. Possible values are:
-
IN_PROGRESS– The export is currently running. -
SUCCESS– The export completed successfully. -
FAILED– The export failed. See theerrorfield for details.
- Parameters:
status- The status of the analysis log export. Possible values are:-
IN_PROGRESS– The export is currently running. -
SUCCESS– The export completed successfully. -
FAILED– The export failed. See theerrorfield for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the analysis log export. Possible values are:
-
IN_PROGRESS– The export is currently running. -
SUCCESS– The export completed successfully. -
FAILED– The export failed. See theerrorfield for details.
- Parameters:
status- The status of the analysis log export. Possible values are:-
IN_PROGRESS– The export is currently running. -
SUCCESS– The export completed successfully. -
FAILED– The export failed. See theerrorfield for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resultConfiguration
AnalysisLogExport.Builder resultConfiguration(AnalysisLogExportResultConfiguration resultConfiguration) Contains the details needed to write the exported analysis logs.
- Parameters:
resultConfiguration- Contains the details needed to write the exported analysis logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultConfiguration
default AnalysisLogExport.Builder resultConfiguration(Consumer<AnalysisLogExportResultConfiguration.Builder> resultConfiguration) Contains the details needed to write the exported analysis logs.
This is a convenience method that creates an instance of theAnalysisLogExportResultConfiguration.Builderavoiding the need to create one manually viaAnalysisLogExportResultConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultConfiguration(AnalysisLogExportResultConfiguration).- Parameters:
resultConfiguration- a consumer that will call methods onAnalysisLogExportResultConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createTime
The time the analysis log export was created.
- Parameters:
createTime- The time the analysis log export was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The time the analysis log export was last updated.
- Parameters:
updateTime- The time the analysis log export was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The analysis log export error. This is present only when the export
statusisFAILED.- Parameters:
error- The analysis log export error. This is present only when the exportstatusisFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The analysis log export error. This is present only when the export
This is a convenience method that creates an instance of thestatusisFAILED.AnalysisLogExportError.Builderavoiding the need to create one manually viaAnalysisLogExportError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(AnalysisLogExportError).- Parameters:
error- a consumer that will call methods onAnalysisLogExportError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-