public static interface StaticIp.Builder extends SdkPojo, CopyableBuilder<StaticIp.Builder,StaticIp>
Modifier and Type | Method and Description |
---|---|
StaticIp.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ). |
StaticIp.Builder |
attachedTo(String attachedTo)
The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Ohio-1 ). |
StaticIp.Builder |
createdAt(Instant createdAt)
The timestamp when the static IP was created (e.g.,
1479735304.222 ). |
StaticIp.Builder |
ipAddress(String ipAddress)
The static IP address.
|
StaticIp.Builder |
isAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
|
default StaticIp.Builder |
location(Consumer<ResourceLocation.Builder> location)
The region and Availability Zone where the static IP was created.
|
StaticIp.Builder |
location(ResourceLocation location)
The region and Availability Zone where the static IP was created.
|
StaticIp.Builder |
name(String name)
The name of the static IP (e.g.,
StaticIP-Ohio-EXAMPLE ). |
StaticIp.Builder |
resourceType(ResourceType resourceType)
The resource type (usually
StaticIp ). |
StaticIp.Builder |
resourceType(String resourceType)
The resource type (usually
StaticIp ). |
StaticIp.Builder |
supportCode(String supportCode)
The support code.
|
copy
applyMutation, build
StaticIp.Builder name(String name)
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
name
- The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).StaticIp.Builder arn(String arn)
The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
arn
- The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).StaticIp.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.StaticIp.Builder createdAt(Instant createdAt)
The timestamp when the static IP was created (e.g., 1479735304.222
).
createdAt
- The timestamp when the static IP was created (e.g., 1479735304.222
).StaticIp.Builder location(ResourceLocation location)
The region and Availability Zone where the static IP was created.
location
- The region and Availability Zone where the static IP was created.default StaticIp.Builder location(Consumer<ResourceLocation.Builder> location)
The region and Availability Zone where the static IP was created.
This is a convenience that creates an instance of theResourceLocation.Builder
avoiding the need to
create one manually via ResourceLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to location(ResourceLocation)
.location
- a consumer that will call methods on ResourceLocation.Builder
location(ResourceLocation)
StaticIp.Builder resourceType(String resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
,
ResourceType
StaticIp.Builder resourceType(ResourceType resourceType)
The resource type (usually StaticIp
).
resourceType
- The resource type (usually StaticIp
).ResourceType
,
ResourceType
StaticIp.Builder ipAddress(String ipAddress)
The static IP address.
ipAddress
- The static IP address.StaticIp.Builder attachedTo(String attachedTo)
The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1
).
attachedTo
- The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1
).StaticIp.Builder isAttached(Boolean isAttached)
A Boolean value indicating whether the static IP is attached.
isAttached
- A Boolean value indicating whether the static IP is attached.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.