### YamlMime:JavaType uid: "com.azure.resourcemanager.dataprotection.models.CopyOption" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption" name: "CopyOption" nameWithType: "CopyOption" summary: "CopyOption Options to copy." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **CopyOption**
implements <>" constructors: - uid: "com.azure.resourcemanager.dataprotection.models.CopyOption.CopyOption()" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption.CopyOption()" name: "CopyOption()" nameWithType: "CopyOption.CopyOption()" summary: "Creates an instance of CopyOption class." syntax: "public CopyOption()" desc: "Creates an instance of CopyOption class." methods: - uid: "com.azure.resourcemanager.dataprotection.models.CopyOption.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "CopyOption.fromJson(JsonReader jsonReader)" summary: "Reads an instance of CopyOption from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static CopyOption fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the CopyOption." type: "IOException" desc: "Reads an instance of CopyOption from the JsonReader." returns: description: "An instance of CopyOption if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null." type: "" - uid: "com.azure.resourcemanager.dataprotection.models.CopyOption.objectType()" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption.objectType()" name: "objectType()" nameWithType: "CopyOption.objectType()" summary: "Get the objectType property: Type of the specific object - used for deserializing." syntax: "public String objectType()" desc: "Get the objectType property: Type of the specific object - used for deserializing." returns: description: "the objectType value." type: "String" - uid: "com.azure.resourcemanager.dataprotection.models.CopyOption.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "CopyOption.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.dataprotection.models.CopyOption.validate()" fullName: "com.azure.resourcemanager.dataprotection.models.CopyOption.validate()" name: "validate()" nameWithType: "CopyOption.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." type: "class" desc: "CopyOption Options to copy." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.dataprotection.models" artifact: com.azure.resourcemanager:azure-resourcemanager-dataprotection:1.3.0