Class GetManagedInstanceContentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.requests.GetManagedInstanceContentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetManagedInstanceContentRequest,Void>
- Enclosing class:
- GetManagedInstanceContentRequest
public static class GetManagedInstanceContentRequest.Builder extends Object implements BmcRequest.Builder<GetManagedInstanceContentRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetManagedInstanceContentRequest.Builder
advisoryName(String singularValue)
Singular setter.GetManagedInstanceContentRequest.Builder
advisoryName(List<String> advisoryName)
The assigned erratum name.GetManagedInstanceContentRequest.Builder
advisoryNameContains(String advisoryNameContains)
A filter to return resources that may partially match the erratum advisory name given.GetManagedInstanceContentRequest.Builder
advisoryType(AdvisoryTypes singularValue)
Singular setter.GetManagedInstanceContentRequest.Builder
advisoryType(List<AdvisoryTypes> advisoryType)
A filter to return only errata that match the given advisory types.GetManagedInstanceContentRequest
build()
Build the instance of GetManagedInstanceContentRequest as configured by this builderGetManagedInstanceContentRequest
buildWithoutInvocationCallback()
Build the instance of GetManagedInstanceContentRequest as configured by this builderGetManagedInstanceContentRequest.Builder
copy(GetManagedInstanceContentRequest o)
Copy method to populate the builder with values from the given instance.GetManagedInstanceContentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetManagedInstanceContentRequest.Builder
managedInstanceId(String managedInstanceId)
The OCID of the managed instance.GetManagedInstanceContentRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetManagedInstanceContentRequest.Builder
reportFormat(GetManagedInstanceContentRequest.ReportFormat reportFormat)
The format of the report to download.GetManagedInstanceContentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetManagedInstanceContentRequest.Builder
vulnerabilityName(String singularValue)
Singular setter.GetManagedInstanceContentRequest.Builder
vulnerabilityName(List<String> vulnerabilityName)
A filter to return vulnerabilities that match the given name.GetManagedInstanceContentRequest.Builder
vulnerabilityNameContains(String vulnerabilityNameContains)
A filter to return vulnerabilities that partially match the given name.GetManagedInstanceContentRequest.Builder
vulnerabilityType(VulnerabilityTypes singularValue)
Singular setter.GetManagedInstanceContentRequest.Builder
vulnerabilityType(List<VulnerabilityTypes> vulnerabilityType)
A filter to return only vulnerabilities matching the given types.-
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
-
managedInstanceId
public GetManagedInstanceContentRequest.Builder managedInstanceId(String managedInstanceId)
The OCID of the managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder instance
-
vulnerabilityType
public GetManagedInstanceContentRequest.Builder vulnerabilityType(List<VulnerabilityTypes> vulnerabilityType)
A filter to return only vulnerabilities matching the given types.- Parameters:
vulnerabilityType
- the value to set- Returns:
- this builder instance
-
vulnerabilityType
public GetManagedInstanceContentRequest.Builder vulnerabilityType(VulnerabilityTypes singularValue)
Singular setter.A filter to return only vulnerabilities matching the given types.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
advisoryName
public GetManagedInstanceContentRequest.Builder advisoryName(List<String> advisoryName)
The assigned erratum name.It’s unique and not changeable.
Example: ELSA-2020-5804
- Parameters:
advisoryName
- the value to set- Returns:
- this builder instance
-
advisoryName
public GetManagedInstanceContentRequest.Builder advisoryName(String singularValue)
Singular setter.The assigned erratum name. It’s unique and not changeable.
Example: ELSA-2020-5804
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
advisoryNameContains
public GetManagedInstanceContentRequest.Builder advisoryNameContains(String advisoryNameContains)
A filter to return resources that may partially match the erratum advisory name given.- Parameters:
advisoryNameContains
- the value to set- Returns:
- this builder instance
-
advisoryType
public GetManagedInstanceContentRequest.Builder advisoryType(List<AdvisoryTypes> advisoryType)
A filter to return only errata that match the given advisory types.- Parameters:
advisoryType
- the value to set- Returns:
- this builder instance
-
advisoryType
public GetManagedInstanceContentRequest.Builder advisoryType(AdvisoryTypes singularValue)
Singular setter.A filter to return only errata that match the given advisory types.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
vulnerabilityName
public GetManagedInstanceContentRequest.Builder vulnerabilityName(List<String> vulnerabilityName)
A filter to return vulnerabilities that match the given name.For Linux instances, this refers to the advisory name. For Windows instances, this refers to the Windows update display name.
- Parameters:
vulnerabilityName
- the value to set- Returns:
- this builder instance
-
vulnerabilityName
public GetManagedInstanceContentRequest.Builder vulnerabilityName(String singularValue)
Singular setter.A filter to return vulnerabilities that match the given name. For Linux instances, this refers to the advisory name. For Windows instances, this refers to the Windows update display name.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
vulnerabilityNameContains
public GetManagedInstanceContentRequest.Builder vulnerabilityNameContains(String vulnerabilityNameContains)
A filter to return vulnerabilities that partially match the given name.For Linux instances, this refers to the advisory name. For Windows instances, this refers to the Windows update display name.
- Parameters:
vulnerabilityNameContains
- the value to set- Returns:
- this builder instance
-
reportFormat
public GetManagedInstanceContentRequest.Builder reportFormat(GetManagedInstanceContentRequest.ReportFormat reportFormat)
The format of the report to download.Default is CSV.
- Parameters:
reportFormat
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetManagedInstanceContentRequest.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 GetManagedInstanceContentRequest.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 GetManagedInstanceContentRequest.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 GetManagedInstanceContentRequest.Builder copy(GetManagedInstanceContentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetManagedInstanceContentRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetManagedInstanceContentRequest build()
Build the instance of GetManagedInstanceContentRequest 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<GetManagedInstanceContentRequest,Void>
- Returns:
- instance of GetManagedInstanceContentRequest
-
buildWithoutInvocationCallback
public GetManagedInstanceContentRequest buildWithoutInvocationCallback()
Build the instance of GetManagedInstanceContentRequest 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 GetManagedInstanceContentRequest
-
-