public static class ListManagedInstancesRequest.Builder extends Object implements BmcRequest.Builder<ListManagedInstancesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListManagedInstancesRequest.Builder |
advisoryName(List<String> advisoryName)
The assigned erratum name.
|
ListManagedInstancesRequest.Builder |
advisoryName(String singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
archType(ArchType singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
archType(List<ArchType> archType)
A filter to return only instances whose architecture type matches the given architecture.
|
ListManagedInstancesRequest |
build()
Build the instance of ListManagedInstancesRequest as configured by this builder
|
ListManagedInstancesRequest |
buildWithoutInvocationCallback()
Build the instance of ListManagedInstancesRequest as configured by this builder
|
ListManagedInstancesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.
|
ListManagedInstancesRequest.Builder |
copy(ListManagedInstancesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListManagedInstancesRequest.Builder |
displayName(List<String> displayName)
A filter to return resources that match the given display names.
|
ListManagedInstancesRequest.Builder |
displayName(String singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
displayNameContains(String displayNameContains)
A filter to return resources that may partially match the given display name.
|
ListManagedInstancesRequest.Builder |
group(String group)
A filter to return only managed instances that are attached to the specified group.
|
ListManagedInstancesRequest.Builder |
groupNotEqualTo(String groupNotEqualTo)
A filter to return only managed instances that are NOT attached to the specified group.
|
ListManagedInstancesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListManagedInstancesRequest.Builder |
isAttachedToGroupOrLifecycleStage(Boolean isAttachedToGroupOrLifecycleStage)
A filter to return only managed instances that are attached to the specified group or
lifecycle environment.
|
ListManagedInstancesRequest.Builder |
isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether to list only resources managed by the Autonomous Linux service.
|
ListManagedInstancesRequest.Builder |
isManagementStation(Boolean isManagementStation)
A filter to return only managed instances that are acting as management stations.
|
ListManagedInstancesRequest.Builder |
isProfileAttached(Boolean isProfileAttached)
A filter to return only managed instances with a registration profile attached.
|
ListManagedInstancesRequest.Builder |
lifecycleEnvironment(String lifecycleEnvironment)
A filter to return only managed instances in a specific lifecycle environment.
|
ListManagedInstancesRequest.Builder |
lifecycleEnvironmentNotEqualTo(String lifecycleEnvironmentNotEqualTo)
A filter to return only managed instances that aren’t in a specific lifecycle
environment.
|
ListManagedInstancesRequest.Builder |
lifecycleStage(String lifecycleStage)
A filter to return only managed instances that are associated with the specified
lifecycle environment.
|
ListManagedInstancesRequest.Builder |
lifecycleStageNotEqualTo(String lifecycleStageNotEqualTo)
A filter to return only managed instances that are NOT associated with the specified
lifecycle environment.
|
ListManagedInstancesRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListManagedInstancesRequest.Builder |
location(List<ManagedInstanceLocation> location)
A filter to return only resources whose location matches the given value.
|
ListManagedInstancesRequest.Builder |
location(ManagedInstanceLocation singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
locationNotEqualTo(List<ManagedInstanceLocation> locationNotEqualTo)
A filter to return only resources whose location does not match the given value.
|
ListManagedInstancesRequest.Builder |
locationNotEqualTo(ManagedInstanceLocation singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
managedInstanceId(String managedInstanceId)
The OCID
of the managed instance.
|
ListManagedInstancesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListManagedInstancesRequest.Builder |
osFamily(List<OsFamily> osFamily)
A filter to return only resources that match the given operating system family.
|
ListManagedInstancesRequest.Builder |
osFamily(OsFamily singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
page(String page)
For list pagination.
|
ListManagedInstancesRequest.Builder |
profile(List<String> profile)
A multi filter to return only managed instances that match the given profile ids.
|
ListManagedInstancesRequest.Builder |
profile(String singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
profileNotEqualTo(List<String> profileNotEqualTo)
A multi filter to return only managed instances that don’t contain the given profile
OCIDs.
|
ListManagedInstancesRequest.Builder |
profileNotEqualTo(String singularValue)
Singular setter.
|
ListManagedInstancesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListManagedInstancesRequest.Builder |
softwareSourceId(String softwareSourceId)
The OCID
of the software source.
|
ListManagedInstancesRequest.Builder |
sortBy(ListManagedInstancesRequest.SortBy sortBy)
The field to sort by.
|
ListManagedInstancesRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListManagedInstancesRequest.Builder |
status(List<ManagedInstanceStatus> status)
A filter to return only managed instances whose status matches the status provided.
|
ListManagedInstancesRequest.Builder |
status(ManagedInstanceStatus singularValue)
Singular setter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListManagedInstancesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
compartmentId
- the value to setpublic ListManagedInstancesRequest.Builder displayName(List<String> displayName)
A filter to return resources that match the given display names.
displayName
- the value to setpublic ListManagedInstancesRequest.Builder displayName(String singularValue)
Singular setter. A filter to return resources that match the given display names.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder displayNameContains(String displayNameContains)
A filter to return resources that may partially match the given display name.
displayNameContains
- the value to setpublic ListManagedInstancesRequest.Builder managedInstanceId(String managedInstanceId)
The OCID of the managed instance. This filter returns resources associated with this managed instance.
managedInstanceId
- the value to setpublic ListManagedInstancesRequest.Builder status(List<ManagedInstanceStatus> status)
A filter to return only managed instances whose status matches the status provided.
status
- the value to setpublic ListManagedInstancesRequest.Builder status(ManagedInstanceStatus singularValue)
Singular setter. A filter to return only managed instances whose status matches the status provided.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder archType(List<ArchType> archType)
A filter to return only instances whose architecture type matches the given architecture.
archType
- the value to setpublic ListManagedInstancesRequest.Builder archType(ArchType singularValue)
Singular setter. A filter to return only instances whose architecture type matches the given architecture.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder osFamily(List<OsFamily> osFamily)
A filter to return only resources that match the given operating system family.
osFamily
- the value to setpublic ListManagedInstancesRequest.Builder osFamily(OsFamily singularValue)
Singular setter. A filter to return only resources that match the given operating system family.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder isManagementStation(Boolean isManagementStation)
A filter to return only managed instances that are acting as management stations.
isManagementStation
- the value to setpublic ListManagedInstancesRequest.Builder group(String group)
A filter to return only managed instances that are attached to the specified group.
group
- the value to setpublic ListManagedInstancesRequest.Builder groupNotEqualTo(String groupNotEqualTo)
A filter to return only managed instances that are NOT attached to the specified group.
groupNotEqualTo
- the value to setpublic ListManagedInstancesRequest.Builder lifecycleStage(String lifecycleStage)
A filter to return only managed instances that are associated with the specified lifecycle environment.
lifecycleStage
- the value to setpublic ListManagedInstancesRequest.Builder lifecycleStageNotEqualTo(String lifecycleStageNotEqualTo)
A filter to return only managed instances that are NOT associated with the specified lifecycle environment.
lifecycleStageNotEqualTo
- the value to setpublic ListManagedInstancesRequest.Builder isAttachedToGroupOrLifecycleStage(Boolean isAttachedToGroupOrLifecycleStage)
A filter to return only managed instances that are attached to the specified group or lifecycle environment.
isAttachedToGroupOrLifecycleStage
- the value to setpublic ListManagedInstancesRequest.Builder softwareSourceId(String softwareSourceId)
The OCID of the software source. This filter returns resources associated with this software source.
softwareSourceId
- the value to setpublic ListManagedInstancesRequest.Builder advisoryName(List<String> advisoryName)
The assigned erratum name. It’s unique and not changeable.
Example: ELSA-2020-5804
advisoryName
- the value to setpublic ListManagedInstancesRequest.Builder advisoryName(String singularValue)
Singular setter. The assigned erratum name. It’s unique and not changeable.
Example: ELSA-2020-5804
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder lifecycleEnvironment(String lifecycleEnvironment)
A filter to return only managed instances in a specific lifecycle environment.
lifecycleEnvironment
- the value to setpublic ListManagedInstancesRequest.Builder lifecycleEnvironmentNotEqualTo(String lifecycleEnvironmentNotEqualTo)
A filter to return only managed instances that aren’t in a specific lifecycle environment.
lifecycleEnvironmentNotEqualTo
- the value to setpublic ListManagedInstancesRequest.Builder location(List<ManagedInstanceLocation> location)
A filter to return only resources whose location matches the given value.
location
- the value to setpublic ListManagedInstancesRequest.Builder location(ManagedInstanceLocation singularValue)
Singular setter. A filter to return only resources whose location matches the given value.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder locationNotEqualTo(List<ManagedInstanceLocation> locationNotEqualTo)
A filter to return only resources whose location does not match the given value.
locationNotEqualTo
- the value to setpublic ListManagedInstancesRequest.Builder locationNotEqualTo(ManagedInstanceLocation singularValue)
Singular setter. A filter to return only resources whose location does not match the given value.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder profile(List<String> profile)
A multi filter to return only managed instances that match the given profile ids.
profile
- the value to setpublic ListManagedInstancesRequest.Builder profile(String singularValue)
Singular setter. A multi filter to return only managed instances that match the given profile ids.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder profileNotEqualTo(List<String> profileNotEqualTo)
A multi filter to return only managed instances that don’t contain the given profile OCIDs.
profileNotEqualTo
- the value to setpublic ListManagedInstancesRequest.Builder profileNotEqualTo(String singularValue)
Singular setter. A multi filter to return only managed instances that don’t contain the given profile OCIDs.
singularValue
- the singular value to setpublic ListManagedInstancesRequest.Builder isProfileAttached(Boolean isProfileAttached)
A filter to return only managed instances with a registration profile attached.
isProfileAttached
- the value to setpublic ListManagedInstancesRequest.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether to list only resources managed by the Autonomous Linux service.
isManagedByAutonomousLinux
- the value to setpublic ListManagedInstancesRequest.Builder limit(Integer limit)
For list pagination. The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Example: 50
limit
- the value to setpublic ListManagedInstancesRequest.Builder page(String page)
For list pagination. The value of the opc-next-page
response header from the
previous “List” call. For important details about how pagination works, see List
Pagination.
Example: 3
page
- the value to setpublic ListManagedInstancesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListManagedInstancesRequest.Builder sortBy(ListManagedInstancesRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
sortBy
- the value to setpublic ListManagedInstancesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListManagedInstancesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListManagedInstancesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListManagedInstancesRequest.Builder copy(ListManagedInstancesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListManagedInstancesRequest,Void>
o
- other request from which to copy valuespublic ListManagedInstancesRequest build()
Build the instance of ListManagedInstancesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListManagedInstancesRequest,Void>
public ListManagedInstancesRequest buildWithoutInvocationCallback()
Build the instance of ListManagedInstancesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.