| Package | Description |
|---|---|
| software.amazon.awssdk.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
Instance.Builder.addOns(AddOn... addOns)
An array of objects representing the add-ons enabled on the instance.
|
Instance.Builder |
Instance.Builder.addOns(Collection<AddOn> addOns)
An array of objects representing the add-ons enabled on the instance.
|
Instance.Builder |
Instance.Builder.addOns(Consumer<AddOn.Builder>... addOns)
An array of objects representing the add-ons enabled on the instance.
|
Instance.Builder |
Instance.Builder.arn(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.Builder |
Instance.Builder.blueprintId(String blueprintId)
The blueprint ID (e.g.,
os_amlinux_2016_03). |
Instance.Builder |
Instance.Builder.blueprintName(String blueprintName)
The friendly name of the blueprint (e.g.,
Amazon Linux). |
static Instance.Builder |
Instance.builder() |
Instance.Builder |
Instance.Builder.bundleId(String bundleId)
The bundle for the instance (e.g.,
micro_1_0). |
Instance.Builder |
Instance.Builder.createdAt(Instant createdAt)
The timestamp when the instance was created (e.g.,
1479734909.17) in Unix time format. |
default Instance.Builder |
Instance.Builder.hardware(Consumer<InstanceHardware.Builder> hardware)
The size of the vCPU and the amount of RAM for the instance.
|
Instance.Builder |
Instance.Builder.hardware(InstanceHardware hardware)
The size of the vCPU and the amount of RAM for the instance.
|
Instance.Builder |
Instance.Builder.ipAddressType(IpAddressType ipAddressType)
The IP address type of the instance.
|
Instance.Builder |
Instance.Builder.ipAddressType(String ipAddressType)
The IP address type of the instance.
|
Instance.Builder |
Instance.Builder.ipv6Addresses(Collection<String> ipv6Addresses)
The IPv6 addresses of the instance.
|
Instance.Builder |
Instance.Builder.ipv6Addresses(String... ipv6Addresses)
The IPv6 addresses of the instance.
|
Instance.Builder |
Instance.Builder.isStaticIp(Boolean isStaticIp)
A Boolean value indicating whether this instance has a static IP assigned to it.
|
default Instance.Builder |
Instance.Builder.location(Consumer<ResourceLocation.Builder> location)
The region name and Availability Zone where the instance is located.
|
Instance.Builder |
Instance.Builder.location(ResourceLocation location)
The region name and Availability Zone where the instance is located.
|
Instance.Builder |
Instance.Builder.name(String name)
The name the user gave the instance (e.g.,
Amazon_Linux-1GB-Ohio-1). |
default Instance.Builder |
Instance.Builder.networking(Consumer<InstanceNetworking.Builder> networking)
Information about the public ports and monthly data transfer rates for the instance.
|
Instance.Builder |
Instance.Builder.networking(InstanceNetworking networking)
Information about the public ports and monthly data transfer rates for the instance.
|
Instance.Builder |
Instance.Builder.privateIpAddress(String privateIpAddress)
The private IP address of the instance.
|
Instance.Builder |
Instance.Builder.publicIpAddress(String publicIpAddress)
The public IP address of the instance.
|
Instance.Builder |
Instance.Builder.resourceType(ResourceType resourceType)
The type of resource (usually
Instance). |
Instance.Builder |
Instance.Builder.resourceType(String resourceType)
The type of resource (usually
Instance). |
Instance.Builder |
Instance.Builder.sshKeyName(String sshKeyName)
The name of the SSH key being used to connect to the instance (e.g.,
LightsailDefaultKeyPair). |
default Instance.Builder |
Instance.Builder.state(Consumer<InstanceState.Builder> state)
The status code and the state (e.g.,
running) for the instance. |
Instance.Builder |
Instance.Builder.state(InstanceState state)
The status code and the state (e.g.,
running) for the instance. |
Instance.Builder |
Instance.Builder.supportCode(String supportCode)
The support code.
|
Instance.Builder |
Instance.Builder.tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
Instance.Builder |
Instance.Builder.tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
Instance.Builder |
Instance.Builder.tags(Tag... tags)
The tag keys and optional values for the resource.
|
Instance.Builder |
Instance.toBuilder() |
Instance.Builder |
Instance.Builder.username(String username)
The user name for connecting to the instance (e.g.,
ec2-user). |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Instance.Builder> |
Instance.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default GetInstanceResponse.Builder |
GetInstanceResponse.Builder.instance(Consumer<Instance.Builder> instance)
An array of key-value pairs containing information about the specified instance.
|
Copyright © 2021. All rights reserved.