PolicyAssignmentPropertiesPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. PolicyAssignmentPropertiesPolicy
- com.
Implements
public final class PolicyAssignmentPropertiesPolicy
implements JsonSerializable<PolicyAssignmentPropertiesPolicy>
Details of the policy.
Constructor Summary
Constructor | Description |
---|---|
PolicyAssignmentPropertiesPolicy() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
String |
id()
Get the id property: Id of the policy. |
Principal |
lastModifiedBy()
Get the last |
Offset |
lastModifiedDateTime()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Policy |
withId(String id)
Set the id property: Id of the policy. |
Policy |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Methods inherited from java.lang.Object
Constructor Details
PolicyAssignmentPropertiesPolicy
public PolicyAssignmentPropertiesPolicy()
Creates an instance of PolicyAssignmentPropertiesPolicy class.
Method Details
fromJson
public static PolicyAssignmentPropertiesPolicy fromJson(JsonReader jsonReader)
Reads an instance of PolicyAssignmentPropertiesPolicy from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the policy.
Returns:
lastModifiedBy
public Principal lastModifiedBy()
Get the lastModifiedBy property: The name of the entity last modified it.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The last modified date time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public PolicyAssignmentPropertiesPolicy withId(String id)
Set the id property: Id of the policy.
Parameters:
Returns:
withLastModifiedDateTime
public PolicyAssignmentPropertiesPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The last modified date time.
Parameters:
Returns:
Applies to
Azure SDK for Java