@Generated(value="software.amazon.awssdk:codegen") public final class StackEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackEvent.Builder,StackEvent>
The StackEvent data type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StackEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StackEvent.Builder |
builder() |
String |
clientRequestToken()
The token passed to the operation that generated this event.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventId()
The unique ID of this event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HookFailureMode |
hookFailureMode()
Specify the hook failure mode for non-compliant resources in the followings ways.
|
String |
hookFailureModeAsString()
Specify the hook failure mode for non-compliant resources in the followings ways.
|
HookInvocationPoint |
hookInvocationPoint()
Invocation points are points in provisioning logic where hooks are initiated.
|
String |
hookInvocationPointAsString()
Invocation points are points in provisioning logic where hooks are initiated.
|
HookStatus |
hookStatus()
Provides the status of the change set hook.
|
String |
hookStatusAsString()
Provides the status of the change set hook.
|
String |
hookStatusReason()
Provides the reason for the hook status.
|
String |
hookType()
The name of the hook.
|
String |
logicalResourceId()
The logical name of the resource specified in the template.
|
String |
physicalResourceId()
The name or unique identifier associated with the physical instance of the resource.
|
String |
resourceProperties()
BLOB of the properties used to create the resource.
|
ResourceStatus |
resourceStatus()
Current status of the resource.
|
String |
resourceStatusAsString()
Current status of the resource.
|
String |
resourceStatusReason()
Success/failure message associated with the resource.
|
String |
resourceType()
Type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackEvent.Builder> |
serializableBuilderClass() |
String |
stackId()
The unique ID name of the instance of the stack.
|
String |
stackName()
The name associated with a stack.
|
Instant |
timestamp()
Time the status was updated.
|
StackEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stackId()
The unique ID name of the instance of the stack.
public final String eventId()
The unique ID of this event.
public final String stackName()
The name associated with a stack.
public final String logicalResourceId()
The logical name of the resource specified in the template.
public final String physicalResourceId()
The name or unique identifier associated with the physical instance of the resource.
public final String resourceType()
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
public final Instant timestamp()
Time the status was updated.
public final ResourceStatus resourceStatus()
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version, resourceStatus
will return ResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceStatusAsString().
ResourceStatuspublic final String resourceStatusAsString()
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version, resourceStatus
will return ResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceStatusAsString().
ResourceStatuspublic final String resourceStatusReason()
Success/failure message associated with the resource.
public final String resourceProperties()
BLOB of the properties used to create the resource.
public final String clientRequestToken()
The token passed to the operation that generated this event.
All events triggered by a given stack operation are assigned the same client request token, which you can use to
track operations. For example, if you execute a CreateStack operation with the token
token1, then all the StackEvents generated by that operation will have
ClientRequestToken set as token1.
In the console, stack operations display the client request token on the Events tab. Stack operations that are
initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify
the stack operation . For example, if you create a stack using the console, each stack event would be assigned
the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
All events triggered by a given stack operation are assigned the same client request token, which you can
use to track operations. For example, if you execute a CreateStack operation with the token
token1, then all the StackEvents generated by that operation will have
ClientRequestToken set as token1.
In the console, stack operations display the client request token on the Events tab. Stack operations
that are initiated from the console use the token format Console-StackOperation-ID, which helps
you easily identify the stack operation . For example, if you create a stack using the console, each
stack event would be assigned the same token in the following format:
Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
public final String hookType()
The name of the hook.
public final HookStatus hookStatus()
Provides the status of the change set hook.
If the service returns an enum value that is not available in the current SDK version, hookStatus will
return HookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hookStatusAsString().
HookStatuspublic final String hookStatusAsString()
Provides the status of the change set hook.
If the service returns an enum value that is not available in the current SDK version, hookStatus will
return HookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hookStatusAsString().
HookStatuspublic final String hookStatusReason()
Provides the reason for the hook status.
public final HookInvocationPoint hookInvocationPoint()
Invocation points are points in provisioning logic where hooks are initiated.
If the service returns an enum value that is not available in the current SDK version,
hookInvocationPoint will return HookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from hookInvocationPointAsString().
HookInvocationPointpublic final String hookInvocationPointAsString()
Invocation points are points in provisioning logic where hooks are initiated.
If the service returns an enum value that is not available in the current SDK version,
hookInvocationPoint will return HookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from hookInvocationPointAsString().
HookInvocationPointpublic final HookFailureMode hookFailureMode()
Specify the hook failure mode for non-compliant resources in the followings ways.
FAIL Stops provisioning resources.
WARN Allows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version, hookFailureMode
will return HookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hookFailureModeAsString().
FAIL Stops provisioning resources.
WARN Allows provisioning to continue with a warning message.
HookFailureModepublic final String hookFailureModeAsString()
Specify the hook failure mode for non-compliant resources in the followings ways.
FAIL Stops provisioning resources.
WARN Allows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version, hookFailureMode
will return HookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hookFailureModeAsString().
FAIL Stops provisioning resources.
WARN Allows provisioning to continue with a warning message.
HookFailureModepublic StackEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StackEvent.Builder,StackEvent>public static StackEvent.Builder builder()
public static Class<? extends StackEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.