Interface CloudWatchLogsDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogsDestination.Builder,,CloudWatchLogsDestination> SdkBuilder<CloudWatchLogsDestination.Builder,,CloudWatchLogsDestination> SdkPojo
- Enclosing class:
CloudWatchLogsDestination
public static interface CloudWatchLogsDestination.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogsDestination.Builder,CloudWatchLogsDestination>
-
Method Summary
Modifier and TypeMethodDescriptioniamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.logGroupArn(String logGroupArn) The name of the Amazon CloudWatch Log Group that you want to record events in.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, sdkFields
-
Method Details
-
iamRoleArn
The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.- Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArn
The name of the Amazon CloudWatch Log Group that you want to record events in.- Parameters:
logGroupArn- The name of the Amazon CloudWatch Log Group that you want to record events in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-