@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportSnapshotRecord extends Object implements Serializable, Cloneable, StructuredPojo
Describes an export snapshot record.
Constructor and Description |
---|
ExportSnapshotRecord() |
Modifier and Type | Method and Description |
---|---|
ExportSnapshotRecord |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the export snapshot record.
|
Date |
getCreatedAt()
The date when the export snapshot record was created.
|
DestinationInfo |
getDestinationInfo()
A list of objects describing the destination of the export snapshot record.
|
ResourceLocation |
getLocation()
The AWS Region and Availability Zone where the export snapshot record is located.
|
String |
getName()
The export snapshot record name.
|
String |
getResourceType()
The Lightsail resource type (
ExportSnapshotRecord ). |
ExportSnapshotRecordSourceInfo |
getSourceInfo()
A list of objects describing the source of the export snapshot record.
|
String |
getState()
The state of the export snapshot 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 export snapshot record.
|
void |
setCreatedAt(Date createdAt)
The date when the export snapshot record was created.
|
void |
setDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
|
void |
setLocation(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
|
void |
setName(String name)
The export snapshot record name.
|
void |
setResourceType(String resourceType)
The Lightsail resource type (
ExportSnapshotRecord ). |
void |
setSourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
|
void |
setState(String state)
The state of the export snapshot record.
|
String |
toString()
Returns a string representation of this object.
|
ExportSnapshotRecord |
withArn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
|
ExportSnapshotRecord |
withCreatedAt(Date createdAt)
The date when the export snapshot record was created.
|
ExportSnapshotRecord |
withDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
|
ExportSnapshotRecord |
withLocation(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
|
ExportSnapshotRecord |
withName(String name)
The export snapshot record name.
|
ExportSnapshotRecord |
withResourceType(ResourceType resourceType)
The Lightsail resource type (
ExportSnapshotRecord ). |
ExportSnapshotRecord |
withResourceType(String resourceType)
The Lightsail resource type (
ExportSnapshotRecord ). |
ExportSnapshotRecord |
withSourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
|
ExportSnapshotRecord |
withState(RecordState state)
The state of the export snapshot record.
|
ExportSnapshotRecord |
withState(String state)
The state of the export snapshot record.
|
public void setName(String name)
The export snapshot record name.
name
- The export snapshot record name.public String getName()
The export snapshot record name.
public ExportSnapshotRecord withName(String name)
The export snapshot record name.
name
- The export snapshot record name.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 ExportSnapshotRecord 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 void setCreatedAt(Date createdAt)
The date when the export snapshot record was created.
createdAt
- The date when the export snapshot record was created.public Date getCreatedAt()
The date when the export snapshot record was created.
public ExportSnapshotRecord withCreatedAt(Date createdAt)
The date when the export snapshot record was created.
createdAt
- The date when the export snapshot record was created.public void setLocation(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
location
- The AWS Region and Availability Zone where the export snapshot record is located.public ResourceLocation getLocation()
The AWS Region and Availability Zone where the export snapshot record is located.
public ExportSnapshotRecord withLocation(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
location
- The AWS Region and Availability Zone where the export snapshot record is located.public void setResourceType(String resourceType)
The Lightsail resource type (ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (ExportSnapshotRecord
).ResourceType
public String getResourceType()
The Lightsail resource type (ExportSnapshotRecord
).
ExportSnapshotRecord
).ResourceType
public ExportSnapshotRecord withResourceType(String resourceType)
The Lightsail resource type (ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (ExportSnapshotRecord
).ResourceType
public ExportSnapshotRecord withResourceType(ResourceType resourceType)
The Lightsail resource type (ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (ExportSnapshotRecord
).ResourceType
public void setState(String state)
The state of the export snapshot record.
state
- The state of the export snapshot record.RecordState
public String getState()
The state of the export snapshot record.
RecordState
public ExportSnapshotRecord withState(String state)
The state of the export snapshot record.
state
- The state of the export snapshot record.RecordState
public ExportSnapshotRecord withState(RecordState state)
The state of the export snapshot record.
state
- The state of the export snapshot record.RecordState
public void setSourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
sourceInfo
- A list of objects describing the source of the export snapshot record.public ExportSnapshotRecordSourceInfo getSourceInfo()
A list of objects describing the source of the export snapshot record.
public ExportSnapshotRecord withSourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
sourceInfo
- A list of objects describing the source of the export snapshot record.public void setDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
destinationInfo
- A list of objects describing the destination of the export snapshot record.public DestinationInfo getDestinationInfo()
A list of objects describing the destination of the export snapshot record.
public ExportSnapshotRecord withDestinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
destinationInfo
- A list of objects describing the destination of the export snapshot record.public String toString()
toString
in class Object
Object.toString()
public ExportSnapshotRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.