CopyableBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
, SdkBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
public static interface InstanceSnapshot.Builder extends CopyableBuilder<InstanceSnapshot.Builder,InstanceSnapshot>
Modifier and Type | Method | Description |
---|---|---|
InstanceSnapshot.Builder |
arn(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 ). |
InstanceSnapshot.Builder |
createdAt(Date createdAt) |
The timestamp when the snapshot was created (e.g.,
1479907467.024 ). |
InstanceSnapshot.Builder |
fromBlueprintId(String fromBlueprintId) |
The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3 ). |
InstanceSnapshot.Builder |
fromBundleId(String fromBundleId) |
The bundle ID from which you created the snapshot (e.g.,
micro_1_0 ). |
InstanceSnapshot.Builder |
fromInstanceArn(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 ). |
InstanceSnapshot.Builder |
fromInstanceName(String fromInstanceName) |
The instance from which the snapshot was created.
|
InstanceSnapshot.Builder |
location(ResourceLocation location) |
The region name and availability zone where you created the snapshot.
|
InstanceSnapshot.Builder |
name(String name) |
The name of the snapshot.
|
InstanceSnapshot.Builder |
progress(String progress) |
The progress of the snapshot.
|
InstanceSnapshot.Builder |
resourceType(String resourceType) |
The type of resource (usually
InstanceSnapshot ). |
InstanceSnapshot.Builder |
resourceType(ResourceType resourceType) |
The type of resource (usually
InstanceSnapshot ). |
InstanceSnapshot.Builder |
sizeInGb(Integer sizeInGb) |
The size in GB of the SSD.
|
InstanceSnapshot.Builder |
state(String state) |
The state the snapshot is in.
|
InstanceSnapshot.Builder |
state(InstanceSnapshotState state) |
The state the snapshot is in.
|
InstanceSnapshot.Builder |
supportCode(String supportCode) |
The support code.
|
copy
apply, build
InstanceSnapshot.Builder name(String name)
The name of the snapshot.
name
- The name of the snapshot.InstanceSnapshot.Builder arn(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
- The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).InstanceSnapshot.Builder supportCode(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.
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.InstanceSnapshot.Builder createdAt(Date createdAt)
The timestamp when the snapshot was created (e.g., 1479907467.024
).
createdAt
- The timestamp when the snapshot was created (e.g., 1479907467.024
).InstanceSnapshot.Builder location(ResourceLocation location)
The region name and availability zone where you created the snapshot.
location
- The region name and availability zone where you created the snapshot.InstanceSnapshot.Builder resourceType(String resourceType)
The type of resource (usually InstanceSnapshot
).
resourceType
- The type of resource (usually InstanceSnapshot
).ResourceType
InstanceSnapshot.Builder resourceType(ResourceType resourceType)
The type of resource (usually InstanceSnapshot
).
resourceType
- The type of resource (usually InstanceSnapshot
).ResourceType
InstanceSnapshot.Builder state(String state)
The state the snapshot is in.
state
- The state the snapshot is in.InstanceSnapshotState
InstanceSnapshot.Builder state(InstanceSnapshotState state)
The state the snapshot is in.
state
- The state the snapshot is in.InstanceSnapshotState
InstanceSnapshot.Builder progress(String progress)
The progress of the snapshot.
progress
- The progress of the snapshot.InstanceSnapshot.Builder fromInstanceName(String fromInstanceName)
The instance from which the snapshot was created.
fromInstanceName
- The instance from which the snapshot was created.InstanceSnapshot.Builder fromInstanceArn(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
).
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
).InstanceSnapshot.Builder fromBlueprintId(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.
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.InstanceSnapshot.Builder fromBundleId(String fromBundleId)
The bundle ID from which you created the snapshot (e.g., micro_1_0
).
fromBundleId
- The bundle ID from which you created the snapshot (e.g., micro_1_0
).InstanceSnapshot.Builder sizeInGb(Integer sizeInGb)
The size in GB of the SSD.
sizeInGb
- The size in GB of the SSD.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.