Class 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.67.1/core/ListPublicIpsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPublicIpsRequest.

    • Constructor Detail

      • ListPublicIpsRequest

        public ListPublicIpsRequest()
    • 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.

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
      • 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

      • getPublicIpPoolId

        public String getPublicIpPoolId()
        A filter to return only resources that belong to the given public IP pool.
      • 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: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>