public static class ListWarningsRequest.Builder extends Object implements BmcRequest.Builder<ListWarningsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListWarningsRequest |
build()
Build the instance of ListWarningsRequest as configured by this builder
|
ListWarningsRequest |
buildWithoutInvocationCallback()
Build the instance of ListWarningsRequest as configured by this builder
|
ListWarningsRequest.Builder |
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
|
ListWarningsRequest.Builder |
copy(ListWarningsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListWarningsRequest.Builder |
endTime(String endTime)
The warning end date query parameter.
|
ListWarningsRequest.Builder |
entityName(String entityName)
The entity name used for filtering.
|
ListWarningsRequest.Builder |
entityType(String entityType)
The entity type used for filtering.
|
ListWarningsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListWarningsRequest.Builder |
isNoSource(Boolean isNoSource)
A flag indicating whether to filter warnings based on source display name or on warning
level.
|
ListWarningsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListWarningsRequest.Builder |
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
|
ListWarningsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListWarningsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListWarningsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListWarningsRequest.Builder |
sortBy(ListWarningsRequest.SortBy sortBy)
The attribute used to sort the returned warnings
|
ListWarningsRequest.Builder |
sortOrder(ListWarningsRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListWarningsRequest.Builder |
sourceName(String sourceName)
The source name.
|
ListWarningsRequest.Builder |
sourcePattern(String sourcePattern)
The source pattern used for filtering.
|
ListWarningsRequest.Builder |
startTime(String startTime)
The warning start date query parameter.
|
ListWarningsRequest.Builder |
warningMessage(String warningMessage)
warning message query parameter
|
ListWarningsRequest.Builder |
warningState(ListWarningsRequest.WarningState warningState)
The warning state used for filtering.
|
ListWarningsRequest.Builder |
warningType(String warningType)
The warning type query parameter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListWarningsRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
namespaceName
- the value to setpublic ListWarningsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
compartmentId
- the value to setpublic ListWarningsRequest.Builder warningState(ListWarningsRequest.WarningState warningState)
The warning state used for filtering. A value of SUPPRESSED will return only suppressed warnings, a value of UNSUPPRESSED will return only unsuppressed warnings, and a value of ALL will return all warnings regardless of their suppression state. Default is UNSUPPRESSED.
warningState
- the value to setpublic ListWarningsRequest.Builder sourceName(String sourceName)
The source name.
sourceName
- the value to setpublic ListWarningsRequest.Builder sourcePattern(String sourcePattern)
The source pattern used for filtering. Only warnings associated with a source with the specified pattern will be returned.
sourcePattern
- the value to setpublic ListWarningsRequest.Builder warningMessage(String warningMessage)
warning message query parameter
warningMessage
- the value to setpublic ListWarningsRequest.Builder entityName(String entityName)
The entity name used for filtering. Only warnings associated with an entity with the specified name will be returned.
entityName
- the value to setpublic ListWarningsRequest.Builder entityType(String entityType)
The entity type used for filtering. Only associations on an entity with the specified type will be returned.
entityType
- the value to setpublic ListWarningsRequest.Builder warningType(String warningType)
The warning type query parameter.
warningType
- the value to setpublic ListWarningsRequest.Builder isNoSource(Boolean isNoSource)
A flag indicating whether to filter warnings based on source display name or on warning level. A value of true will filter based on warning level (rule, source, or pattern), while a value of false will filter based on source display name.
isNoSource
- the value to setpublic ListWarningsRequest.Builder startTime(String startTime)
The warning start date query parameter.
startTime
- the value to setpublic ListWarningsRequest.Builder endTime(String endTime)
The warning end date query parameter.
endTime
- the value to setpublic ListWarningsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListWarningsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
page
- the value to setpublic ListWarningsRequest.Builder sortOrder(ListWarningsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListWarningsRequest.Builder sortBy(ListWarningsRequest.SortBy sortBy)
The attribute used to sort the returned warnings
sortBy
- the value to setpublic ListWarningsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListWarningsRequest.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 ListWarningsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListWarningsRequest.Builder copy(ListWarningsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListWarningsRequest,Void>
o
- other request from which to copy valuespublic ListWarningsRequest build()
Build the instance of ListWarningsRequest 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<ListWarningsRequest,Void>
public ListWarningsRequest buildWithoutInvocationCallback()
Build the instance of ListWarningsRequest 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.