Class GroupingStatusesItem
- java.lang.Object
-
- software.amazon.awssdk.services.resourcegroups.model.GroupingStatusesItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GroupingStatusesItem.Builder,GroupingStatusesItem>
@Generated("software.amazon.awssdk:codegen") public final class GroupingStatusesItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupingStatusesItem.Builder,GroupingStatusesItem>
The information about a grouping or ungrouping resource action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGroupingStatusesItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupingTypeaction()Describes the resource grouping action with values ofGROUPorUNGROUP.StringactionAsString()Describes the resource grouping action with values ofGROUPorUNGROUP.static GroupingStatusesItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()Specifies the error code that was raised.StringerrorMessage()A message that explains theErrorCode.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()The Amazon resource name (ARN) of a resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GroupingStatusesItem.Builder>serializableBuilderClass()GroupingStatusstatus()Describes the resource grouping status with values ofSUCCESS,FAILED,IN_PROGRESS, orSKIPPED.StringstatusAsString()Describes the resource grouping status with values ofSUCCESS,FAILED,IN_PROGRESS, orSKIPPED.GroupingStatusesItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()A timestamp of when the status 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
-
resourceArn
public final String resourceArn()
The Amazon resource name (ARN) of a resource.
- Returns:
- The Amazon resource name (ARN) of a resource.
-
action
public final GroupingType action()
Describes the resource grouping action with values of
GROUPorUNGROUP.If the service returns an enum value that is not available in the current SDK version,
actionwill returnGroupingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Describes the resource grouping action with values of
GROUPorUNGROUP. - See Also:
GroupingType
-
actionAsString
public final String actionAsString()
Describes the resource grouping action with values of
GROUPorUNGROUP.If the service returns an enum value that is not available in the current SDK version,
actionwill returnGroupingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Describes the resource grouping action with values of
GROUPorUNGROUP. - See Also:
GroupingType
-
status
public final GroupingStatus status()
Describes the resource grouping status with values of
SUCCESS,FAILED,IN_PROGRESS, orSKIPPED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnGroupingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes the resource grouping status with values of
SUCCESS,FAILED,IN_PROGRESS, orSKIPPED. - See Also:
GroupingStatus
-
statusAsString
public final String statusAsString()
Describes the resource grouping status with values of
SUCCESS,FAILED,IN_PROGRESS, orSKIPPED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnGroupingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes the resource grouping status with values of
SUCCESS,FAILED,IN_PROGRESS, orSKIPPED. - See Also:
GroupingStatus
-
errorMessage
public final String errorMessage()
A message that explains the
ErrorCode.- Returns:
- A message that explains the
ErrorCode.
-
errorCode
public final String errorCode()
Specifies the error code that was raised.
- Returns:
- Specifies the error code that was raised.
-
updatedAt
public final Instant updatedAt()
A timestamp of when the status was last updated.
- Returns:
- A timestamp of when the status was last updated.
-
toBuilder
public GroupingStatusesItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GroupingStatusesItem.Builder,GroupingStatusesItem>
-
builder
public static GroupingStatusesItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends GroupingStatusesItem.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
-
-