@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartResourceStateUpdateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartResourceStateUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
StartResourceStateUpdateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
ResourceStateUpdateExclusionRules |
getExclusionRules()
Skip action on the image resource and associated resources if specified exclusion rules are met.
|
String |
getExecutionRole()
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
|
ResourceStateUpdateIncludeResources |
getIncludeResources()
A list of image resources to update state for.
|
String |
getResourceArn()
The ARN of the Image Builder resource that is updated.
|
ResourceState |
getState()
Indicates the lifecycle action to take for this request.
|
Date |
getUpdateAt()
The timestamp that indicates when resources are updated by a lifecycle action.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
void |
setExclusionRules(ResourceStateUpdateExclusionRules exclusionRules)
Skip action on the image resource and associated resources if specified exclusion rules are met.
|
void |
setExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
|
void |
setIncludeResources(ResourceStateUpdateIncludeResources includeResources)
A list of image resources to update state for.
|
void |
setResourceArn(String resourceArn)
The ARN of the Image Builder resource that is updated.
|
void |
setState(ResourceState state)
Indicates the lifecycle action to take for this request.
|
void |
setUpdateAt(Date updateAt)
The timestamp that indicates when resources are updated by a lifecycle action.
|
String |
toString()
Returns a string representation of this object.
|
StartResourceStateUpdateRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
StartResourceStateUpdateRequest |
withExclusionRules(ResourceStateUpdateExclusionRules exclusionRules)
Skip action on the image resource and associated resources if specified exclusion rules are met.
|
StartResourceStateUpdateRequest |
withExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
|
StartResourceStateUpdateRequest |
withIncludeResources(ResourceStateUpdateIncludeResources includeResources)
A list of image resources to update state for.
|
StartResourceStateUpdateRequest |
withResourceArn(String resourceArn)
The ARN of the Image Builder resource that is updated.
|
StartResourceStateUpdateRequest |
withState(ResourceState state)
Indicates the lifecycle action to take for this request.
|
StartResourceStateUpdateRequest |
withUpdateAt(Date updateAt)
The timestamp that indicates when resources are updated by a lifecycle action.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceArn(String resourceArn)
The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
resourceArn
- The ARN of the Image Builder resource that is updated. The state update might also impact associated
resources.public String getResourceArn()
The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
public StartResourceStateUpdateRequest withResourceArn(String resourceArn)
The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
resourceArn
- The ARN of the Image Builder resource that is updated. The state update might also impact associated
resources.public void setState(ResourceState state)
Indicates the lifecycle action to take for this request.
state
- Indicates the lifecycle action to take for this request.public ResourceState getState()
Indicates the lifecycle action to take for this request.
public StartResourceStateUpdateRequest withState(ResourceState state)
Indicates the lifecycle action to take for this request.
state
- Indicates the lifecycle action to take for this request.public void setExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
executionRole
- The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.public String getExecutionRole()
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
public StartResourceStateUpdateRequest withExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
executionRole
- The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.public void setIncludeResources(ResourceStateUpdateIncludeResources includeResources)
A list of image resources to update state for.
includeResources
- A list of image resources to update state for.public ResourceStateUpdateIncludeResources getIncludeResources()
A list of image resources to update state for.
public StartResourceStateUpdateRequest withIncludeResources(ResourceStateUpdateIncludeResources includeResources)
A list of image resources to update state for.
includeResources
- A list of image resources to update state for.public void setExclusionRules(ResourceStateUpdateExclusionRules exclusionRules)
Skip action on the image resource and associated resources if specified exclusion rules are met.
exclusionRules
- Skip action on the image resource and associated resources if specified exclusion rules are met.public ResourceStateUpdateExclusionRules getExclusionRules()
Skip action on the image resource and associated resources if specified exclusion rules are met.
public StartResourceStateUpdateRequest withExclusionRules(ResourceStateUpdateExclusionRules exclusionRules)
Skip action on the image resource and associated resources if specified exclusion rules are met.
exclusionRules
- Skip action on the image resource and associated resources if specified exclusion rules are met.public void setUpdateAt(Date updateAt)
The timestamp that indicates when resources are updated by a lifecycle action.
updateAt
- The timestamp that indicates when resources are updated by a lifecycle action.public Date getUpdateAt()
The timestamp that indicates when resources are updated by a lifecycle action.
public StartResourceStateUpdateRequest withUpdateAt(Date updateAt)
The timestamp that indicates when resources are updated by a lifecycle action.
updateAt
- The timestamp that indicates when resources are updated by a lifecycle action.public void setClientToken(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.
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.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
public StartResourceStateUpdateRequest withClientToken(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.
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.public String toString()
toString
in class Object
Object.toString()
public StartResourceStateUpdateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()