ExpandedPropertiesPrincipal Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. ExpandedPropertiesPrincipal
- com.
Implements
public final class ExpandedPropertiesPrincipal
implements JsonSerializable<ExpandedPropertiesPrincipal>
Details of the principal.
Constructor Summary
Constructor | Description |
---|---|
ExpandedPropertiesPrincipal() |
Creates an instance of Expanded |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Get the display |
String |
email()
Get the email property: Email id of the principal. |
static
Expanded |
fromJson(JsonReader jsonReader)
Reads an instance of Expanded |
String |
id()
Get the id property: Id of the principal. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the principal. |
void |
validate()
Validates the instance. |
Expanded |
withDisplayName(String displayName)
Set the display |
Expanded |
withEmail(String email)
Set the email property: Email id of the principal. |
Expanded |
withId(String id)
Set the id property: Id of the principal. |
Expanded |
withType(String type)
Set the type property: Type of the principal. |
Methods inherited from java.lang.Object
Constructor Details
ExpandedPropertiesPrincipal
public ExpandedPropertiesPrincipal()
Creates an instance of ExpandedPropertiesPrincipal class.
Method Details
displayName
public String displayName()
Get the displayName property: Display name of the principal.
Returns:
public String email()
Get the email property: Email id of the principal.
Returns:
fromJson
public static ExpandedPropertiesPrincipal fromJson(JsonReader jsonReader)
Reads an instance of ExpandedPropertiesPrincipal from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the principal.
Returns:
toJson
type
public String type()
Get the type property: Type of the principal.
Returns:
validate
public void validate()
Validates the instance.
withDisplayName
public ExpandedPropertiesPrincipal withDisplayName(String displayName)
Set the displayName property: Display name of the principal.
Parameters:
Returns:
withEmail
public ExpandedPropertiesPrincipal withEmail(String email)
Set the email property: Email id of the principal.
Parameters:
Returns:
withId
public ExpandedPropertiesPrincipal withId(String id)
Set the id property: Id of the principal.
Parameters:
Returns:
withType
public ExpandedPropertiesPrincipal withType(String type)
Set the type property: Type of the principal.
Parameters:
Returns:
Applies to
Azure SDK for Java