@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public class ListDeploymentsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListDeploymentsRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListDeploymentsRequest.Builder |
static class |
ListDeploymentsRequest.SortBy
The field to sort by.
|
static class |
ListDeploymentsRequest.SortOrder
The sort order to use, either ‘asc’ or ‘desc’.
|
Modifier and Type | Method and Description |
---|---|
static ListDeploymentsRequest.Builder |
builder() |
String |
getCompartmentId()
The ocid of the compartment in which to list resources.
|
String |
getDisplayName()
A user-friendly name.
|
String |
getGatewayId()
Filter deployments by the gateway ocid.
|
Deployment.LifecycleState |
getLifecycleState()
A filter to return only resources that match the given lifecycle state.
|
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.
|
ListDeploymentsRequest.SortBy |
getSortBy()
The field to sort by.
|
ListDeploymentsRequest.SortOrder |
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
public static ListDeploymentsRequest.Builder builder()
public String getCompartmentId()
The ocid of the compartment in which to list resources.
public String getGatewayId()
Filter deployments by the gateway ocid.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable.
Example: `My new resource`
public Deployment.LifecycleState getLifecycleState()
A filter to return only resources that match the given lifecycle state.
Example: `SUCCEEDED`
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 ListDeploymentsRequest.SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’. The default order depends on the sortBy value.
public ListDeploymentsRequest.SortBy getSortBy()
The field to sort by. You can provide one sort order (sortOrder
).
Default order for timeCreated
is descending. Default order for
displayName
is ascending. The displayName
sort order is case
sensitive.
public String getOpcRequestId()
The client request id for tracing.
Copyright © 2016–2021. All rights reserved.