Class ResourceDrift
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.ResourceDrift
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceDrift.Builder,ResourceDrift>
@Generated("software.amazon.awssdk:codegen") public final class ResourceDrift extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceDrift.Builder,ResourceDrift>
Indicates the resources that have drifted in the current application version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceDrift.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappArn()Amazon Resource Name (ARN) of the application whose resources have drifted.StringappVersion()Version of the application whose resources have drifted.static ResourceDrift.Builderbuilder()DifferenceTypediffType()Indicates if the resource was added or removed.StringdiffTypeAsString()Indicates if the resource was added or removed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreferenceId()Reference identifier of the resource drift.ResourceIdentifierresourceIdentifier()Identifier of the drifted resource.List<SdkField<?>>sdkFields()static Class<? extends ResourceDrift.Builder>serializableBuilderClass()ResourceDrift.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
-
appArn
public final String appArn()
Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:
partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is:
arn:
partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
-
appVersion
public final String appVersion()
Version of the application whose resources have drifted.
- Returns:
- Version of the application whose resources have drifted.
-
diffType
public final DifferenceType diffType()
Indicates if the resource was added or removed.
If the service returns an enum value that is not available in the current SDK version,
diffTypewill returnDifferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiffTypeAsString().- Returns:
- Indicates if the resource was added or removed.
- See Also:
DifferenceType
-
diffTypeAsString
public final String diffTypeAsString()
Indicates if the resource was added or removed.
If the service returns an enum value that is not available in the current SDK version,
diffTypewill returnDifferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiffTypeAsString().- Returns:
- Indicates if the resource was added or removed.
- See Also:
DifferenceType
-
referenceId
public final String referenceId()
Reference identifier of the resource drift.
- Returns:
- Reference identifier of the resource drift.
-
resourceIdentifier
public final ResourceIdentifier resourceIdentifier()
Identifier of the drifted resource.
- Returns:
- Identifier of the drifted resource.
-
toBuilder
public ResourceDrift.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceDrift.Builder,ResourceDrift>
-
builder
public static ResourceDrift.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceDrift.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.
-
-