StructuredPojo
, ToCopyableBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
@Generated("software.amazon.awssdk:codegen") public class InstanceSnapshot extends Object implements StructuredPojo, ToCopyableBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
Describes the snapshot of the virtual private server, or instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceSnapshot.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE ). |
static InstanceSnapshot.Builder |
builder() |
|
Date |
createdAt() |
The timestamp when the snapshot was created (e.g.,
1479907467.024 ). |
boolean |
equals(Object obj) |
|
String |
fromBlueprintId() |
The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3 ). |
String |
fromBundleId() |
The bundle ID from which you created the snapshot (e.g.,
micro_1_0 ). |
String |
fromInstanceArn() |
The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,
arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE ). |
String |
fromInstanceName() |
The instance from which the snapshot was created.
|
int |
hashCode() |
|
ResourceLocation |
location() |
The region name and availability zone where you created the snapshot.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of the snapshot.
|
String |
progress() |
The progress of the snapshot.
|
String |
resourceType() |
The type of resource (usually
InstanceSnapshot ). |
static Class<? extends InstanceSnapshot.Builder> |
serializableBuilderClass() |
|
Integer |
sizeInGb() |
The size in GB of the SSD.
|
String |
state() |
The state the snapshot is in.
|
String |
supportCode() |
The support code.
|
InstanceSnapshot.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String name()
The name of the snapshot.
public String arn()
The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).
arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).public String supportCode()
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
public Date createdAt()
The timestamp when the snapshot was created (e.g., 1479907467.024
).
1479907467.024
).public ResourceLocation location()
The region name and availability zone where you created the snapshot.
public String resourceType()
The type of resource (usually InstanceSnapshot
).
InstanceSnapshot
).ResourceType
public String state()
The state the snapshot is in.
InstanceSnapshotState
public String progress()
The progress of the snapshot.
public String fromInstanceName()
The instance from which the snapshot was created.
public String fromInstanceArn()
The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,
arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE
).
arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE
).public String fromBlueprintId()
The blueprint ID from which you created the snapshot (e.g., os_debian_8_3
). A blueprint is a virtual
private server (or instance) image used to create instances quickly.
os_debian_8_3
). A blueprint is a
virtual private server (or instance) image used to create instances quickly.public String fromBundleId()
The bundle ID from which you created the snapshot (e.g., micro_1_0
).
micro_1_0
).public Integer sizeInGb()
The size in GB of the SSD.
public InstanceSnapshot.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
public static InstanceSnapshot.Builder builder()
public static Class<? extends InstanceSnapshot.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.