Class StartResourceStateUpdateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.imagebuilder.model.ImagebuilderRequest
-
- software.amazon.awssdk.services.imagebuilder.model.StartResourceStateUpdateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartResourceStateUpdateRequest.Builder,StartResourceStateUpdateRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartResourceStateUpdateRequest extends ImagebuilderRequest implements ToCopyableBuilder<StartResourceStateUpdateRequest.Builder,StartResourceStateUpdateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartResourceStateUpdateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartResourceStateUpdateRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier you provide to ensure idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ResourceStateUpdateExclusionRulesexclusionRules()Skip action on the image resource and associated resources if specified exclusion rules are met.StringexecutionRole()The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceStateUpdateIncludeResourcesincludeResources()A list of image resources to update state for.StringresourceArn()The ARN of the Image Builder resource that is updated.List<SdkField<?>>sdkFields()static Class<? extends StartResourceStateUpdateRequest.Builder>serializableBuilderClass()ResourceStatestate()Indicates the lifecycle action to take for this request.StartResourceStateUpdateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateAt()The timestamp that indicates when resources are updated by a lifecycle action.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 Image Builder resource that is updated. The state update might also impact associated resources.
- Returns:
- The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
-
state
public final ResourceState state()
Indicates the lifecycle action to take for this request.
- Returns:
- Indicates the lifecycle action to take for this request.
-
executionRole
public final String executionRole()
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
- Returns:
- The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
-
includeResources
public final ResourceStateUpdateIncludeResources includeResources()
A list of image resources to update state for.
- Returns:
- A list of image resources to update state for.
-
exclusionRules
public final ResourceStateUpdateExclusionRules exclusionRules()
Skip action on the image resource and associated resources if specified exclusion rules are met.
- Returns:
- Skip action on the image resource and associated resources if specified exclusion rules are met.
-
updateAt
public final Instant updateAt()
The timestamp that indicates when resources are updated by a lifecycle action.
- Returns:
- The timestamp that indicates when resources are updated by a lifecycle action.
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
- Returns:
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
-
toBuilder
public StartResourceStateUpdateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartResourceStateUpdateRequest.Builder,StartResourceStateUpdateRequest>- Specified by:
toBuilderin classImagebuilderRequest
-
builder
public static StartResourceStateUpdateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartResourceStateUpdateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-