PolicyPropertiesScope Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. PolicyPropertiesScope
- com.
Implements
public final class PolicyPropertiesScope
implements JsonSerializable<PolicyPropertiesScope>
Details of the resource scope.
Constructor Summary
Constructor | Description |
---|---|
PolicyPropertiesScope() |
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
PolicyPropertiesScope
public PolicyPropertiesScope()
Creates an instance of PolicyPropertiesScope class.
Method Details
displayName
public String displayName()
Get the displayName property: Display name of the resource.
Returns:
fromJson
public static PolicyPropertiesScope fromJson(JsonReader jsonReader)
Reads an instance of PolicyPropertiesScope 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 PolicyPropertiesScope withDisplayName(String displayName)
Set the displayName property: Display name of the resource.
Parameters:
Returns:
withId
public PolicyPropertiesScope withId(String id)
Set the id property: Scope id of the resource.
Parameters:
Returns:
withType
public PolicyPropertiesScope withType(String type)
Set the type property: Type of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java