@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public class ListTemplatesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListTemplatesRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListTemplatesRequest.Builder |
static class |
ListTemplatesRequest.SortBy
The field to use when sorting returned resources.
|
static class |
ListTemplatesRequest.SortOrder
The sort order to use when sorting returned resources.
|
Constructor and Description |
---|
ListTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
static ListTemplatesRequest.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 |
getCompartmentId()
A filter to return only resources that exist in the compartment, identified by
OCID.
|
String |
getDisplayName()
A filter to return only resources that match the given display name exactly.
|
Integer |
getLimit()
The number of items returned in a paginated
List call. |
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
The value of the
opc-next-page response header from the preceding List call. |
ListTemplatesRequest.SortBy |
getSortBy()
The field to use when sorting returned resources.
|
ListTemplatesRequest.SortOrder |
getSortOrder()
The sort order to use when sorting returned resources.
|
String |
getTemplateCategoryId()
Unique identifier for the template category.
|
String |
getTemplateId()
The OCID of
the template.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListTemplatesRequest.Builder |
toBuilder()
Return an instance of
ListTemplatesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public String getCompartmentId()
A filter to return only resources that exist in the compartment, identified by OCID.
public String getTemplateCategoryId()
Unique identifier for the template category. Possible values are 0
(Quickstarts),
1
(Service), 2
(Architecture), and 3
(Private). Template category
labels are displayed in the Console page listing templates. Quickstarts, Service, and
Architecture templates (categories 0, 1, and 2) are available in all compartments. Each
private template (category 3) is available in the compartment where it was created.
public String getDisplayName()
A filter to return only resources that match the given display name exactly. Use this filter
to list a resource by name. Requires sortBy
set to DISPLAYNAME
.
Alternatively, when you know the resource OCID, use the related Get operation.
public ListTemplatesRequest.SortBy getSortBy()
The field to use when sorting returned resources. By default, TIMECREATED
is ordered
descending. By default, DISPLAYNAME
is ordered ascending. Note that you can sort only
on one field.
public ListTemplatesRequest.SortOrder getSortOrder()
The sort order to use when sorting returned resources. Ascending (ASC
) or descending
(DESC
).
public Integer getLimit()
The number of items returned in a paginated List
call. For information about
pagination, see List
Pagination.
public String getPage()
The value of the opc-next-page
response header from the preceding List
call.
For information about pagination, see List
Pagination.
public ListTemplatesRequest.Builder toBuilder()
Return an instance of ListTemplatesRequest.Builder
that allows you to modify request properties.
ListTemplatesRequest.Builder
that allows you to modify request properties.public static ListTemplatesRequest.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.