public final class ArmRoleReceiver extends Object
| Constructor and Description |
|---|
ArmRoleReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The name of the arm role receiver.
|
String |
roleId()
Get the roleId property: The arm role id.
|
boolean |
useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
void |
validate()
Validates the instance.
|
ArmRoleReceiver |
withName(String name)
Set the name property: The name of the arm role receiver.
|
ArmRoleReceiver |
withRoleId(String roleId)
Set the roleId property: The arm role id.
|
ArmRoleReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
public String name()
public ArmRoleReceiver withName(String name)
name - the name value to set.public String roleId()
public ArmRoleReceiver withRoleId(String roleId)
roleId - the roleId value to set.public boolean useCommonAlertSchema()
public ArmRoleReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.