Class LifecycleExecutionResourceAction
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.LifecycleExecutionResourceAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LifecycleExecutionResourceAction.Builder,LifecycleExecutionResourceAction>
@Generated("software.amazon.awssdk:codegen") public final class LifecycleExecutionResourceAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecycleExecutionResourceAction.Builder,LifecycleExecutionResourceAction>
The lifecycle policy action that was identified for the impacted resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLifecycleExecutionResourceAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LifecycleExecutionResourceAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LifecycleExecutionResourceActionNamename()The name of the resource that was identified for a lifecycle policy action.StringnameAsString()The name of the resource that was identified for a lifecycle policy action.Stringreason()The reason why the lifecycle policy action is taken.List<SdkField<?>>sdkFields()static Class<? extends LifecycleExecutionResourceAction.Builder>serializableBuilderClass()LifecycleExecutionResourceAction.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
-
name
public final LifecycleExecutionResourceActionName name()
The name of the resource that was identified for a lifecycle policy action.
If the service returns an enum value that is not available in the current SDK version,
namewill returnLifecycleExecutionResourceActionName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the resource that was identified for a lifecycle policy action.
- See Also:
LifecycleExecutionResourceActionName
-
nameAsString
public final String nameAsString()
The name of the resource that was identified for a lifecycle policy action.
If the service returns an enum value that is not available in the current SDK version,
namewill returnLifecycleExecutionResourceActionName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the resource that was identified for a lifecycle policy action.
- See Also:
LifecycleExecutionResourceActionName
-
reason
public final String reason()
The reason why the lifecycle policy action is taken.
- Returns:
- The reason why the lifecycle policy action is taken.
-
toBuilder
public LifecycleExecutionResourceAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LifecycleExecutionResourceAction.Builder,LifecycleExecutionResourceAction>
-
builder
public static LifecycleExecutionResourceAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends LifecycleExecutionResourceAction.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.
-
-