CustomDomainIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. CustomDomainIdentity
- com.
Implements
public final class CustomDomainIdentity
implements JsonSerializable<CustomDomainIdentity>
The identity information for retrieving the certificate for the custom domain.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomDomainIdentity() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Custom |
type()
Get the type property: The type of managed identity used. |
| String |
userAssignedIdentity()
Get the user |
| void |
validate()
Validates the instance. |
|
Custom |
withType(CustomDomainIdentityType type)
Set the type property: The type of managed identity used. |
|
Custom |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
CustomDomainIdentity
public CustomDomainIdentity()
Creates an instance of CustomDomainIdentity class.
Method Details
fromJson
public static CustomDomainIdentity fromJson(JsonReader jsonReader)
Reads an instance of CustomDomainIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public CustomDomainIdentityType type()
Get the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Returns:
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The user identity associated with the resource.
Returns:
validate
public void validate()
Validates the instance.
withType
public CustomDomainIdentity withType(CustomDomainIdentityType type)
Set the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Parameters:
Returns:
withUserAssignedIdentity
public CustomDomainIdentity withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The user identity associated with the resource.
Parameters:
Returns: