Interface BrokerLogs.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BrokerLogs.Builder,
,BrokerLogs> SdkBuilder<BrokerLogs.Builder,
,BrokerLogs> SdkPojo
- Enclosing class:
BrokerLogs
public static interface BrokerLogs.Builder
extends SdkPojo, CopyableBuilder<BrokerLogs.Builder,BrokerLogs>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BrokerLogs.Builder
cloudWatchLogs
(Consumer<CloudWatchLogs.Builder> cloudWatchLogs) Sets the value of the CloudWatchLogs property for this object.cloudWatchLogs
(CloudWatchLogs cloudWatchLogs) Sets the value of the CloudWatchLogs property for this object.default BrokerLogs.Builder
firehose
(Consumer<Firehose.Builder> firehose) Sets the value of the Firehose property for this object.Sets the value of the Firehose property for this object.default BrokerLogs.Builder
s3
(Consumer<S3.Builder> s3) Sets the value of the S3 property for this object.Sets the value of the S3 property for this object.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
-
cloudWatchLogs
Sets the value of the CloudWatchLogs property for this object.- Parameters:
cloudWatchLogs
- The new value for the CloudWatchLogs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
Sets the value of the CloudWatchLogs property for this object. This is a convenience method that creates an instance of theCloudWatchLogs.Builder
avoiding the need to create one manually viaCloudWatchLogs.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogs)
.- Parameters:
cloudWatchLogs
- a consumer that will call methods onCloudWatchLogs.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firehose
Sets the value of the Firehose property for this object.- Parameters:
firehose
- The new value for the Firehose property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firehose
Sets the value of the Firehose property for this object. This is a convenience method that creates an instance of theFirehose.Builder
avoiding the need to create one manually viaFirehose.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirehose(Firehose)
.- Parameters:
firehose
- a consumer that will call methods onFirehose.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3
Sets the value of the S3 property for this object.- Parameters:
s3
- The new value for the S3 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Sets the value of the S3 property for this object. This is a convenience method that creates an instance of theS3.Builder
avoiding the need to create one manually viaS3.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3)
.- Parameters:
s3
- a consumer that will call methods onS3.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-