@Generated(value="software.amazon.awssdk:codegen") public final class StackInstanceSummary extends Object implements ToCopyableBuilder<StackInstanceSummary.Builder,StackInstanceSummary>
The structure that contains summary information about a stack instance.
Modifier and Type | Class and Description |
---|---|
static interface |
StackInstanceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
account()
The name of the AWS account that the stack instance is associated with.
|
static StackInstanceSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
region()
The name of the AWS region that the stack instance is associated with.
|
static Class<? extends StackInstanceSummary.Builder> |
serializableBuilderClass() |
String |
stackId()
The ID of the stack instance.
|
String |
stackSetId()
The name or unique ID of the stack set that the stack instance is associated with.
|
StackInstanceStatus |
status()
The status of the stack instance, in terms of its synchronization with its associated stack set.
|
String |
statusAsString()
The status of the stack instance, in terms of its synchronization with its associated stack set.
|
String |
statusReason()
The explanation for the specific status code assigned to this stack instance.
|
StackInstanceSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String stackSetId()
The name or unique ID of the stack set that the stack instance is associated with.
public String region()
The name of the AWS region that the stack instance is associated with.
public String account()
The name of the AWS account that the stack instance is associated with.
public String stackId()
The ID of the stack instance.
public StackInstanceStatus status()
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE
: A DeleteStackInstances
operation has failed and left the stack in an
unstable state. Stacks in this state are excluded from further UpdateStackSet
operations. You might
need to perform a DeleteStackInstances
operation, with RetainStacks
set to
true
, to delete the stack instance, and then delete the stack manually.
OUTDATED
: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet
or UpdateStackSet
operation.
The stack was part of a CreateStackSet
or UpdateStackSet
operation that failed or was
stopped before the stack was created or updated.
CURRENT
: The stack is currently up to date with the stack set.
If the service returns an enum value that is not available in the current SDK version, status
will
return StackInstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
INOPERABLE
: A DeleteStackInstances
operation has failed and left the stack in
an unstable state. Stacks in this state are excluded from further UpdateStackSet
operations.
You might need to perform a DeleteStackInstances
operation, with RetainStacks
set to true
, to delete the stack instance, and then delete the stack manually.
OUTDATED
: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet
or UpdateStackSet
operation.
The stack was part of a CreateStackSet
or UpdateStackSet
operation that failed
or was stopped before the stack was created or updated.
CURRENT
: The stack is currently up to date with the stack set.
StackInstanceStatus
public String statusAsString()
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE
: A DeleteStackInstances
operation has failed and left the stack in an
unstable state. Stacks in this state are excluded from further UpdateStackSet
operations. You might
need to perform a DeleteStackInstances
operation, with RetainStacks
set to
true
, to delete the stack instance, and then delete the stack manually.
OUTDATED
: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet
or UpdateStackSet
operation.
The stack was part of a CreateStackSet
or UpdateStackSet
operation that failed or was
stopped before the stack was created or updated.
CURRENT
: The stack is currently up to date with the stack set.
If the service returns an enum value that is not available in the current SDK version, status
will
return StackInstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
INOPERABLE
: A DeleteStackInstances
operation has failed and left the stack in
an unstable state. Stacks in this state are excluded from further UpdateStackSet
operations.
You might need to perform a DeleteStackInstances
operation, with RetainStacks
set to true
, to delete the stack instance, and then delete the stack manually.
OUTDATED
: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet
or UpdateStackSet
operation.
The stack was part of a CreateStackSet
or UpdateStackSet
operation that failed
or was stopped before the stack was created or updated.
CURRENT
: The stack is currently up to date with the stack set.
StackInstanceStatus
public String statusReason()
The explanation for the specific status code assigned to this stack instance.
public StackInstanceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StackInstanceSummary.Builder,StackInstanceSummary>
public static StackInstanceSummary.Builder builder()
public static Class<? extends StackInstanceSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.