Class SystemFormatResourceTypeMetadataDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210330")
    public final class SystemFormatResourceTypeMetadataDetails
    extends ResourceTypeMetadataDetails
    The resource type metadata is defined in machine friendly format.
    Note: Objects should always be created or deserialized using the SystemFormatResourceTypeMetadataDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the SystemFormatResourceTypeMetadataDetails.Builder, which maintain a set of all explicitly set fields called SystemFormatResourceTypeMetadataDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getRequiredProperties

        public List<String> getRequiredProperties()
        List of required properties for resource type.
        Returns:
        the value
      • getAgentProperties

        public List<String> getAgentProperties()
        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.

        Returns:
        the value
      • getValidPropertiesForCreate

        public List<String> getValidPropertiesForCreate()
        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.

        Returns:
        the value
      • getValidPropertiesForUpdate

        public List<String> getValidPropertiesForUpdate()
        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.

        Returns:
        the value
      • getUniquePropertySets

        public List<UniquePropertySet> getUniquePropertySets()
        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.

        Returns:
        the value
      • getValidPropertyValues

        public Map<String,​List<String>> getValidPropertyValues()
        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”]}

        Returns:
        the value
      • getValidSubResourceTypes

        public List<String> getValidSubResourceTypes()
        List of valid sub-resource types for a composite resource type.

        The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class ResourceTypeMetadataDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation