Interface BrokerLogs.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BrokerLogs.Builder,,BrokerLogs> SdkBuilder<BrokerLogs.Builder,,BrokerLogs> SdkPojo
- Enclosing class:
BrokerLogs
@Mutable
@NotThreadSafe
public static interface BrokerLogs.Builder
extends SdkPojo, CopyableBuilder<BrokerLogs.Builder,BrokerLogs>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BrokerLogs.BuildercloudWatchLogs(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.Builderfirehose(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.Builders3(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
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
-
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.Builderavoiding the need to create one manually viaCloudWatchLogs.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFirehose.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaS3.builder().When the
Consumercompletes,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:
-