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

160 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword"
name: "TokenPassword"
nameWithType: "TokenPassword"
summary: "The password that will be used for authenticating the token of a container registry."
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 **TokenPassword**</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.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.TokenPassword()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.TokenPassword()"
name: "TokenPassword()"
nameWithType: "TokenPassword.TokenPassword()"
summary: "Creates an instance of Token<wbr>Password class."
syntax: "public TokenPassword()"
desc: "Creates an instance of TokenPassword class."
methods:
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.creationTime()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.creationTime()"
name: "creationTime()"
nameWithType: "TokenPassword.creationTime()"
summary: "Get the creation<wbr>Time property: The creation datetime of the password."
syntax: "public OffsetDateTime creationTime()"
desc: "Get the creationTime property: The creation datetime of the password."
returns:
description: "the creationTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.expiry()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.expiry()"
name: "expiry()"
nameWithType: "TokenPassword.expiry()"
summary: "Get the expiry property: The expiry datetime of the password."
syntax: "public OffsetDateTime expiry()"
desc: "Get the expiry property: The expiry datetime of the password."
returns:
description: "the expiry value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "TokenPassword.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Token<wbr>Password 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 TokenPassword fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the TokenPassword."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of TokenPassword from the JsonReader."
returns:
description: "An instance of TokenPassword 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.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.name()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.name()"
name: "name()"
nameWithType: "TokenPassword.name()"
summary: "Get the name property: The password name \"password1\" or \"password2\"."
syntax: "public TokenPasswordName name()"
desc: "Get the name property: The password name \"password1\" or \"password2\"."
returns:
description: "the name value."
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TokenPasswordName?alt=com.azure.resourcemanager.containerregistry.models.TokenPasswordName&text=TokenPasswordName\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "TokenPassword.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.containerregistry.models.TokenPassword.validate()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.validate()"
name: "validate()"
nameWithType: "TokenPassword.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.value()"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.value()"
name: "value()"
nameWithType: "TokenPassword.value()"
summary: "Get the value property: The password value."
syntax: "public String value()"
desc: "Get the value property: The password value."
returns:
description: "the value value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withCreationTime(java.time.OffsetDateTime)"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withCreationTime(OffsetDateTime creationTime)"
name: "withCreationTime(OffsetDateTime creationTime)"
nameWithType: "TokenPassword.withCreationTime(OffsetDateTime creationTime)"
summary: "Set the creation<wbr>Time property: The creation datetime of the password."
parameters:
- description: "the creationTime value to set."
name: "creationTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public TokenPassword withCreationTime(OffsetDateTime creationTime)"
desc: "Set the creationTime property: The creation datetime of the password."
returns:
description: "the TokenPassword object itself."
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withExpiry(java.time.OffsetDateTime)"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withExpiry(OffsetDateTime expiry)"
name: "withExpiry(OffsetDateTime expiry)"
nameWithType: "TokenPassword.withExpiry(OffsetDateTime expiry)"
summary: "Set the expiry property: The expiry datetime of the password."
parameters:
- description: "the expiry value to set."
name: "expiry"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public TokenPassword withExpiry(OffsetDateTime expiry)"
desc: "Set the expiry property: The expiry datetime of the password."
returns:
description: "the TokenPassword object itself."
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withName(com.azure.resourcemanager.containerregistry.models.TokenPasswordName)"
fullName: "com.azure.resourcemanager.containerregistry.models.TokenPassword.withName(TokenPasswordName name)"
name: "withName(TokenPasswordName name)"
nameWithType: "TokenPassword.withName(TokenPasswordName name)"
summary: "Set the name property: The password name \"password1\" or \"password2\"."
parameters:
- description: "the name value to set."
name: "name"
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TokenPasswordName?alt=com.azure.resourcemanager.containerregistry.models.TokenPasswordName&text=TokenPasswordName\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TokenPassword withName(TokenPasswordName name)"
desc: "Set the name property: The password name \"password1\" or \"password2\"."
returns:
description: "the TokenPassword object itself."
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The password that will be used for authenticating the token of a container registry."
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.containerregistry.models.TokenPassword?alt=com.azure.resourcemanager.containerregistry.models.TokenPassword&text=TokenPassword\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.containerregistry.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.44.0