Class ListPublicIpsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.core.requests.ListPublicIpsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListPublicIpsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.76.0/core/ListPublicIpsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPublicIpsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListPublicIpsRequest.Builderstatic classListPublicIpsRequest.LifetimeA filter to return only public IPs that match given lifetime.static classListPublicIpsRequest.ScopeWhether the public IP is regional or specific to a particular availability domain.
-
Constructor Summary
Constructors Constructor Description ListPublicIpsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPublicIpsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAvailabilityDomain()The name of the availability domain.StringgetCompartmentId()The OCID of the compartment.ListPublicIpsRequest.LifetimegetLifetime()A filter to return only public IPs that match given lifetime.IntegergetLimit()For list pagination.StringgetPage()For list pagination.StringgetPublicIpPoolId()A filter to return only resources that belong to the given public IP pool.ListPublicIpsRequest.ScopegetScope()Whether the public IP is regional or specific to a particular availability domain.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListPublicIpsRequest.BuildertoBuilder()Return an instance ofListPublicIpsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getScope
public ListPublicIpsRequest.Scope getScope()
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.
-
getLimit
public Integer getLimit()
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Example: 50
-
getPage
public String getPage()
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
-
getAvailabilityDomain
public String getAvailabilityDomain()
The name of the availability domain.Example: Uocm:PHX-AD-1
-
getLifetime
public ListPublicIpsRequest.Lifetime getLifetime()
A filter to return only public IPs that match given lifetime.
-
getPublicIpPoolId
public String getPublicIpPoolId()
A filter to return only resources that belong to the given public IP pool.
-
toBuilder
public ListPublicIpsRequest.Builder toBuilder()
Return an instance ofListPublicIpsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListPublicIpsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListPublicIpsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-