@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 (e.g.,
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 (e.g.,
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 (e.g.,
ExportSnapshotRecord ). |
CloudFormationStackRecordSourceInfo |
withResourceType(String resourceType)
The Lightsail resource type (e.g.,
ExportSnapshotRecord ). |
public void setResourceType(String resourceType)
The Lightsail resource type (e.g., ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (e.g., ExportSnapshotRecord
).CloudFormationStackRecordSourceType
public String getResourceType()
The Lightsail resource type (e.g., ExportSnapshotRecord
).
ExportSnapshotRecord
).CloudFormationStackRecordSourceType
public CloudFormationStackRecordSourceInfo withResourceType(String resourceType)
The Lightsail resource type (e.g., ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (e.g., ExportSnapshotRecord
).CloudFormationStackRecordSourceType
public CloudFormationStackRecordSourceInfo withResourceType(CloudFormationStackRecordSourceType resourceType)
The Lightsail resource type (e.g., ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (e.g., ExportSnapshotRecord
).CloudFormationStackRecordSourceType
public 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 Object
Object.toString()
public CloudFormationStackRecordSourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.