Class GetChargebackPlanReportContentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.GetChargebackPlanReportContentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetChargebackPlanReportContentRequest,Void>
- Enclosing class:
- GetChargebackPlanReportContentRequest
public static class GetChargebackPlanReportContentRequest.Builder extends Object implements BmcRequest.Builder<GetChargebackPlanReportContentRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetChargebackPlanReportContentRequestbuild()Build the instance of GetChargebackPlanReportContentRequest as configured by this builderGetChargebackPlanReportContentRequestbuildWithoutInvocationCallback()Build the instance of GetChargebackPlanReportContentRequest as configured by this builderGetChargebackPlanReportContentRequest.BuilderchargebackPlanReportId(String chargebackPlanReportId)The OCID of the Ops Insights chargeback plan reportGetChargebackPlanReportContentRequest.Buildercopy(GetChargebackPlanReportContentRequest o)Copy method to populate the builder with values from the given instance.GetChargebackPlanReportContentRequest.Builderid(String id)Unique Ops insight identifierGetChargebackPlanReportContentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetChargebackPlanReportContentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetChargebackPlanReportContentRequest.BuilderrelativeTimeInterval(String relativeTimeInterval)Specify relative time period with respect to current time.GetChargebackPlanReportContentRequest.BuilderresourceType(String resourceType)Filter by resource type.GetChargebackPlanReportContentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetChargebackPlanReportContentRequest.BuildertimeIntervalEnd(Date timeIntervalEnd)Analysis end time in UTC in ISO 8601 format(exclusive).GetChargebackPlanReportContentRequest.BuildertimeIntervalStart(Date timeIntervalStart)Analysis start time in UTC in ISO 8601 format(inclusive).-
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
-
chargebackPlanReportId
public GetChargebackPlanReportContentRequest.Builder chargebackPlanReportId(String chargebackPlanReportId)
The OCID of the Ops Insights chargeback plan report- Parameters:
chargebackPlanReportId- the value to set- Returns:
- this builder instance
-
id
public GetChargebackPlanReportContentRequest.Builder id(String id)
Unique Ops insight identifier- Parameters:
id- the value to set- Returns:
- this builder instance
-
resourceType
public GetChargebackPlanReportContentRequest.Builder resourceType(String resourceType)
Filter by resource type.Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
- Parameters:
resourceType- the value to set- Returns:
- this builder instance
-
timeIntervalStart
public GetChargebackPlanReportContentRequest.Builder timeIntervalStart(Date timeIntervalStart)
Analysis start time in UTC in ISO 8601 format(inclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). The minimum allowed value is 2 years prior to the current day. timeIntervalStart and timeIntervalEnd parameters are used together. If analysisTimeInterval is specified, this parameter is ignored.
- Parameters:
timeIntervalStart- the value to set- Returns:
- this builder instance
-
timeIntervalEnd
public GetChargebackPlanReportContentRequest.Builder timeIntervalEnd(Date timeIntervalEnd)
Analysis end time in UTC in ISO 8601 format(exclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd are used together. If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- Parameters:
timeIntervalEnd- the value to set- Returns:
- this builder instance
-
relativeTimeInterval
public GetChargebackPlanReportContentRequest.Builder relativeTimeInterval(String relativeTimeInterval)
Specify relative time period with respect to current time.If relativeTimeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. Examples P1M (previous month), P1Q (previous quarter) and P1Y (previous year).
- Parameters:
relativeTimeInterval- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetChargebackPlanReportContentRequest.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 GetChargebackPlanReportContentRequest.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 GetChargebackPlanReportContentRequest.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 GetChargebackPlanReportContentRequest.Builder copy(GetChargebackPlanReportContentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetChargebackPlanReportContentRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetChargebackPlanReportContentRequest build()
Build the instance of GetChargebackPlanReportContentRequest 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:
buildin interfaceBmcRequest.Builder<GetChargebackPlanReportContentRequest,Void>- Returns:
- instance of GetChargebackPlanReportContentRequest
-
buildWithoutInvocationCallback
public GetChargebackPlanReportContentRequest buildWithoutInvocationCallback()
Build the instance of GetChargebackPlanReportContentRequest 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 GetChargebackPlanReportContentRequest
-
-