@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFormationStackRecord extends Object implements Serializable, Cloneable, StructuredPojo
Describes a CloudFormation stack record created as a result of the create cloud formation stack
operation.
A CloudFormation stack record provides information about the AWS CloudFormation stack used to create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.
Constructor and Description |
---|
CloudFormationStackRecord() |
Modifier and Type | Method and Description |
---|---|
CloudFormationStackRecord |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the CloudFormation stack record.
|
Date |
getCreatedAt()
The date when the CloudFormation stack record was created.
|
DestinationInfo |
getDestinationInfo()
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name
(ARN) of the AWS CloudFormation stack.
|
ResourceLocation |
getLocation()
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
|
String |
getName()
The name of the CloudFormation stack record.
|
String |
getResourceType()
The Lightsail resource type (e.g.,
CloudFormationStackRecord ). |
List<CloudFormationStackRecordSourceInfo> |
getSourceInfo()
A list of objects describing the source of the CloudFormation stack record.
|
String |
getState()
The current state of the CloudFormation stack record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the CloudFormation stack record.
|
void |
setCreatedAt(Date createdAt)
The date when the CloudFormation stack record was created.
|
void |
setDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name
(ARN) of the AWS CloudFormation stack.
|
void |
setLocation(ResourceLocation location)
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
|
void |
setName(String name)
The name of the CloudFormation stack record.
|
void |
setResourceType(String resourceType)
The Lightsail resource type (e.g.,
CloudFormationStackRecord ). |
void |
setSourceInfo(Collection<CloudFormationStackRecordSourceInfo> sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
|
void |
setState(String state)
The current state of the CloudFormation stack record.
|
String |
toString()
Returns a string representation of this object.
|
CloudFormationStackRecord |
withArn(String arn)
The Amazon Resource Name (ARN) of the CloudFormation stack record.
|
CloudFormationStackRecord |
withCreatedAt(Date createdAt)
The date when the CloudFormation stack record was created.
|
CloudFormationStackRecord |
withDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name
(ARN) of the AWS CloudFormation stack.
|
CloudFormationStackRecord |
withLocation(ResourceLocation location)
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
|
CloudFormationStackRecord |
withName(String name)
The name of the CloudFormation stack record.
|
CloudFormationStackRecord |
withResourceType(ResourceType resourceType)
The Lightsail resource type (e.g.,
CloudFormationStackRecord ). |
CloudFormationStackRecord |
withResourceType(String resourceType)
The Lightsail resource type (e.g.,
CloudFormationStackRecord ). |
CloudFormationStackRecord |
withSourceInfo(CloudFormationStackRecordSourceInfo... sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
|
CloudFormationStackRecord |
withSourceInfo(Collection<CloudFormationStackRecordSourceInfo> sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
|
CloudFormationStackRecord |
withState(RecordState state)
The current state of the CloudFormation stack record.
|
CloudFormationStackRecord |
withState(String state)
The current state of the CloudFormation stack record.
|
public void setName(String name)
The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
followed by a
GUID.
name
- The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
followed by a GUID.public String getName()
The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
followed by a
GUID.
CloudFormationStackRecord
followed by a GUID.public CloudFormationStackRecord withName(String name)
The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
followed by a
GUID.
name
- The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
followed by a GUID.public void setArn(String arn)
The Amazon Resource Name (ARN) of the CloudFormation stack record.
arn
- The Amazon Resource Name (ARN) of the CloudFormation stack record.public String getArn()
The Amazon Resource Name (ARN) of the CloudFormation stack record.
public CloudFormationStackRecord withArn(String arn)
The Amazon Resource Name (ARN) of the CloudFormation stack record.
arn
- The Amazon Resource Name (ARN) of the CloudFormation stack record.public void setCreatedAt(Date createdAt)
The date when the CloudFormation stack record was created.
createdAt
- The date when the CloudFormation stack record was created.public Date getCreatedAt()
The date when the CloudFormation stack record was created.
public CloudFormationStackRecord withCreatedAt(Date createdAt)
The date when the CloudFormation stack record was created.
createdAt
- The date when the CloudFormation stack record was created.public void setLocation(ResourceLocation location)
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
location
- A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.public ResourceLocation getLocation()
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
public CloudFormationStackRecord withLocation(ResourceLocation location)
A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.
location
- A list of objects describing the Availability Zone and AWS Region of the CloudFormation stack record.public void setResourceType(String resourceType)
The Lightsail resource type (e.g., CloudFormationStackRecord
).
resourceType
- The Lightsail resource type (e.g., CloudFormationStackRecord
).ResourceType
public String getResourceType()
The Lightsail resource type (e.g., CloudFormationStackRecord
).
CloudFormationStackRecord
).ResourceType
public CloudFormationStackRecord withResourceType(String resourceType)
The Lightsail resource type (e.g., CloudFormationStackRecord
).
resourceType
- The Lightsail resource type (e.g., CloudFormationStackRecord
).ResourceType
public CloudFormationStackRecord withResourceType(ResourceType resourceType)
The Lightsail resource type (e.g., CloudFormationStackRecord
).
resourceType
- The Lightsail resource type (e.g., CloudFormationStackRecord
).ResourceType
public void setState(String state)
The current state of the CloudFormation stack record.
state
- The current state of the CloudFormation stack record.RecordState
public String getState()
The current state of the CloudFormation stack record.
RecordState
public CloudFormationStackRecord withState(String state)
The current state of the CloudFormation stack record.
state
- The current state of the CloudFormation stack record.RecordState
public CloudFormationStackRecord withState(RecordState state)
The current state of the CloudFormation stack record.
state
- The current state of the CloudFormation stack record.RecordState
public List<CloudFormationStackRecordSourceInfo> getSourceInfo()
A list of objects describing the source of the CloudFormation stack record.
public void setSourceInfo(Collection<CloudFormationStackRecordSourceInfo> sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
sourceInfo
- A list of objects describing the source of the CloudFormation stack record.public CloudFormationStackRecord withSourceInfo(CloudFormationStackRecordSourceInfo... sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
NOTE: This method appends the values to the existing list (if any). Use
setSourceInfo(java.util.Collection)
or withSourceInfo(java.util.Collection)
if you want to
override the existing values.
sourceInfo
- A list of objects describing the source of the CloudFormation stack record.public CloudFormationStackRecord withSourceInfo(Collection<CloudFormationStackRecordSourceInfo> sourceInfo)
A list of objects describing the source of the CloudFormation stack record.
sourceInfo
- A list of objects describing the source of the CloudFormation stack record.public void setDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name (ARN) of the AWS CloudFormation stack.
destinationInfo
- A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource
Name (ARN) of the AWS CloudFormation stack.public DestinationInfo getDestinationInfo()
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name (ARN) of the AWS CloudFormation stack.
public CloudFormationStackRecord withDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name (ARN) of the AWS CloudFormation stack.
destinationInfo
- A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource
Name (ARN) of the AWS CloudFormation stack.public String toString()
toString
in class Object
Object.toString()
public CloudFormationStackRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.