Class FailedItem
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.FailedItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FailedItem.Builder,FailedItem>
@Generated("software.amazon.awssdk:codegen") public final class FailedItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedItem.Builder,FailedItem>
Details of a resource that failed when trying to update it's association to a resource set.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailedItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FailedItemReasonreason()The reason the resource's association could not be updated.StringreasonAsString()The reason the resource's association could not be updated.List<SdkField<?>>sdkFields()static Class<? extends FailedItem.Builder>serializableBuilderClass()FailedItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringuri()The univeral resource indicator (URI) of the resource that failed.-
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
-
uri
public final String uri()
The univeral resource indicator (URI) of the resource that failed.
- Returns:
- The univeral resource indicator (URI) of the resource that failed.
-
reason
public final FailedItemReason reason()
The reason the resource's association could not be updated.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnFailedItemReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason the resource's association could not be updated.
- See Also:
FailedItemReason
-
reasonAsString
public final String reasonAsString()
The reason the resource's association could not be updated.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnFailedItemReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason the resource's association could not be updated.
- See Also:
FailedItemReason
-
toBuilder
public FailedItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailedItem.Builder,FailedItem>
-
builder
public static FailedItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailedItem.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.
-
-