CopyableBuilder<Instance.Builder,Instance>
, SdkBuilder<Instance.Builder,Instance>
public static interface Instance.Builder extends CopyableBuilder<Instance.Builder,Instance>
Modifier and Type | Method | Description |
---|---|---|
Instance.Builder |
arn(String arn) |
The Amazon Resource Name (ARN) of the instance (e.g.,
arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE ). |
Instance.Builder |
blueprintId(String blueprintId) |
The blueprint ID (e.g.,
os_amlinux_2016_03 ). |
Instance.Builder |
blueprintName(String blueprintName) |
The friendly name of the blueprint (e.g.,
Amazon Linux ). |
Instance.Builder |
bundleId(String bundleId) |
The bundle for the instance (e.g.,
micro_1_0 ). |
Instance.Builder |
createdAt(Date createdAt) |
The timestamp when the instance was created (e.g.,
1479734909.17 ). |
Instance.Builder |
hardware(InstanceHardware hardware) |
The size of the vCPU and the amount of RAM for the instance.
|
Instance.Builder |
ipv6Address(String ipv6Address) |
The IPv6 address of the instance.
|
Instance.Builder |
isStaticIp(Boolean isStaticIp) |
A Boolean value indicating whether this instance has a static IP assigned to it.
|
Instance.Builder |
location(ResourceLocation location) |
The region name and availability zone where the instance is located.
|
Instance.Builder |
name(String name) |
The name the user gave the instance (e.g.,
Amazon_Linux-1GB-Virginia-1 ). |
Instance.Builder |
networking(InstanceNetworking networking) |
Information about the public ports and monthly data transfer rates for the instance.
|
Instance.Builder |
privateIpAddress(String privateIpAddress) |
The private IP address of the instance.
|
Instance.Builder |
publicIpAddress(String publicIpAddress) |
The public IP address of the instance.
|
Instance.Builder |
resourceType(String resourceType) |
The type of resource (usually
Instance ). |
Instance.Builder |
resourceType(ResourceType resourceType) |
The type of resource (usually
Instance ). |
Instance.Builder |
sshKeyName(String sshKeyName) |
The name of the SSH key being used to connect to the instance (e.g.,
LightsailDefaultKeyPair ). |
Instance.Builder |
state(InstanceState state) |
The status code and the state (e.g.,
running ) for the instance. |
Instance.Builder |
supportCode(String supportCode) |
The support code.
|
Instance.Builder |
username(String username) |
The user name for connecting to the instance (e.g.,
ec2-user ). |
copy
apply, build
Instance.Builder name(String name)
The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1
).
name
- The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1
).Instance.Builder arn(String arn)
The Amazon Resource Name (ARN) of the instance (e.g.,
arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
).
arn
- The Amazon Resource Name (ARN) of the instance (e.g.,
arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
).Instance.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.Instance.Builder createdAt(Date createdAt)
The timestamp when the instance was created (e.g., 1479734909.17
).
createdAt
- The timestamp when the instance was created (e.g., 1479734909.17
).Instance.Builder location(ResourceLocation location)
The region name and availability zone where the instance is located.
location
- The region name and availability zone where the instance is located.Instance.Builder resourceType(String resourceType)
The type of resource (usually Instance
).
resourceType
- The type of resource (usually Instance
).ResourceType
Instance.Builder resourceType(ResourceType resourceType)
The type of resource (usually Instance
).
resourceType
- The type of resource (usually Instance
).ResourceType
Instance.Builder blueprintId(String blueprintId)
The blueprint ID (e.g., os_amlinux_2016_03
).
blueprintId
- The blueprint ID (e.g., os_amlinux_2016_03
).Instance.Builder blueprintName(String blueprintName)
The friendly name of the blueprint (e.g., Amazon Linux
).
blueprintName
- The friendly name of the blueprint (e.g., Amazon Linux
).Instance.Builder bundleId(String bundleId)
The bundle for the instance (e.g., micro_1_0
).
bundleId
- The bundle for the instance (e.g., micro_1_0
).Instance.Builder isStaticIp(Boolean isStaticIp)
A Boolean value indicating whether this instance has a static IP assigned to it.
isStaticIp
- A Boolean value indicating whether this instance has a static IP assigned to it.Instance.Builder privateIpAddress(String privateIpAddress)
The private IP address of the instance.
privateIpAddress
- The private IP address of the instance.Instance.Builder publicIpAddress(String publicIpAddress)
The public IP address of the instance.
publicIpAddress
- The public IP address of the instance.Instance.Builder ipv6Address(String ipv6Address)
The IPv6 address of the instance.
ipv6Address
- The IPv6 address of the instance.Instance.Builder hardware(InstanceHardware hardware)
The size of the vCPU and the amount of RAM for the instance.
hardware
- The size of the vCPU and the amount of RAM for the instance.Instance.Builder networking(InstanceNetworking networking)
Information about the public ports and monthly data transfer rates for the instance.
networking
- Information about the public ports and monthly data transfer rates for the instance.Instance.Builder state(InstanceState state)
The status code and the state (e.g., running
) for the instance.
state
- The status code and the state (e.g., running
) for the instance.Instance.Builder username(String username)
The user name for connecting to the instance (e.g., ec2-user
).
username
- The user name for connecting to the instance (e.g., ec2-user
).Instance.Builder sshKeyName(String sshKeyName)
The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair
).
sshKeyName
- The name of the SSH key being used to connect to the instance (e.g.,
LightsailDefaultKeyPair
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.