Class ManagedSecurityGroup
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ManagedSecurityGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedSecurityGroup.Builder,ManagedSecurityGroup>
@Generated("software.amazon.awssdk:codegen") public final class ManagedSecurityGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedSecurityGroup.Builder,ManagedSecurityGroup>
A security group associated with the Express service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedSecurityGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the security group.static ManagedSecurityGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedSecurityGroup.Builder>serializableBuilderClass()ManagedResourceStatusstatus()The status of the security group.StringstatusAsString()The status of the security group.StringstatusReason()Information about why the security group is in the current status.ManagedSecurityGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The Unix timestamp for when the security group 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 ARN of the security group.
- Returns:
- The ARN of the security group.
-
status
public final ManagedResourceStatus status()
The status of the security group.
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 security group.
- See Also:
ManagedResourceStatus
-
statusAsString
public final String statusAsString()
The status of the security group.
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 security group.
- See Also:
ManagedResourceStatus
-
statusReason
public final String statusReason()
Information about why the security group is in the current status.
- Returns:
- Information about why the security group is in the current status.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp for when the security group was last updated.
- Returns:
- The Unix timestamp for when the security group was last updated.
-
toBuilder
public ManagedSecurityGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedSecurityGroup.Builder,ManagedSecurityGroup>
-
builder
public static ManagedSecurityGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedSecurityGroup.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
-
-