Class CloudwatchLogsAction
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CloudwatchLogsAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>
@Generated("software.amazon.awssdk:codegen") public final class CloudwatchLogsAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>
Describes an action that sends data to CloudWatch Logs.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudwatchLogsAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbatchMode()Indicates whether batches of log records will be extracted and uploaded into CloudWatch.static CloudwatchLogsAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogGroupName()The CloudWatch log group to which the action sends data.StringroleArn()The IAM role that allows access to the CloudWatch log.List<SdkField<?>>sdkFields()static Class<? extends CloudwatchLogsAction.Builder>serializableBuilderClass()CloudwatchLogsAction.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
-
roleArn
public final String roleArn()
The IAM role that allows access to the CloudWatch log.
- Returns:
- The IAM role that allows access to the CloudWatch log.
-
logGroupName
public final String logGroupName()
The CloudWatch log group to which the action sends data.
- Returns:
- The CloudWatch log group to which the action sends data.
-
batchMode
public final Boolean batchMode()
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include
trueorfalse(default).- Returns:
- Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include
trueorfalse(default).
-
toBuilder
public CloudwatchLogsAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudwatchLogsAction.Builder,CloudwatchLogsAction>
-
builder
public static CloudwatchLogsAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudwatchLogsAction.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.
-
-