Class ManagedLogGroup
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ManagedLogGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedLogGroup.Builder,ManagedLogGroup>
@Generated("software.amazon.awssdk:codegen") public final class ManagedLogGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedLogGroup.Builder,ManagedLogGroup>
The Cloudwatch Log Group created by Amazon ECS for an Express service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedLogGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the Cloudwatch Log Group associated with the Express service.static ManagedLogGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogGroupName()The name of the Cloudwatch Log Group associated with the Express service.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedLogGroup.Builder>serializableBuilderClass()ManagedResourceStatusstatus()The status of the Cloudwatch LogGroup.StringstatusAsString()The status of the Cloudwatch LogGroup.StringstatusReason()Information about why the Cloudwatch LogGroup is in the current status.ManagedLogGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The Unix timestamp for when the Cloudwatch LogGroup was last updated-
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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the Cloudwatch Log Group associated with the Express service.
- Returns:
- The Amazon Resource Name (ARN) of the Cloudwatch Log Group associated with the Express service.
-
status
public final ManagedResourceStatus status()
The status of the Cloudwatch LogGroup.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnManagedResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Cloudwatch LogGroup.
- See Also:
ManagedResourceStatus
-
statusAsString
public final String statusAsString()
The status of the Cloudwatch LogGroup.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnManagedResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Cloudwatch LogGroup.
- See Also:
ManagedResourceStatus
-
statusReason
public final String statusReason()
Information about why the Cloudwatch LogGroup is in the current status.
- Returns:
- Information about why the Cloudwatch LogGroup is in the current status.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp for when the Cloudwatch LogGroup was last updated
- Returns:
- The Unix timestamp for when the Cloudwatch LogGroup was last updated
-
logGroupName
public final String logGroupName()
The name of the Cloudwatch Log Group associated with the Express service.
- Returns:
- The name of the Cloudwatch Log Group associated with the Express service.
-
toBuilder
public ManagedLogGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedLogGroup.Builder,ManagedLogGroup>
-
builder
public static ManagedLogGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedLogGroup.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
-
-