Interface StackEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StackEvent.Builder,StackEvent>,SdkBuilder<StackEvent.Builder,StackEvent>,SdkPojo
- Enclosing class:
- StackEvent
@Mutable @NotThreadSafe public static interface StackEvent.Builder extends SdkPojo, CopyableBuilder<StackEvent.Builder,StackEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackEvent.BuilderclientRequestToken(String clientRequestToken)The token passed to the operation that generated this event.StackEvent.BuilderdetailedStatus(String detailedStatus)An optional field that contains information about the detailed status of the stack event.StackEvent.BuilderdetailedStatus(DetailedStatus detailedStatus)An optional field that contains information about the detailed status of the stack event.StackEvent.BuildereventId(String eventId)The unique identifier of this event.StackEvent.BuilderhookFailureMode(String hookFailureMode)Specify the Hook failure mode for non-compliant resources in the followings ways.StackEvent.BuilderhookFailureMode(HookFailureMode hookFailureMode)Specify the Hook failure mode for non-compliant resources in the followings ways.StackEvent.BuilderhookInvocationId(String hookInvocationId)The unique identifier of the Hook invocation.StackEvent.BuilderhookInvocationPoint(String hookInvocationPoint)The specific point in the provisioning process where the Hook is invoked.StackEvent.BuilderhookInvocationPoint(HookInvocationPoint hookInvocationPoint)The specific point in the provisioning process where the Hook is invoked.StackEvent.BuilderhookStatus(String hookStatus)Provides the status of the change set Hook.StackEvent.BuilderhookStatus(HookStatus hookStatus)Provides the status of the change set Hook.StackEvent.BuilderhookStatusReason(String hookStatusReason)Provides the reason for the Hook status.StackEvent.BuilderhookType(String hookType)The name of the Hook.StackEvent.BuilderlogicalResourceId(String logicalResourceId)The logical name of the resource specified in the template.StackEvent.BuilderoperationId(String operationId)The unique identifier of the operation that generated this stack event.StackEvent.BuilderphysicalResourceId(String physicalResourceId)The name or unique identifier associated with the physical instance of the resource.StackEvent.BuilderresourceProperties(String resourceProperties)BLOB of the properties used to create the resource.StackEvent.BuilderresourceStatus(String resourceStatus)Current status of the resource.StackEvent.BuilderresourceStatus(ResourceStatus resourceStatus)Current status of the resource.StackEvent.BuilderresourceStatusReason(String resourceStatusReason)Success/failure message associated with the resource.StackEvent.BuilderresourceType(String resourceType)Type of resource.StackEvent.BuilderstackId(String stackId)The unique ID name of the instance of the stack.StackEvent.BuilderstackName(String stackName)The name associated with a stack.StackEvent.Buildertimestamp(Instant timestamp)Time the status was updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
stackId
StackEvent.Builder stackId(String stackId)
The unique ID name of the instance of the stack.
- Parameters:
stackId- The unique ID name of the instance of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
StackEvent.Builder eventId(String eventId)
The unique identifier of this event.
- Parameters:
eventId- The unique identifier of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
StackEvent.Builder stackName(String stackName)
The name associated with a stack.
- Parameters:
stackName- The name associated with a stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationId
StackEvent.Builder operationId(String operationId)
The unique identifier of the operation that generated this stack event.
- Parameters:
operationId- The unique identifier of the operation that generated this stack event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
StackEvent.Builder logicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId- The logical name of the resource specified in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
StackEvent.Builder physicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.
- Parameters:
physicalResourceId- The name or unique identifier associated with the physical instance of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
StackEvent.Builder resourceType(String resourceType)
Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
- Parameters:
resourceType- Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
StackEvent.Builder timestamp(Instant timestamp)
Time the status was updated.
- Parameters:
timestamp- Time the status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceStatus
StackEvent.Builder resourceStatus(String resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
resourceStatus
StackEvent.Builder resourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
resourceStatusReason
StackEvent.Builder resourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason- Success/failure message associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceProperties
StackEvent.Builder resourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.
- Parameters:
resourceProperties- BLOB of the properties used to create the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
StackEvent.Builder clientRequestToken(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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
hookType
StackEvent.Builder hookType(String hookType)
The name of the Hook.
- Parameters:
hookType- The name of the Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookStatus
StackEvent.Builder hookStatus(String hookStatus)
Provides the status of the change set Hook.
- Parameters:
hookStatus- Provides the status of the change set Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookStatus,HookStatus
-
hookStatus
StackEvent.Builder hookStatus(HookStatus hookStatus)
Provides the status of the change set Hook.
- Parameters:
hookStatus- Provides the status of the change set Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookStatus,HookStatus
-
hookStatusReason
StackEvent.Builder hookStatusReason(String hookStatusReason)
Provides the reason for the Hook status.
- Parameters:
hookStatusReason- Provides the reason for the Hook status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookInvocationPoint
StackEvent.Builder hookInvocationPoint(String hookInvocationPoint)
The specific point in the provisioning process where the Hook is invoked.
- Parameters:
hookInvocationPoint- The specific point in the provisioning process where the Hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookInvocationPoint,HookInvocationPoint
-
hookInvocationPoint
StackEvent.Builder hookInvocationPoint(HookInvocationPoint hookInvocationPoint)
The specific point in the provisioning process where the Hook is invoked.
- Parameters:
hookInvocationPoint- The specific point in the provisioning process where the Hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookInvocationPoint,HookInvocationPoint
-
hookInvocationId
StackEvent.Builder hookInvocationId(String hookInvocationId)
The unique identifier of the Hook invocation.
- Parameters:
hookInvocationId- The unique identifier of the Hook invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookFailureMode
StackEvent.Builder hookFailureMode(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookFailureMode,HookFailureMode
-
-
hookFailureMode
StackEvent.Builder hookFailureMode(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HookFailureMode,HookFailureMode
-
-
detailedStatus
StackEvent.Builder detailedStatus(String detailedStatus)
An optional field that contains information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE- all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.
-
VALIDATION_FAILED- template validation failed because of invalid properties in the template. TheResourceStatusReasonfield shows what properties are defined incorrectly.
- Parameters:
detailedStatus- An optional field that contains information about the detailed status of the stack event.-
CONFIGURATION_COMPLETE- all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.
-
VALIDATION_FAILED- template validation failed because of invalid properties in the template. TheResourceStatusReasonfield shows what properties are defined incorrectly.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DetailedStatus,DetailedStatus
-
-
detailedStatus
StackEvent.Builder detailedStatus(DetailedStatus detailedStatus)
An optional field that contains information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE- all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.
-
VALIDATION_FAILED- template validation failed because of invalid properties in the template. TheResourceStatusReasonfield shows what properties are defined incorrectly.
- Parameters:
detailedStatus- An optional field that contains information about the detailed status of the stack event.-
CONFIGURATION_COMPLETE- all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.
-
VALIDATION_FAILED- template validation failed because of invalid properties in the template. TheResourceStatusReasonfield shows what properties are defined incorrectly.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DetailedStatus,DetailedStatus
-
-
-