public static class TopUtilizedResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TopUtilizedResourceSummary |
build() |
TopUtilizedResourceSummary.Builder |
copy(TopUtilizedResourceSummary model) |
TopUtilizedResourceSummary.Builder |
resourceCompartmentId(String resourceCompartmentId)
The compartment
OCID that
contains the resource.
|
TopUtilizedResourceSummary.Builder |
resourceCompartmentName(String resourceCompartmentName)
The display name of the compartment that contains the resource.
|
TopUtilizedResourceSummary.Builder |
resourceId(String resourceId)
The OCID
of the resource.
|
TopUtilizedResourceSummary.Builder |
resourceName(String resourceName)
Resource canonical name.
|
TopUtilizedResourceSummary.Builder |
totalUnits(Double totalUnits)
Number of license units consumed by the resource.
|
TopUtilizedResourceSummary.Builder |
unitType(ResourceUnit unitType)
The resource unit.
|
public TopUtilizedResourceSummary.Builder resourceId(String resourceId)
The OCID of the resource.
resourceId
- the value to setpublic TopUtilizedResourceSummary.Builder resourceName(String resourceName)
Resource canonical name.
resourceName
- the value to setpublic TopUtilizedResourceSummary.Builder resourceCompartmentId(String resourceCompartmentId)
The compartment OCID that contains the resource.
resourceCompartmentId
- the value to setpublic TopUtilizedResourceSummary.Builder resourceCompartmentName(String resourceCompartmentName)
The display name of the compartment that contains the resource.
resourceCompartmentName
- the value to setpublic TopUtilizedResourceSummary.Builder totalUnits(Double totalUnits)
Number of license units consumed by the resource.
totalUnits
- the value to setpublic TopUtilizedResourceSummary.Builder unitType(ResourceUnit unitType)
The resource unit.
unitType
- the value to setpublic TopUtilizedResourceSummary build()
public TopUtilizedResourceSummary.Builder copy(TopUtilizedResourceSummary model)
Copyright © 2016–2024. All rights reserved.