public static enum ListPublicIpsRequest.Scope extends Enum<ListPublicIpsRequest.Scope>
Whether the public IP is regional or specific to a particular availability domain.
`REGION`: The public IP exists within a region and is assigned to a regional entity
(such as a NatGateway
), or can be assigned to a private IP
in any availability domain in the region. Reserved public IPs have `scope` = `REGION`, as do
ephemeral public IPs assigned to a regional entity.
`AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the entity it's assigned to, which is specified by the `availabilityDomain` property of the public IP object. Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`.
Enum Constant and Description |
---|
AvailabilityDomain |
Region |
Modifier and Type | Method and Description |
---|---|
static ListPublicIpsRequest.Scope |
create(String key) |
String |
getValue() |
static ListPublicIpsRequest.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListPublicIpsRequest.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListPublicIpsRequest.Scope Region
public static final ListPublicIpsRequest.Scope AvailabilityDomain
public static ListPublicIpsRequest.Scope[] values()
for (ListPublicIpsRequest.Scope c : ListPublicIpsRequest.Scope.values()) System.out.println(c);
public static ListPublicIpsRequest.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static ListPublicIpsRequest.Scope create(String key)
Copyright © 2016–2021. All rights reserved.