Class CloudWatchLoggingOption
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalytics.model.CloudWatchLoggingOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchLoggingOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchLoggingOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudWatchLoggingOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogStreamARN()ARN of the CloudWatch log to receive application messages.StringroleARN()IAM ARN of the role to use to send application messages.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CloudWatchLoggingOption.Builder>serializableBuilderClass()CloudWatchLoggingOption.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logStreamARN
public final String logStreamARN()
ARN of the CloudWatch log to receive application messages.
- Returns:
- ARN of the CloudWatch log to receive application messages.
-
roleARN
public final 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.- Returns:
- 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.
-
toBuilder
public CloudWatchLoggingOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
-
builder
public static CloudWatchLoggingOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchLoggingOption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-