Interface CloudWatchLoggingOption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>,SdkBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>,SdkPojo
- Enclosing class:
- CloudWatchLoggingOption
public static interface CloudWatchLoggingOption.Builder extends SdkPojo, CopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudWatchLoggingOption.BuilderlogStreamARN(String logStreamARN)ARN of the CloudWatch log to receive application messages.CloudWatchLoggingOption.BuilderroleARN(String roleARN)IAM ARN of the role to use to send application messages.-
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 Detail
-
logStreamARN
CloudWatchLoggingOption.Builder logStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
- Parameters:
logStreamARN- ARN of the CloudWatch log to receive application messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
CloudWatchLoggingOption.Builder roleARN(String roleARN)
IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the
PutLogEventspolicy action enabled.- Parameters:
roleARN- IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have thePutLogEventspolicy action enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-