Class PolicyAssignmentPropertiesPolicy
java.lang.Object
com.azure.resourcemanager.authorization.models.PolicyAssignmentPropertiesPolicy
Details of the policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PolicyAssignmentPropertiesPolicy class. -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Id of the policy.Get the lastModifiedBy property: The name of the entity last modified it.Get the lastModifiedDateTime property: The last modified date time.voidvalidate()Validates the instance.Set the id property: Id of the policy.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The last modified date time.
-
Constructor Details
-
PolicyAssignmentPropertiesPolicy
public PolicyAssignmentPropertiesPolicy()Creates an instance of PolicyAssignmentPropertiesPolicy class.
-
-
Method Details
-
id
Get the id property: Id of the policy.- Returns:
- the id value.
-
withId
Set the id property: Id of the policy.- Parameters:
id- the id value to set.- Returns:
- the PolicyAssignmentPropertiesPolicy object itself.
-
lastModifiedBy
Get the lastModifiedBy property: The name of the entity last modified it.- Returns:
- the lastModifiedBy value.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: The last modified date time.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
public PolicyAssignmentPropertiesPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The last modified date time.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the PolicyAssignmentPropertiesPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-