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/3.63.0/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 class
ListManagedInstancesRequest.Builder
static class
ListManagedInstancesRequest.SortBy
The 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.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’.List<String>
getAdvisoryName()
The assigned erratum name.String
getAgentVersion()
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.String
getCompartmentId()
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.String
getDisplayNameContains()
A filter to return resources that may partially match the given display name.String
getGroup()
A filter to return only managed instances that are attached to the specified group.String
getGroupNotEqualTo()
A filter to return only managed instances that are NOT attached to the specified group.Boolean
getIsAttachedToGroupOrLifecycleStage()
A filter to return only managed instances that are attached to the specified group or lifecycle environment.Boolean
getIsManagedByAutonomousLinux()
Indicates whether to list only resources managed by the Autonomous Linux service.Boolean
getIsManagementStation()
A filter to return only managed instances that are acting as management stations.Boolean
getIsProfileAttached()
A filter to return only managed instances with a registration profile attached.Boolean
getIsRebootRequired()
A filter to return only managed instances that require a reboot to install updates.String
getLifecycleEnvironment()
A filter to return only managed instances in a specific lifecycle environment.String
getLifecycleEnvironmentNotEqualTo()
A filter to return only managed instances that aren’t in a specific lifecycle environment.String
getLifecycleStage()
A filter to return only managed instances that are associated with the specified lifecycle environment.String
getLifecycleStageNotEqualTo()
A filter to return only managed instances that are NOT associated with the specified lifecycle environment.Integer
getLimit()
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.String
getManagedInstanceId()
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.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.List<OsFamily>
getOsFamily()
A filter to return only resources that match the given operating system family.String
getPage()
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.String
getSoftwareSourceId()
The OCID of the software source.ListManagedInstancesRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
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.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListManagedInstancesRequest.Builder
toBuilder()
Return an instance ofListManagedInstancesRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
ListManagedInstancesRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-