Class StackEvent
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.StackEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StackEvent.Builder,StackEvent>
@Generated("software.amazon.awssdk:codegen") public final class StackEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackEvent.Builder,StackEvent>
The StackEvent data type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStackEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackEvent.Builderbuilder()StringclientRequestToken()The token passed to the operation that generated this event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventId()The unique ID of this event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HookFailureModehookFailureMode()Specify the hook failure mode for non-compliant resources in the followings ways.StringhookFailureModeAsString()Specify the hook failure mode for non-compliant resources in the followings ways.HookInvocationPointhookInvocationPoint()Invocation points are points in provisioning logic where hooks are initiated.StringhookInvocationPointAsString()Invocation points are points in provisioning logic where hooks are initiated.HookStatushookStatus()Provides the status of the change set hook.StringhookStatusAsString()Provides the status of the change set hook.StringhookStatusReason()Provides the reason for the hook status.StringhookType()The name of the hook.StringlogicalResourceId()The logical name of the resource specified in the template.StringphysicalResourceId()The name or unique identifier associated with the physical instance of the resource.StringresourceProperties()BLOB of the properties used to create the resource.ResourceStatusresourceStatus()Current status of the resource.StringresourceStatusAsString()Current status of the resource.StringresourceStatusReason()Success/failure message associated with the resource.StringresourceType()Type of resource.List<SdkField<?>>sdkFields()static Class<? extends StackEvent.Builder>serializableBuilderClass()StringstackId()The unique ID name of the instance of the stack.StringstackName()The name associated with a stack.Instanttimestamp()Time the status was updated.StackEvent.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
-
stackId
public final String stackId()
The unique ID name of the instance of the stack.
- Returns:
- The unique ID name of the instance of the stack.
-
eventId
public final String eventId()
The unique ID of this event.
- Returns:
- The unique ID of this event.
-
stackName
public final String stackName()
The name associated with a stack.
- Returns:
- The name associated with a stack.
-
logicalResourceId
public final String logicalResourceId()
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
physicalResourceId
public final String physicalResourceId()
The name or unique identifier associated with the physical instance of the resource.
- Returns:
- The name or unique identifier associated with the physical instance of the resource.
-
resourceType
public final String resourceType()
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
- Returns:
- Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
-
timestamp
public final Instant timestamp()
Time the status was updated.
- Returns:
- Time the status was updated.
-
resourceStatus
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,
resourceStatuswill returnResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceStatusAsString().- Returns:
- Current status of the resource.
- See Also:
ResourceStatus
-
resourceStatusAsString
public final String resourceStatusAsString()
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceStatuswill returnResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceStatusAsString().- Returns:
- Current status of the resource.
- See Also:
ResourceStatus
-
resourceStatusReason
public final String resourceStatusReason()
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
resourceProperties
public final String resourceProperties()
BLOB of the properties used to create the resource.
- Returns:
- BLOB of the properties used to create the resource.
-
clientRequestToken
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
CreateStackoperation with the tokentoken1, then all theStackEventsgenerated by that operation will haveClientRequestTokenset astoken1.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.- Returns:
- 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
CreateStackoperation with the tokentoken1, then all theStackEventsgenerated by that operation will haveClientRequestTokenset astoken1.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.
-
hookType
public final String hookType()
The name of the hook.
- Returns:
- The name of the hook.
-
hookStatus
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,
hookStatuswill returnHookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookStatusAsString().- Returns:
- Provides the status of the change set hook.
- See Also:
HookStatus
-
hookStatusAsString
public 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,
hookStatuswill returnHookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookStatusAsString().- Returns:
- Provides the status of the change set hook.
- See Also:
HookStatus
-
hookStatusReason
public final String hookStatusReason()
Provides the reason for the hook status.
- Returns:
- Provides the reason for the hook status.
-
hookInvocationPoint
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,
hookInvocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookInvocationPointAsString().- Returns:
- Invocation points are points in provisioning logic where hooks are initiated.
- See Also:
HookInvocationPoint
-
hookInvocationPointAsString
public 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,
hookInvocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookInvocationPointAsString().- Returns:
- Invocation points are points in provisioning logic where hooks are initiated.
- See Also:
HookInvocationPoint
-
hookFailureMode
public final HookFailureMode hookFailureMode()
Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version,
hookFailureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookFailureModeAsString().- Returns:
- Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
-
- See Also:
HookFailureMode
-
-
hookFailureModeAsString
public final String hookFailureModeAsString()
Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version,
hookFailureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhookFailureModeAsString().- Returns:
- Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
-
- See Also:
HookFailureMode
-
-
toBuilder
public StackEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StackEvent.Builder,StackEvent>
-
builder
public static StackEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends StackEvent.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.
-
-