Interface CloudWatchLogsDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudWatchLogsDestination.Builder,
,CloudWatchLogsDestination> SdkBuilder<CloudWatchLogsDestination.Builder,
,CloudWatchLogsDestination> SdkPojo
- Enclosing class:
CloudWatchLogsDestination
@Mutable
@NotThreadSafe
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 Identity and Access Management 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
iamRoleArn
The Amazon Resource Name (ARN) of an Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of an Identity and Access Management 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.
-