azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.d...

126 строки
9.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting"
name: "StorageSetting"
nameWithType: "StorageSetting"
summary: "Storage<wbr>Setting Storage setting."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **StorageSetting**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSetting?alt=com.azure.resourcemanager.dataprotection.models.StorageSetting&text=StorageSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.StorageSetting()"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.StorageSetting()"
name: "StorageSetting()"
nameWithType: "StorageSetting.StorageSetting()"
summary: "Creates an instance of Storage<wbr>Setting class."
syntax: "public StorageSetting()"
desc: "Creates an instance of StorageSetting class."
methods:
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.datastoreType()"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.datastoreType()"
name: "datastoreType()"
nameWithType: "StorageSetting.datastoreType()"
summary: "Get the datastore<wbr>Type property: Gets or sets the type of the datastore."
syntax: "public StorageSettingStoreTypes datastoreType()"
desc: "Get the datastoreType property: Gets or sets the type of the datastore."
returns:
description: "the datastoreType value."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSettingStoreTypes?alt=com.azure.resourcemanager.dataprotection.models.StorageSettingStoreTypes&text=StorageSettingStoreTypes\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "StorageSetting.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Storage<wbr>Setting from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static StorageSetting fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the StorageSetting."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of StorageSetting from the JsonReader."
returns:
description: "An instance of StorageSetting if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSetting?alt=com.azure.resourcemanager.dataprotection.models.StorageSetting&text=StorageSetting\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "StorageSetting.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.type()"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.type()"
name: "type()"
nameWithType: "StorageSetting.type()"
summary: "Get the type property: Gets or sets the type."
syntax: "public StorageSettingTypes type()"
desc: "Get the type property: Gets or sets the type."
returns:
description: "the type value."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSettingTypes?alt=com.azure.resourcemanager.dataprotection.models.StorageSettingTypes&text=StorageSettingTypes\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.validate()"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.validate()"
name: "validate()"
nameWithType: "StorageSetting.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.withDatastoreType(com.azure.resourcemanager.dataprotection.models.StorageSettingStoreTypes)"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.withDatastoreType(StorageSettingStoreTypes datastoreType)"
name: "withDatastoreType(StorageSettingStoreTypes datastoreType)"
nameWithType: "StorageSetting.withDatastoreType(StorageSettingStoreTypes datastoreType)"
summary: "Set the datastore<wbr>Type property: Gets or sets the type of the datastore."
parameters:
- description: "the datastoreType value to set."
name: "datastoreType"
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSettingStoreTypes?alt=com.azure.resourcemanager.dataprotection.models.StorageSettingStoreTypes&text=StorageSettingStoreTypes\" data-throw-if-not-resolved=\"False\" />"
syntax: "public StorageSetting withDatastoreType(StorageSettingStoreTypes datastoreType)"
desc: "Set the datastoreType property: Gets or sets the type of the datastore."
returns:
description: "the StorageSetting object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSetting?alt=com.azure.resourcemanager.dataprotection.models.StorageSetting&text=StorageSetting\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.StorageSetting.withType(com.azure.resourcemanager.dataprotection.models.StorageSettingTypes)"
fullName: "com.azure.resourcemanager.dataprotection.models.StorageSetting.withType(StorageSettingTypes type)"
name: "withType(StorageSettingTypes type)"
nameWithType: "StorageSetting.withType(StorageSettingTypes type)"
summary: "Set the type property: Gets or sets the type."
parameters:
- description: "the type value to set."
name: "type"
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSettingTypes?alt=com.azure.resourcemanager.dataprotection.models.StorageSettingTypes&text=StorageSettingTypes\" data-throw-if-not-resolved=\"False\" />"
syntax: "public StorageSetting withType(StorageSettingTypes type)"
desc: "Set the type property: Gets or sets the type."
returns:
description: "the StorageSetting object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSetting?alt=com.azure.resourcemanager.dataprotection.models.StorageSetting&text=StorageSetting\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "StorageSetting Storage setting."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.dataprotection.models.StorageSetting?alt=com.azure.resourcemanager.dataprotection.models.StorageSetting&text=StorageSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.dataprotection.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-dataprotection:1.3.0