public static class MonitoredResourceAssociation.Builder extends Object
Constructor and Description |
---|
Builder() |
public MonitoredResourceAssociation.Builder associationType(String associationType)
Association Type.
associationType
- the value to setpublic MonitoredResourceAssociation.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic MonitoredResourceAssociation.Builder tenantId(String tenantId)
Tenancy Identifier OCID.
tenantId
- the value to setpublic MonitoredResourceAssociation.Builder sourceResourceId(String sourceResourceId)
Source Monitored Resource Identifier OCID.
sourceResourceId
- the value to setpublic MonitoredResourceAssociation.Builder destinationResourceId(String destinationResourceId)
Destination Monitored Resource Identifier OCID.
destinationResourceId
- the value to setpublic MonitoredResourceAssociation.Builder sourceResourceDetails(AssociationResourceDetails sourceResourceDetails)
public MonitoredResourceAssociation.Builder destinationResourceDetails(AssociationResourceDetails destinationResourceDetails)
public MonitoredResourceAssociation.Builder timeCreated(Date timeCreated)
The time when the association was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MonitoredResourceAssociation.Builder category(MonitoredResourceAssociation.Category category)
Association category. Possible values are: - System created (SYSTEM), - User created using API (USER_API) - User created using tags (USER_TAG_ASSOC).
category
- the value to setpublic MonitoredResourceAssociation.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic MonitoredResourceAssociation.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic MonitoredResourceAssociation.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MonitoredResourceAssociation build()
public MonitoredResourceAssociation.Builder copy(MonitoredResourceAssociation model)
Copyright © 2016–2024. All rights reserved.