Class CloudWatchLogsDestination
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoice.model.CloudWatchLogsDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchLogsDestination.Builder,CloudWatchLogsDestination>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchLogsDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLogsDestination.Builder,CloudWatchLogsDestination>
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchLogsDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudWatchLogsDestination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.StringlogGroupArn()The name of the Amazon CloudWatch Log Group that you want to record events in.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CloudWatchLogsDestination.Builder>serializableBuilderClass()CloudWatchLogsDestination.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
-
iamRoleArn
public final String iamRoleArn()
The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.- Returns:
- The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.
-
logGroupArn
public final String logGroupArn()
The name of the Amazon CloudWatch Log Group that you want to record events in.- Returns:
- The name of the Amazon CloudWatch Log Group that you want to record events in.
-
toBuilder
public CloudWatchLogsDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchLogsDestination.Builder,CloudWatchLogsDestination>
-
builder
public static CloudWatchLogsDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchLogsDestination.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
-
-