214 строки
16 KiB
YAML
214 строки
16 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner"
|
|
name: "LongTermRetentionPolicyInner"
|
|
nameWithType: "LongTermRetentionPolicyInner"
|
|
summary: "A long term retention policy."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.management.ProxyResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.management.ProxyResource?alt=com.azure.core.management.ProxyResource&text=ProxyResource\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.management.ProxyResource.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.ProxyResource.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.management.ProxyResource.id()?alt=com.azure.core.management.ProxyResource.id&text=id\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.management.ProxyResource.name()?alt=com.azure.core.management.ProxyResource.name&text=name\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.management.ProxyResource.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.ProxyResource.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.management.ProxyResource.type()?alt=com.azure.core.management.ProxyResource.type&text=type\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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 **LongTermRetentionPolicyInner**</br> extends <xref href=\"com.azure.core.management.ProxyResource?alt=com.azure.core.management.ProxyResource&text=ProxyResource\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.LongTermRetentionPolicyInner()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.LongTermRetentionPolicyInner()"
|
|
name: "LongTermRetentionPolicyInner()"
|
|
nameWithType: "LongTermRetentionPolicyInner.LongTermRetentionPolicyInner()"
|
|
summary: "Creates an instance of Long<wbr>Term<wbr>Retention<wbr>Policy<wbr>Inner class."
|
|
syntax: "public LongTermRetentionPolicyInner()"
|
|
desc: "Creates an instance of LongTermRetentionPolicyInner class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "LongTermRetentionPolicyInner.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Long<wbr>Term<wbr>Retention<wbr>Policy<wbr>Inner 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 LongTermRetentionPolicyInner fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of LongTermRetentionPolicyInner from the JsonReader."
|
|
returns:
|
|
description: "An instance of LongTermRetentionPolicyInner if the JsonReader was pointing to an instance of it, or null\n if it was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner?alt=com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner&text=LongTermRetentionPolicyInner\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.id()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.id()"
|
|
name: "id()"
|
|
nameWithType: "LongTermRetentionPolicyInner.id()"
|
|
summary: "Get the id property: Fully qualified resource Id for the resource."
|
|
overridden: "com.azure.core.management.ProxyResource.id()"
|
|
syntax: "public String id()"
|
|
desc: "Get the id property: Fully qualified resource Id for the resource."
|
|
returns:
|
|
description: "the id value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.monthlyRetention()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.monthlyRetention()"
|
|
name: "monthlyRetention()"
|
|
nameWithType: "LongTermRetentionPolicyInner.monthlyRetention()"
|
|
summary: "Get the monthly<wbr>Retention property: The monthly retention policy for an LTR backup in an ISO 8601 format."
|
|
syntax: "public String monthlyRetention()"
|
|
desc: "Get the monthlyRetention property: The monthly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the monthlyRetention value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.name()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.name()"
|
|
name: "name()"
|
|
nameWithType: "LongTermRetentionPolicyInner.name()"
|
|
summary: "Get the name property: The name of the resource."
|
|
overridden: "com.azure.core.management.ProxyResource.name()"
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The name of the resource."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "LongTermRetentionPolicyInner.toJson(JsonWriter jsonWriter)"
|
|
overridden: "com.azure.core.management.ProxyResource.toJson(com.azure.json.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.sql.fluent.models.LongTermRetentionPolicyInner.type()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.type()"
|
|
name: "type()"
|
|
nameWithType: "LongTermRetentionPolicyInner.type()"
|
|
summary: "Get the type property: The type of the resource."
|
|
overridden: "com.azure.core.management.ProxyResource.type()"
|
|
syntax: "public String type()"
|
|
desc: "Get the type property: The type of the resource."
|
|
returns:
|
|
description: "the type value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.validate()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.validate()"
|
|
name: "validate()"
|
|
nameWithType: "LongTermRetentionPolicyInner.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.weekOfYear()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.weekOfYear()"
|
|
name: "weekOfYear()"
|
|
nameWithType: "LongTermRetentionPolicyInner.weekOfYear()"
|
|
summary: "Get the week<wbr>OfYear property: The week of year to take the yearly backup in an ISO 8601 format."
|
|
syntax: "public Integer weekOfYear()"
|
|
desc: "Get the weekOfYear property: The week of year to take the yearly backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the weekOfYear value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.weeklyRetention()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.weeklyRetention()"
|
|
name: "weeklyRetention()"
|
|
nameWithType: "LongTermRetentionPolicyInner.weeklyRetention()"
|
|
summary: "Get the weekly<wbr>Retention property: The weekly retention policy for an LTR backup in an ISO 8601 format."
|
|
syntax: "public String weeklyRetention()"
|
|
desc: "Get the weeklyRetention property: The weekly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the weeklyRetention value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withMonthlyRetention(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withMonthlyRetention(String monthlyRetention)"
|
|
name: "withMonthlyRetention(String monthlyRetention)"
|
|
nameWithType: "LongTermRetentionPolicyInner.withMonthlyRetention(String monthlyRetention)"
|
|
summary: "Set the monthly<wbr>Retention property: The monthly retention policy for an LTR backup in an ISO 8601 format."
|
|
parameters:
|
|
- description: "the monthlyRetention value to set."
|
|
name: "monthlyRetention"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongTermRetentionPolicyInner withMonthlyRetention(String monthlyRetention)"
|
|
desc: "Set the monthlyRetention property: The monthly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the LongTermRetentionPolicyInner object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner?alt=com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner&text=LongTermRetentionPolicyInner\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withWeekOfYear(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withWeekOfYear(Integer weekOfYear)"
|
|
name: "withWeekOfYear(Integer weekOfYear)"
|
|
nameWithType: "LongTermRetentionPolicyInner.withWeekOfYear(Integer weekOfYear)"
|
|
summary: "Set the week<wbr>OfYear property: The week of year to take the yearly backup in an ISO 8601 format."
|
|
parameters:
|
|
- description: "the weekOfYear value to set."
|
|
name: "weekOfYear"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public LongTermRetentionPolicyInner withWeekOfYear(Integer weekOfYear)"
|
|
desc: "Set the weekOfYear property: The week of year to take the yearly backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the LongTermRetentionPolicyInner object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner?alt=com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner&text=LongTermRetentionPolicyInner\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withWeeklyRetention(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withWeeklyRetention(String weeklyRetention)"
|
|
name: "withWeeklyRetention(String weeklyRetention)"
|
|
nameWithType: "LongTermRetentionPolicyInner.withWeeklyRetention(String weeklyRetention)"
|
|
summary: "Set the weekly<wbr>Retention property: The weekly retention policy for an LTR backup in an ISO 8601 format."
|
|
parameters:
|
|
- description: "the weeklyRetention value to set."
|
|
name: "weeklyRetention"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongTermRetentionPolicyInner withWeeklyRetention(String weeklyRetention)"
|
|
desc: "Set the weeklyRetention property: The weekly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the LongTermRetentionPolicyInner object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner?alt=com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner&text=LongTermRetentionPolicyInner\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withYearlyRetention(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.withYearlyRetention(String yearlyRetention)"
|
|
name: "withYearlyRetention(String yearlyRetention)"
|
|
nameWithType: "LongTermRetentionPolicyInner.withYearlyRetention(String yearlyRetention)"
|
|
summary: "Set the yearly<wbr>Retention property: The yearly retention policy for an LTR backup in an ISO 8601 format."
|
|
parameters:
|
|
- description: "the yearlyRetention value to set."
|
|
name: "yearlyRetention"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LongTermRetentionPolicyInner withYearlyRetention(String yearlyRetention)"
|
|
desc: "Set the yearlyRetention property: The yearly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the LongTermRetentionPolicyInner object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner?alt=com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner&text=LongTermRetentionPolicyInner\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.yearlyRetention()"
|
|
fullName: "com.azure.resourcemanager.sql.fluent.models.LongTermRetentionPolicyInner.yearlyRetention()"
|
|
name: "yearlyRetention()"
|
|
nameWithType: "LongTermRetentionPolicyInner.yearlyRetention()"
|
|
summary: "Get the yearly<wbr>Retention property: The yearly retention policy for an LTR backup in an ISO 8601 format."
|
|
syntax: "public String yearlyRetention()"
|
|
desc: "Get the yearlyRetention property: The yearly retention policy for an LTR backup in an ISO 8601 format."
|
|
returns:
|
|
description: "the yearlyRetention value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
type: "class"
|
|
desc: "A long term retention policy."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.sql.fluent.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-sql:2.44.0
|