| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
Instance |
Instance.clone() |
Instance |
GetInstanceResult.getInstance()
An array of key-value pairs containing information about the specified instance.
|
Instance |
Instance.withAddOns(AddOn... addOns)
An array of objects representing the add-ons enabled on the instance.
|
Instance |
Instance.withAddOns(Collection<AddOn> addOns)
An array of objects representing the add-ons enabled on the instance.
|
Instance |
Instance.withArn(String arn)
The Amazon Resource Name (ARN) of the instance (e.g.,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE). |
Instance |
Instance.withBlueprintId(String blueprintId)
The blueprint ID (e.g.,
os_amlinux_2016_03). |
Instance |
Instance.withBlueprintName(String blueprintName)
The friendly name of the blueprint (e.g.,
Amazon Linux). |
Instance |
Instance.withBundleId(String bundleId)
The bundle for the instance (e.g.,
micro_1_0). |
Instance |
Instance.withCreatedAt(Date createdAt)
The timestamp when the instance was created (e.g.,
1479734909.17) in Unix time format. |
Instance |
Instance.withHardware(InstanceHardware hardware)
The size of the vCPU and the amount of RAM for the instance.
|
Instance |
Instance.withIpv6Address(String ipv6Address)
The IPv6 address of the instance.
|
Instance |
Instance.withIsStaticIp(Boolean isStaticIp)
A Boolean value indicating whether this instance has a static IP assigned to it.
|
Instance |
Instance.withLocation(ResourceLocation location)
The region name and Availability Zone where the instance is located.
|
Instance |
Instance.withName(String name)
The name the user gave the instance (e.g.,
Amazon_Linux-1GB-Ohio-1). |
Instance |
Instance.withNetworking(InstanceNetworking networking)
Information about the public ports and monthly data transfer rates for the instance.
|
Instance |
Instance.withPrivateIpAddress(String privateIpAddress)
The private IP address of the instance.
|
Instance |
Instance.withPublicIpAddress(String publicIpAddress)
The public IP address of the instance.
|
Instance |
Instance.withResourceType(ResourceType resourceType)
The type of resource (usually
Instance). |
Instance |
Instance.withResourceType(String resourceType)
The type of resource (usually
Instance). |
Instance |
Instance.withSshKeyName(String sshKeyName)
The name of the SSH key being used to connect to the instance (e.g.,
LightsailDefaultKeyPair). |
Instance |
Instance.withState(InstanceState state)
The status code and the state (e.g.,
running) for the instance. |
Instance |
Instance.withSupportCode(String supportCode)
The support code.
|
Instance |
Instance.withTags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
Instance |
Instance.withTags(Tag... tags)
The tag keys and optional values for the resource.
|
Instance |
Instance.withUsername(String username)
The user name for connecting to the instance (e.g.,
ec2-user). |
| Modifier and Type | Method and Description |
|---|---|
List<Instance> |
GetInstancesResult.getInstances()
An array of key-value pairs containing information about your instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetInstanceResult.setInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
|
GetInstanceResult |
GetInstanceResult.withInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
|
GetInstancesResult |
GetInstancesResult.withInstances(Instance... instances)
An array of key-value pairs containing information about your instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetInstancesResult.setInstances(Collection<Instance> instances)
An array of key-value pairs containing information about your instances.
|
GetInstancesResult |
GetInstancesResult.withInstances(Collection<Instance> instances)
An array of key-value pairs containing information about your instances.
|
Copyright © 2021. All rights reserved.