Class FailedResource
- java.lang.Object
-
- software.amazon.awssdk.services.resourcegroups.model.FailedResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FailedResource.Builder,FailedResource>
@Generated("software.amazon.awssdk:codegen") public final class FailedResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedResource.Builder,FailedResource>
A resource that failed to be added to or removed from a group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailedResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedResource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code associated with the failure.StringerrorMessage()The error message text associated with the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()The ARN of the resource that failed to be added or removed.List<SdkField<?>>sdkFields()static Class<? extends FailedResource.Builder>serializableBuilderClass()FailedResource.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
-
resourceArn
public final String resourceArn()
The ARN of the resource that failed to be added or removed.
- Returns:
- The ARN of the resource that failed to be added or removed.
-
errorMessage
public final String errorMessage()
The error message text associated with the failure.
- Returns:
- The error message text associated with the failure.
-
errorCode
public final String errorCode()
The error code associated with the failure.
- Returns:
- The error code associated with the failure.
-
toBuilder
public FailedResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailedResource.Builder,FailedResource>
-
builder
public static FailedResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailedResource.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.
-
-