Package com.oracle.bmc.core.requests
Class ListNetworkSecurityGroupSecurityRulesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.core.requests.ListNetworkSecurityGroupSecurityRulesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListNetworkSecurityGroupSecurityRulesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRulesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListNetworkSecurityGroupSecurityRulesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListNetworkSecurityGroupSecurityRulesRequest.Builder
static class
ListNetworkSecurityGroupSecurityRulesRequest.Direction
Direction of the security rule.static class
ListNetworkSecurityGroupSecurityRulesRequest.SortBy
The field to sort by.static class
ListNetworkSecurityGroupSecurityRulesRequest.SortOrder
The sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListNetworkSecurityGroupSecurityRulesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListNetworkSecurityGroupSecurityRulesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.ListNetworkSecurityGroupSecurityRulesRequest.Direction
getDirection()
Direction of the security rule.Integer
getLimit()
For list pagination.String
getNetworkSecurityGroupId()
The OCID of the network security group.String
getPage()
For list pagination.ListNetworkSecurityGroupSecurityRulesRequest.SortBy
getSortBy()
The field to sort by.ListNetworkSecurityGroupSecurityRulesRequest.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListNetworkSecurityGroupSecurityRulesRequest.Builder
toBuilder()
Return an instance ofListNetworkSecurityGroupSecurityRulesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getNetworkSecurityGroupId
public String getNetworkSecurityGroupId()
The OCID of the network security group.
-
getDirection
public ListNetworkSecurityGroupSecurityRulesRequest.Direction getDirection()
Direction of the security rule.Set to EGRESS for rules that allow outbound IP packets, or INGRESS for rules that allow inbound IP packets.
-
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.
-
getSortBy
public ListNetworkSecurityGroupSecurityRulesRequest.SortBy getSortBy()
The field to sort by.
-
getSortOrder
public ListNetworkSecurityGroupSecurityRulesRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).The DISPLAYNAME sort order is case sensitive.
-
toBuilder
public ListNetworkSecurityGroupSecurityRulesRequest.Builder toBuilder()
Return an instance ofListNetworkSecurityGroupSecurityRulesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListNetworkSecurityGroupSecurityRulesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListNetworkSecurityGroupSecurityRulesRequest.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 classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-