Interface ErrorReportLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ErrorReportLocation.Builder,
,ErrorReportLocation> SdkBuilder<ErrorReportLocation.Builder,
,ErrorReportLocation> SdkPojo
- Enclosing class:
ErrorReportLocation
public static interface ErrorReportLocation.Builder
extends SdkPojo, CopyableBuilder<ErrorReportLocation.Builder,ErrorReportLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ErrorReportLocation.Builder
s3ReportLocation
(Consumer<S3ReportLocation.Builder> s3ReportLocation) The S3 location where error reports are written.s3ReportLocation
(S3ReportLocation s3ReportLocation) The S3 location where error reports are written.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
-
Method Details
-
s3ReportLocation
The S3 location where error reports are written.
- Parameters:
s3ReportLocation
- The S3 location where error reports are written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReportLocation
default ErrorReportLocation.Builder s3ReportLocation(Consumer<S3ReportLocation.Builder> s3ReportLocation) The S3 location where error reports are written.
This is a convenience method that creates an instance of theS3ReportLocation.Builder
avoiding the need to create one manually viaS3ReportLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3ReportLocation(S3ReportLocation)
.- Parameters:
s3ReportLocation
- a consumer that will call methods onS3ReportLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-