Class ListStreamsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.streaming.requests.ListStreamsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180418") public class ListStreamsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/streaming/ListStreamsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListStreamsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListStreamsRequest.Builderstatic classListStreamsRequest.SortByThe field to sort by.static classListStreamsRequest.SortOrderThe sort order to use, either ‘asc’ or ‘desc’.
-
Constructor Summary
Constructors Constructor Description ListStreamsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListStreamsRequest.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’.StringgetCompartmentId()The OCID of the compartment.StringgetId()A filter to return only resources that match the given ID exactly.Stream.LifecycleStategetLifecycleState()A filter to only return resources that match the given lifecycle state.IntegergetLimit()The maximum number of items to return.StringgetName()A filter to return only resources that match the given name exactly.StringgetOpcRequestId()The unique Oracle-assigned identifier for the request.StringgetPage()The page at which to start retrieving results.ListStreamsRequest.SortBygetSortBy()The field to sort by.ListStreamsRequest.SortOrdergetSortOrder()The sort order to use, either ‘asc’ or ‘desc’.StringgetStreamPoolId()The OCID of the stream pool.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListStreamsRequest.BuildertoBuilder()Return an instance ofListStreamsRequest.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
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment.Is exclusive with the streamPoolId parameter. One of them is required.
-
getStreamPoolId
public String getStreamPoolId()
The OCID of the stream pool.Is exclusive with the compartmentId parameter. One of them is required.
-
getId
public String getId()
A filter to return only resources that match the given ID exactly.
-
getName
public String getName()
A filter to return only resources that match the given name exactly.
-
getLimit
public Integer getLimit()
The maximum number of items to return.The value must be between 1 and 50. The default is 10.
-
getPage
public String getPage()
The page at which to start retrieving results.
-
getSortBy
public ListStreamsRequest.SortBy getSortBy()
The field to sort by.You can provide no more than one sort order. By default, TIMECREATED sorts results in descending order and NAME sorts results in ascending order.
-
getSortOrder
public ListStreamsRequest.SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
-
getLifecycleState
public Stream.LifecycleState getLifecycleState()
A filter to only return resources that match the given lifecycle state.The state value is case-insensitive.
-
getOpcRequestId
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
toBuilder
public ListStreamsRequest.Builder toBuilder()
Return an instance ofListStreamsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListStreamsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListStreamsRequest.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>
-
-