public static class MetricExtensionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricExtensionSummary |
build() |
MetricExtensionSummary.Builder |
collectionMethod(MetricExtensionCollectionMethods collectionMethod)
Type of possible collection methods.
|
MetricExtensionSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier
OCID
|
MetricExtensionSummary.Builder |
copy(MetricExtensionSummary model) |
MetricExtensionSummary.Builder |
description(String description)
Description of the metric extension.
|
MetricExtensionSummary.Builder |
displayName(String displayName)
Metric Extension resource display name.
|
MetricExtensionSummary.Builder |
enabledOnResourcesCount(Integer enabledOnResourcesCount)
Count of resources on which this metric extension is enabled.
|
MetricExtensionSummary.Builder |
id(String id)
The OCID of
metric extension.
|
MetricExtensionSummary.Builder |
lifecycleState(MetricExtensionLifeCycleStates lifecycleState)
The current lifecycle state of the metric extension
|
MetricExtensionSummary.Builder |
name(String name)
Metric Extension Resource name.
|
MetricExtensionSummary.Builder |
resourceType(String resourceType)
Resource type to which Metric Extension applies
|
MetricExtensionSummary.Builder |
resourceUri(String resourceUri)
The URI path that the user can do a GET on to access the metric extension metadata
|
MetricExtensionSummary.Builder |
status(MetricExtensionLifeCycleDetails status)
The current state of the metric extension.
|
MetricExtensionSummary.Builder |
timeCreated(Date timeCreated)
Metric Extension creation time.
|
MetricExtensionSummary.Builder |
timeUpdated(Date timeUpdated)
Metric Extension updation time.
|
public MetricExtensionSummary.Builder id(String id)
The OCID of metric extension.
id
- the value to setpublic MetricExtensionSummary.Builder name(String name)
Metric Extension Resource name.
name
- the value to setpublic MetricExtensionSummary.Builder displayName(String displayName)
Metric Extension resource display name.
displayName
- the value to setpublic MetricExtensionSummary.Builder description(String description)
Description of the metric extension.
description
- the value to setpublic MetricExtensionSummary.Builder resourceType(String resourceType)
Resource type to which Metric Extension applies
resourceType
- the value to setpublic MetricExtensionSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID
compartmentId
- the value to setpublic MetricExtensionSummary.Builder status(MetricExtensionLifeCycleDetails status)
The current state of the metric extension.
status
- the value to setpublic MetricExtensionSummary.Builder lifecycleState(MetricExtensionLifeCycleStates lifecycleState)
The current lifecycle state of the metric extension
lifecycleState
- the value to setpublic MetricExtensionSummary.Builder timeCreated(Date timeCreated)
Metric Extension creation time. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic MetricExtensionSummary.Builder timeUpdated(Date timeUpdated)
Metric Extension updation time. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic MetricExtensionSummary.Builder collectionMethod(MetricExtensionCollectionMethods collectionMethod)
Type of possible collection methods.
collectionMethod
- the value to setpublic MetricExtensionSummary.Builder enabledOnResourcesCount(Integer enabledOnResourcesCount)
Count of resources on which this metric extension is enabled.
enabledOnResourcesCount
- the value to setpublic MetricExtensionSummary.Builder resourceUri(String resourceUri)
The URI path that the user can do a GET on to access the metric extension metadata
resourceUri
- the value to setpublic MetricExtensionSummary build()
public MetricExtensionSummary.Builder copy(MetricExtensionSummary model)
Copyright © 2016–2024. All rights reserved.