@Generated(value="OracleSDKGenerator", comments="API Version: 20210331") public class ListSessionsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListSessionsRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListSessionsRequest.Builder |
static class |
ListSessionsRequest.SortBy
The field to sort by.
|
Constructor and Description |
---|
ListSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
static ListSessionsRequest.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 |
getBastionId()
The unique identifier (OCID) of the bastion in which to list sessions.
|
String |
getDisplayName()
A filter to return only resources that match the entire display name given.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getOpcRequestId()
The client request ID for tracing.
|
String |
getPage()
The page token representing the page at which to start retrieving results.
|
String |
getSessionId()
The unique identifier (OCID) of the session in which to list resources.
|
SessionLifecycleState |
getSessionLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
ListSessionsRequest.SortBy |
getSortBy()
The field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListSessionsRequest.Builder |
toBuilder()
Return an instance of
ListSessionsRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getBastionId()
The unique identifier (OCID) of the bastion in which to list sessions.
public String getOpcRequestId()
The client request ID for tracing.
public String getDisplayName()
A filter to return only resources that match the entire display name given.
public SessionLifecycleState getSessionLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.
public String getSessionId()
The unique identifier (OCID) of the session in which to list resources.
public Integer getLimit()
The maximum number of items to return.
public String getPage()
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
public SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
public ListSessionsRequest.SortBy getSortBy()
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
public ListSessionsRequest.Builder toBuilder()
Return an instance of ListSessionsRequest.Builder
that allows you to modify request properties.
ListSessionsRequest.Builder
that allows you to modify request properties.public static ListSessionsRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.