Interface CloudWatchLoggingOptionDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLoggingOptionDescription.Builder,,CloudWatchLoggingOptionDescription> SdkBuilder<CloudWatchLoggingOptionDescription.Builder,,CloudWatchLoggingOptionDescription> SdkPojo
- Enclosing class:
CloudWatchLoggingOptionDescription
@Mutable
@NotThreadSafe
public static interface CloudWatchLoggingOptionDescription.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLoggingOptionDescription.Builder,CloudWatchLoggingOptionDescription>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLoggingOptionId(String cloudWatchLoggingOptionId) ID of the CloudWatch logging option description.logStreamARN(String logStreamARN) ARN of the CloudWatch log to receive application messages.IAM ARN of the role to use to send application messages.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
-
cloudWatchLoggingOptionId
CloudWatchLoggingOptionDescription.Builder cloudWatchLoggingOptionId(String cloudWatchLoggingOptionId) ID of the CloudWatch logging option description.
- Parameters:
cloudWatchLoggingOptionId- ID of the CloudWatch logging option description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role 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 used must have thePutLogEventspolicy action enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-