Class ResourceReference
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.model.ResourceReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceReference.Builder,ResourceReference>
@Generated("software.amazon.awssdk:codegen") public final class ResourceReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceReference.Builder,ResourceReference>
Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of the
ResourceInUseExceptionexception.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceReference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the resource that is using the resource that you are trying to delete.List<SdkField<?>>sdkFields()static Class<? extends ResourceReference.Builder>serializableBuilderClass()ResourceReference.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()The version of the resource that is using the resource that you are trying to delete.-
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
-
name
public final String name()
The name of the resource that is using the resource that you are trying to delete.
- Returns:
- The name of the resource that is using the resource that you are trying to delete.
-
version
public final String version()
The version of the resource that is using the resource that you are trying to delete.
- Returns:
- The version of the resource that is using the resource that you are trying to delete.
-
toBuilder
public ResourceReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceReference.Builder,ResourceReference>
-
builder
public static ResourceReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceReference.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.
-
-