Class GetListenerRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.networkloadbalancer.requests.GetListenerRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public class GetListenerRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/networkloadbalancer/GetListenerExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetListenerRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetListenerRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetListenerRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetListenerRequest.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’.String
getIfNoneMatch()
The system returns the requested resource, with a 200 status, only if the resource has no etag matching the one specified.String
getListenerName()
The name of the listener to get.String
getNetworkLoadBalancerId()
The OCID of the network load balancer to update.String
getOpcRequestId()
The unique Oracle-assigned identifier for the request.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetListenerRequest.Builder
toBuilder()
Return an instance ofGetListenerRequest.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
-
getNetworkLoadBalancerId
public String getNetworkLoadBalancerId()
The OCID of the network load balancer to update.
-
getListenerName
public String getListenerName()
The name of the listener to get.Example: example_listener
-
getOpcRequestId
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request.If you must contact Oracle about a particular request, then provide the request identifier.
-
getIfNoneMatch
public String getIfNoneMatch()
The system returns the requested resource, with a 200 status, only if the resource has no etag matching the one specified.If the condition fails for the GET and HEAD methods, then the system returns the HTTP status code 304 (Not Modified).
Example: example-etag
-
toBuilder
public GetListenerRequest.Builder toBuilder()
Return an instance ofGetListenerRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetListenerRequest.Builder
that allows you to modify request properties.
-
builder
public static GetListenerRequest.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>
-
-