@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFormationStackRecordSourceInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes the source of a CloudFormation stack record (i.e., the export snapshot record).
| Constructor and Description |
|---|
CloudFormationStackRecordSourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
CloudFormationStackRecordSourceInfo |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the export snapshot record.
|
String |
getName()
The name of the record.
|
String |
getResourceType()
The Lightsail resource type (
ExportSnapshotRecord). |
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 export snapshot record.
|
void |
setName(String name)
The name of the record.
|
void |
setResourceType(String resourceType)
The Lightsail resource type (
ExportSnapshotRecord). |
String |
toString()
Returns a string representation of this object.
|
CloudFormationStackRecordSourceInfo |
withArn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
|
CloudFormationStackRecordSourceInfo |
withName(String name)
The name of the record.
|
CloudFormationStackRecordSourceInfo |
withResourceType(CloudFormationStackRecordSourceType resourceType)
The Lightsail resource type (
ExportSnapshotRecord). |
CloudFormationStackRecordSourceInfo |
withResourceType(String resourceType)
The Lightsail resource type (
ExportSnapshotRecord). |
public void setResourceType(String resourceType)
The Lightsail resource type (ExportSnapshotRecord).
resourceType - The Lightsail resource type (ExportSnapshotRecord).CloudFormationStackRecordSourceTypepublic String getResourceType()
The Lightsail resource type (ExportSnapshotRecord).
ExportSnapshotRecord).CloudFormationStackRecordSourceTypepublic CloudFormationStackRecordSourceInfo withResourceType(String resourceType)
The Lightsail resource type (ExportSnapshotRecord).
resourceType - The Lightsail resource type (ExportSnapshotRecord).CloudFormationStackRecordSourceTypepublic CloudFormationStackRecordSourceInfo withResourceType(CloudFormationStackRecordSourceType resourceType)
The Lightsail resource type (ExportSnapshotRecord).
resourceType - The Lightsail resource type (ExportSnapshotRecord).CloudFormationStackRecordSourceTypepublic void setName(String name)
The name of the record.
name - The name of the record.public String getName()
The name of the record.
public CloudFormationStackRecordSourceInfo withName(String name)
The name of the record.
name - The name of the record.public void setArn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
arn - The Amazon Resource Name (ARN) of the export snapshot record.public String getArn()
The Amazon Resource Name (ARN) of the export snapshot record.
public CloudFormationStackRecordSourceInfo withArn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
arn - The Amazon Resource Name (ARN) of the export snapshot record.public String toString()
toString in class ObjectObject.toString()public CloudFormationStackRecordSourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.