Class ListAwrHubObjectsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.ListAwrHubObjectsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAwrHubObjectsRequest,Void>
- Enclosing class:
- ListAwrHubObjectsRequest
public static class ListAwrHubObjectsRequest.Builder extends Object implements BmcRequest.Builder<ListAwrHubObjectsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAwrHubObjectsRequest.Builder
awrHubSourceId(String awrHubSourceId)
Unique Awr Hub Source identifierListAwrHubObjectsRequest
build()
Build the instance of ListAwrHubObjectsRequest as configured by this builderListAwrHubObjectsRequest
buildWithoutInvocationCallback()
Build the instance of ListAwrHubObjectsRequest as configured by this builderListAwrHubObjectsRequest.Builder
copy(ListAwrHubObjectsRequest o)
Copy method to populate the builder with values from the given instance.ListAwrHubObjectsRequest.Builder
delimiter(String delimiter)
When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the Awr Hub list objects key of the response body.ListAwrHubObjectsRequest.Builder
end(String end)
Object names returned by Awr Hub list objects query must be strictly less than this parameter.ListAwrHubObjectsRequest.Builder
fields(ListAwrHubObjectsRequest.Fields fields)
By default all the fields are returned.ListAwrHubObjectsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAwrHubObjectsRequest.Builder
limit(Integer limit)
For list pagination.ListAwrHubObjectsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListAwrHubObjectsRequest.Builder
page(String page)
For list pagination.ListAwrHubObjectsRequest.Builder
prefix(String prefix)
The string to use for matching against the start of object names in a Awr Hub list objects query.ListAwrHubObjectsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAwrHubObjectsRequest.Builder
start(String start)
Object names returned by Awr Hub list objects query must be greater or equal to this parameter.ListAwrHubObjectsRequest.Builder
startAfter(String startAfter)
Awr Hub Object name after which remaining objects are listed-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
awrHubSourceId
public ListAwrHubObjectsRequest.Builder awrHubSourceId(String awrHubSourceId)
Unique Awr Hub Source identifier- Parameters:
awrHubSourceId
- the value to set- Returns:
- this builder instance
-
prefix
public ListAwrHubObjectsRequest.Builder prefix(String prefix)
The string to use for matching against the start of object names in a Awr Hub list objects query.- Parameters:
prefix
- the value to set- Returns:
- this builder instance
-
start
public ListAwrHubObjectsRequest.Builder start(String start)
Object names returned by Awr Hub list objects query must be greater or equal to this parameter.- Parameters:
start
- the value to set- Returns:
- this builder instance
-
end
public ListAwrHubObjectsRequest.Builder end(String end)
Object names returned by Awr Hub list objects query must be strictly less than this parameter.- Parameters:
end
- the value to set- Returns:
- this builder instance
-
delimiter
public ListAwrHubObjectsRequest.Builder delimiter(String delimiter)
When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the Awr Hub list objects key of the response body.Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only ‘/’ is a supported delimiter character at this time.
- Parameters:
delimiter
- the value to set- Returns:
- this builder instance
-
startAfter
public ListAwrHubObjectsRequest.Builder startAfter(String startAfter)
Awr Hub Object name after which remaining objects are listed- Parameters:
startAfter
- the value to set- Returns:
- this builder instance
-
page
public ListAwrHubObjectsRequest.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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListAwrHubObjectsRequest.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
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
fields
public ListAwrHubObjectsRequest.Builder fields(ListAwrHubObjectsRequest.Fields fields)
By default all the fields are returned.Use this parameter to fetch specific fields ‘size’, ‘etag’, ‘md5’, ‘timeCreated’, ‘timeModified’, ‘storageTier’ and ‘archivalState’ fields. List the names of those fields in a comma-separated, case-insensitive list as the value of this parameter. For example: ‘name,etag,timeCreated,md5,timeModified,storageTier,archivalState’.
- Parameters:
fields
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAwrHubObjectsRequest.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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAwrHubObjectsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListAwrHubObjectsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListAwrHubObjectsRequest.Builder copy(ListAwrHubObjectsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAwrHubObjectsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAwrHubObjectsRequest build()
Build the instance of ListAwrHubObjectsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListAwrHubObjectsRequest,Void>
- Returns:
- instance of ListAwrHubObjectsRequest
-
buildWithoutInvocationCallback
public ListAwrHubObjectsRequest buildWithoutInvocationCallback()
Build the instance of ListAwrHubObjectsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListAwrHubObjectsRequest
-
-