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