### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerregistry.models.Actor"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor"
name: "Actor"
nameWithType: "Actor"
summary: "The agent that initiated the event."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Actor** implements <>"
constructors:
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.Actor()"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.Actor()"
name: "Actor()"
nameWithType: "Actor.Actor()"
summary: "Creates an instance of Actor class."
syntax: "public Actor()"
desc: "Creates an instance of Actor class."
methods:
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Actor.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Actor from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Actor fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Actor."
type: "IOException"
desc: "Reads an instance of Actor from the JsonReader."
returns:
description: "An instance of Actor if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.name()"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.name()"
name: "name()"
nameWithType: "Actor.name()"
summary: "Get the name property: The subject or username associated with the request context that generated the event."
syntax: "public String name()"
desc: "Get the name property: The subject or username associated with the request context that generated the event."
returns:
description: "the name value."
type: "String"
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Actor.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.validate()"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.validate()"
name: "validate()"
nameWithType: "Actor.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.containerregistry.models.Actor.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.containerregistry.models.Actor.withName(String name)"
name: "withName(String name)"
nameWithType: "Actor.withName(String name)"
summary: "Set the name property: The subject or username associated with the request context that generated the event."
parameters:
- description: "the name value to set."
name: "name"
type: "String"
syntax: "public Actor withName(String name)"
desc: "Set the name property: The subject or username associated with the request context that generated the event."
returns:
description: "the Actor object itself."
type: ""
type: "class"
desc: "The agent that initiated the event. For most situations, this could be from the authorization context of the request."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.containerregistry.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.44.0