public static class UpdateMonitoredResourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateMonitoredResourceDetails.Builder displayName(String displayName)
Monitored resource display name.
displayName
- the value to setpublic UpdateMonitoredResourceDetails.Builder hostName(String hostName)
Host name of the monitored resource.
hostName
- the value to setpublic UpdateMonitoredResourceDetails.Builder resourceTimeZone(String resourceTimeZone)
Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
resourceTimeZone
- the value to setpublic UpdateMonitoredResourceDetails.Builder properties(List<MonitoredResourceProperty> properties)
List of monitored resource properties.
properties
- the value to setpublic UpdateMonitoredResourceDetails.Builder databaseConnectionDetails(ConnectionDetails databaseConnectionDetails)
public UpdateMonitoredResourceDetails.Builder credentials(MonitoredResourceCredential credentials)
public UpdateMonitoredResourceDetails.Builder aliases(MonitoredResourceAliasCredential aliases)
public UpdateMonitoredResourceDetails.Builder additionalCredentials(List<MonitoredResourceCredential> additionalCredentials)
List of MonitoredResourceCredentials. This property complements the existing “credentials” property by allowing user to specify more than one credential. If both “credential” and “additionalCredentials” are specified, union of the values is used as list of credentials applicable for this resource. If any duplicate found in the combined list of “credentials” and “additionalCredentials”, an error will be thrown.
additionalCredentials
- the value to setpublic UpdateMonitoredResourceDetails.Builder additionalAliases(List<MonitoredResourceAliasCredential> additionalAliases)
List of MonitoredResourceAliasCredentials. This property complements the existing “aliases” property by allowing user to specify more than one credential alias. If both “aliases” and “additionalAliases” are specified, union of the values is used as list of aliases applicable for this resource. If any duplicate found in the combined list of “alias” and “additionalAliases”, an error will be thrown.
additionalAliases
- the value to setpublic UpdateMonitoredResourceDetails.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 UpdateMonitoredResourceDetails.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 UpdateMonitoredResourceDetails build()
public UpdateMonitoredResourceDetails.Builder copy(UpdateMonitoredResourceDetails model)
Copyright © 2016–2024. All rights reserved.