Class ListManagedInstancesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.osmanagementhub.requests.ListManagedInstancesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ListManagedInstancesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/osmanagementhub/ListManagedInstancesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstancesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListManagedInstancesRequest.Builderstatic classListManagedInstancesRequest.SortByThe field to sort by.
-
Constructor Summary
Constructors Constructor Description ListManagedInstancesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListManagedInstancesRequest.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’.List<String>getAdvisoryName()The assigned erratum name.StringgetAgentVersion()A filter to return only managed instances with the specified version of osmh-agent running.List<ArchType>getArchType()A filter to return only instances whose architecture type matches the given architecture.StringgetCompartmentId()The OCID of the compartment that contains the resources to list.List<String>getDisplayName()A filter to return resources that match the given display names.StringgetDisplayNameContains()A filter to return resources that may partially match the given display name.StringgetGroup()A filter to return only managed instances that are attached to the specified group.StringgetGroupNotEqualTo()A filter to return only managed instances that are NOT attached to the specified group.BooleangetIsAttachedToGroupOrLifecycleStage()A filter to return only managed instances that are attached to the specified group or lifecycle environment.BooleangetIsManagedByAutonomousLinux()Indicates whether to list only resources managed by the Autonomous Linux service.BooleangetIsManagementStation()A filter to return only managed instances that are acting as management stations.BooleangetIsProfileAttached()A filter to return only managed instances with a registration profile attached.BooleangetIsRebootRequired()A filter to return only managed instances that require a reboot to install updates.StringgetLifecycleEnvironment()A filter to return only managed instances in a specific lifecycle environment.StringgetLifecycleEnvironmentNotEqualTo()A filter to return only managed instances that aren’t in a specific lifecycle environment.StringgetLifecycleStage()A filter to return only managed instances that are associated with the specified lifecycle environment.StringgetLifecycleStageNotEqualTo()A filter to return only managed instances that are NOT associated with the specified lifecycle environment.IntegergetLimit()For list pagination.List<ManagedInstanceLocation>getLocation()A filter to return only resources whose location matches the given value.List<ManagedInstanceLocation>getLocationNotEqualTo()A filter to return only resources whose location does not match the given value.StringgetManagedInstanceId()The OCID of the managed instance.List<String>getManagementStation()A filter to return resources that are associated with the specified management station OCIDs.List<String>getManagementStationNotEqualTo()A filter to return resources that aren’t associated with the specified management station OCIDs.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.List<OsFamily>getOsFamily()A filter to return only resources that match the given operating system family.StringgetPage()For list pagination.List<String>getProfile()A multi filter to return only managed instances that match the given profile ids.List<String>getProfileNotEqualTo()A multi filter to return only managed instances that don’t contain the given profile OCIDs.StringgetSoftwareSourceId()The OCID of the software source.ListManagedInstancesRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.List<ManagedInstanceStatus>getStatus()A filter to return only managed instances whose status matches the status provided.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListManagedInstancesRequest.BuildertoBuilder()Return an instance ofListManagedInstancesRequest.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 that contains the resources to list.This filter returns only resources contained within the specified compartment.
-
getDisplayName
public List<String> getDisplayName()
A filter to return resources that match the given display names.
-
getDisplayNameContains
public String getDisplayNameContains()
A filter to return resources that may partially match the given display name.
-
getManagedInstanceId
public String getManagedInstanceId()
The OCID of the managed instance.This filter returns resources associated with this managed instance.
-
getStatus
public List<ManagedInstanceStatus> getStatus()
A filter to return only managed instances whose status matches the status provided.
-
getArchType
public List<ArchType> getArchType()
A filter to return only instances whose architecture type matches the given architecture.
-
getOsFamily
public List<OsFamily> getOsFamily()
A filter to return only resources that match the given operating system family.
-
getIsManagementStation
public Boolean getIsManagementStation()
A filter to return only managed instances that are acting as management stations.
-
getGroup
public String getGroup()
A filter to return only managed instances that are attached to the specified group.
-
getGroupNotEqualTo
public String getGroupNotEqualTo()
A filter to return only managed instances that are NOT attached to the specified group.
-
getLifecycleStage
public String getLifecycleStage()
A filter to return only managed instances that are associated with the specified lifecycle environment.
-
getLifecycleStageNotEqualTo
public String getLifecycleStageNotEqualTo()
A filter to return only managed instances that are NOT associated with the specified lifecycle environment.
-
getIsAttachedToGroupOrLifecycleStage
public Boolean getIsAttachedToGroupOrLifecycleStage()
A filter to return only managed instances that are attached to the specified group or lifecycle environment.
-
getSoftwareSourceId
public String getSoftwareSourceId()
The OCID of the software source.This filter returns resources associated with this software source.
-
getAdvisoryName
public List<String> getAdvisoryName()
The assigned erratum name.It’s unique and not changeable.
Example: ELSA-2020-5804
-
getLifecycleEnvironment
public String getLifecycleEnvironment()
A filter to return only managed instances in a specific lifecycle environment.
-
getLifecycleEnvironmentNotEqualTo
public String getLifecycleEnvironmentNotEqualTo()
A filter to return only managed instances that aren’t in a specific lifecycle environment.
-
getLocation
public List<ManagedInstanceLocation> getLocation()
A filter to return only resources whose location matches the given value.
-
getLocationNotEqualTo
public List<ManagedInstanceLocation> getLocationNotEqualTo()
A filter to return only resources whose location does not match the given value.
-
getProfile
public List<String> getProfile()
A multi filter to return only managed instances that match the given profile ids.
-
getProfileNotEqualTo
public List<String> getProfileNotEqualTo()
A multi filter to return only managed instances that don’t contain the given profile OCIDs.
-
getIsProfileAttached
public Boolean getIsProfileAttached()
A filter to return only managed instances with a registration profile attached.
-
getIsManagedByAutonomousLinux
public Boolean getIsManagedByAutonomousLinux()
Indicates whether to list only resources managed by the Autonomous Linux service.
-
getAgentVersion
public String getAgentVersion()
A filter to return only managed instances with the specified version of osmh-agent running.
-
getManagementStation
public List<String> getManagementStation()
A filter to return resources that are associated with the specified management station OCIDs.
-
getManagementStationNotEqualTo
public List<String> getManagementStationNotEqualTo()
A filter to return resources that aren’t associated with the specified management station OCIDs.
-
getIsRebootRequired
public Boolean getIsRebootRequired()
A filter to return only managed instances that require a reboot to install updates.
-
getLimit
public Integer getLimit()
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
-
getPage
public String getPage()
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
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public ListManagedInstancesRequest.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.
-
getOpcRequestId
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.
-
toBuilder
public ListManagedInstancesRequest.Builder toBuilder()
Return an instance ofListManagedInstancesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListManagedInstancesRequest.Builderthat allows you to modify request properties.
-
builder
public static ListManagedInstancesRequest.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>
-
-