Class LogGroupSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.LogGroupSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogGroupSummary.Builder,LogGroupSummary>
@Generated("software.amazon.awssdk:codegen") public final class LogGroupSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogGroupSummary.Builder,LogGroupSummary>
This structure contains information about one log group in your account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogGroupSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogGroupSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogGroupArn()The Amazon Resource Name (ARN) of the log group.LogGroupClasslogGroupClass()The log group class for this log group.StringlogGroupClassAsString()The log group class for this log group.StringlogGroupName()The name of the log group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LogGroupSummary.Builder>serializableBuilderClass()LogGroupSummary.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
-
logGroupName
public final String logGroupName()
The name of the log group.
- Returns:
- The name of the log group.
-
logGroupArn
public final String logGroupArn()
The Amazon Resource Name (ARN) of the log group.
- Returns:
- The Amazon Resource Name (ARN) of the log group.
-
logGroupClass
public final LogGroupClass logGroupClass()
The log group class for this log group. For details about the features supported by each log group class, see Log classes
If the service returns an enum value that is not available in the current SDK version,
logGroupClasswill returnLogGroupClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogGroupClassAsString().- Returns:
- The log group class for this log group. For details about the features supported by each log group class, see Log classes
- See Also:
LogGroupClass
-
logGroupClassAsString
public final String logGroupClassAsString()
The log group class for this log group. For details about the features supported by each log group class, see Log classes
If the service returns an enum value that is not available in the current SDK version,
logGroupClasswill returnLogGroupClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogGroupClassAsString().- Returns:
- The log group class for this log group. For details about the features supported by each log group class, see Log classes
- See Also:
LogGroupClass
-
toBuilder
public LogGroupSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogGroupSummary.Builder,LogGroupSummary>
-
builder
public static LogGroupSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogGroupSummary.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
-
-