toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceAttribute.properties:
      return 'Properties';
    case ResourceAttribute.metadata:
      return 'Metadata';
    case ResourceAttribute.creationPolicy:
      return 'CreationPolicy';
    case ResourceAttribute.updatePolicy:
      return 'UpdatePolicy';
    case ResourceAttribute.deletionPolicy:
      return 'DeletionPolicy';
    case ResourceAttribute.tags:
      return 'Tags';
  }
}