@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
).
Modifier and Type | Class and Description |
---|---|
static class |
SystemFormatResourceTypeMetadataDetails.Builder |
ResourceTypeMetadataDetails.Format
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SystemFormatResourceTypeMetadataDetails(List<String> requiredProperties,
List<String> agentProperties,
List<String> validPropertiesForCreate,
List<String> validPropertiesForUpdate,
List<UniquePropertySet> uniquePropertySets,
Map<String,List<String>> validPropertyValues)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SystemFormatResourceTypeMetadataDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getAgentProperties()
List of properties needed by the agent for monitoring the resource.
|
List<String> |
getRequiredProperties()
List of required properties for resource type.
|
List<UniquePropertySet> |
getUniquePropertySets()
List of property sets used to uniquely identify the resources.
|
List<String> |
getValidPropertiesForCreate()
List of valid properties for resource type while creating the monitored resource.
|
List<String> |
getValidPropertiesForUpdate()
List of valid properties for resource type while updating the monitored resource.
|
Map<String,List<String>> |
getValidPropertyValues()
List of valid values for the properties.
|
int |
hashCode() |
SystemFormatResourceTypeMetadataDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public SystemFormatResourceTypeMetadataDetails(List<String> requiredProperties, List<String> agentProperties, List<String> validPropertiesForCreate, List<String> validPropertiesForUpdate, List<UniquePropertySet> uniquePropertySets, Map<String,List<String>> validPropertyValues)
public static SystemFormatResourceTypeMetadataDetails.Builder builder()
Create a new builder.
public SystemFormatResourceTypeMetadataDetails.Builder toBuilder()
public List<String> getRequiredProperties()
List of required properties for resource type.
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.
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.
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.
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.
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"]}
public String toString()
toString
in class ResourceTypeMetadataDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ResourceTypeMetadataDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ResourceTypeMetadataDetails
public int hashCode()
hashCode
in class ResourceTypeMetadataDetails
Copyright © 2016–2024. All rights reserved.