public static class SystemFormatResourceTypeMetadataDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public SystemFormatResourceTypeMetadataDetails.Builder requiredProperties(List<String> requiredProperties)
List of required properties for resource type.
requiredProperties
- the value to setpublic SystemFormatResourceTypeMetadataDetails.Builder agentProperties(List<String> agentProperties)
List of properties needed by the agent for monitoring the resource. Valid only if resource type is OCI management agent based. When specified, these properties are passed to the management agent during resource create or update.
agentProperties
- the value to setpublic SystemFormatResourceTypeMetadataDetails.Builder validPropertiesForCreate(List<String> validPropertiesForCreate)
List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
validPropertiesForCreate
- the value to setpublic SystemFormatResourceTypeMetadataDetails.Builder validPropertiesForUpdate(List<String> validPropertiesForUpdate)
List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
validPropertiesForUpdate
- the value to setpublic SystemFormatResourceTypeMetadataDetails.Builder uniquePropertySets(List<UniquePropertySet> uniquePropertySets)
List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
uniquePropertySets
- the value to setpublic SystemFormatResourceTypeMetadataDetails.Builder validPropertyValues(Map<String,List<String>> validPropertyValues)
List of valid values for the properties. This is useful when resource type wants to
restrict only certain values for some properties. For instance for ‘osType’ property,
supported values can be restricted to be either Linux or Windows. Example: {
"osType": ["Linux","Windows","Solaris"]}
validPropertyValues
- the value to setpublic SystemFormatResourceTypeMetadataDetails build()
public SystemFormatResourceTypeMetadataDetails.Builder copy(SystemFormatResourceTypeMetadataDetails model)
Copyright © 2016–2024. All rights reserved.