Interface StaticIp.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StaticIp.Builder,StaticIp>, SdkBuilder<StaticIp.Builder,StaticIp>, SdkPojo
Enclosing class:
StaticIp

public static interface StaticIp.Builder extends SdkPojo, CopyableBuilder<StaticIp.Builder,StaticIp>
  • Method Details

    • name

      The name of the static IP (StaticIP-Ohio-EXAMPLE).

      Parameters:
      name - The name of the static IP (StaticIP-Ohio-EXAMPLE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the static IP ( arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

      Parameters:
      arn - The Amazon Resource Name (ARN) of the static IP ( arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportCode

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      StaticIp.Builder createdAt(Instant createdAt)

      The timestamp when the static IP was created (1479735304.222).

      Parameters:
      createdAt - The timestamp when the static IP was created (1479735304.222).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      StaticIp.Builder location(ResourceLocation location)

      The region and Availability Zone where the static IP was created.

      Parameters:
      location - The region and Availability Zone where the static IP was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      default StaticIp.Builder location(Consumer<ResourceLocation.Builder> location)

      The region and Availability Zone where the static IP was created.

      This is a convenience method that creates an instance of the ResourceLocation.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).

      Parameters:
      location - a consumer that will call methods on ResourceLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      StaticIp.Builder resourceType(String resourceType)

      The resource type (usually StaticIp).

      Parameters:
      resourceType - The resource type (usually StaticIp).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      StaticIp.Builder resourceType(ResourceType resourceType)

      The resource type (usually StaticIp).

      Parameters:
      resourceType - The resource type (usually StaticIp).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddress

      StaticIp.Builder ipAddress(String ipAddress)

      The static IP address.

      Parameters:
      ipAddress - The static IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachedTo

      StaticIp.Builder attachedTo(String attachedTo)

      The instance where the static IP is attached (Amazon_Linux-1GB-Ohio-1).

      Parameters:
      attachedTo - The instance where the static IP is attached (Amazon_Linux-1GB-Ohio-1).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAttached

      StaticIp.Builder isAttached(Boolean isAttached)

      A Boolean value indicating whether the static IP is attached.

      Parameters:
      isAttached - A Boolean value indicating whether the static IP is attached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.