Interface CloudWatchLogs.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogs.Builder,,CloudWatchLogs> SdkBuilder<CloudWatchLogs.Builder,,CloudWatchLogs> SdkPojo
- Enclosing class:
CloudWatchLogs
@Mutable
@NotThreadSafe
public static interface CloudWatchLogs.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogs.Builder,CloudWatchLogs>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether logging to Amazon CloudWatch Logs is enabled.logGroupName(String logGroupName) The name of the Amazon CloudWatch Logs log group.logStreamName(String logStreamName) The name of the Amazon CloudWatch Logs log stream.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
-
enabled
Specifies whether logging to Amazon CloudWatch Logs is enabled.
- Parameters:
enabled- Specifies whether logging to Amazon CloudWatch Logs is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupName
The name of the Amazon CloudWatch Logs log group. Defaults to
/aws/kinesis/{channelName}/{channelId}.- Parameters:
logGroupName- The name of the Amazon CloudWatch Logs log group. Defaults to/aws/kinesis/{channelName}/{channelId}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamName
The name of the Amazon CloudWatch Logs log stream. Defaults to
DestinationDelivery.- Parameters:
logStreamName- The name of the Amazon CloudWatch Logs log stream. Defaults toDestinationDelivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-