Interface CloudwatchLogsAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>,SdkBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>,SdkPojo
- Enclosing class:
- CloudwatchLogsAction
public static interface CloudwatchLogsAction.Builder extends SdkPojo, CopyableBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudwatchLogsAction.BuilderbatchMode(Boolean batchMode)Indicates whether batches of log records will be extracted and uploaded into CloudWatch.CloudwatchLogsAction.BuilderlogGroupName(String logGroupName)The CloudWatch log group to which the action sends data.CloudwatchLogsAction.BuilderroleArn(String roleArn)The IAM role that allows access to the CloudWatch log.-
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 Detail
-
roleArn
CloudwatchLogsAction.Builder roleArn(String roleArn)
The IAM role that allows access to the CloudWatch log.
- Parameters:
roleArn- The IAM role that allows access to the CloudWatch log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupName
CloudwatchLogsAction.Builder logGroupName(String logGroupName)
The CloudWatch log group to which the action sends data.
- Parameters:
logGroupName- The CloudWatch log group to which the action sends data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchMode
CloudwatchLogsAction.Builder batchMode(Boolean batchMode)
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include
trueorfalse(default).- Parameters:
batchMode- Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values includetrueorfalse(default).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-