AccessReviewDecisionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewDecisionProperties
- com.
Implements
public final class AccessReviewDecisionProperties
implements JsonSerializable<AccessReviewDecisionProperties>
Approval Step.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewDecisionProperties() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
appliedDateTime()
Get the applied |
|
Access |
applyResult()
Get the apply |
|
Access |
decision()
Get the decision property: The decision on the approval step. |
| String |
displayName()
Get the display |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
id()
Get the id property: The id of resource associated with a decision record. |
|
List<Access |
insights()
Get the insights property: This is the collection of insights for this decision item. |
| String |
justification()
Get the justification property: Justification provided by approvers for their action. |
|
List<Access |
membershipTypes()
Get the membership |
|
Access |
principal()
Get the principal property: Principal associated with the decision record. |
| String |
principalId()
Get the principal |
| String |
principalIdAppliedByPrincipalId()
Get the principal |
| String |
principalName()
Get the principal |
| String |
principalNameAppliedByPrincipalName()
Get the principal |
|
Access |
principalType()
Get the principal |
|
Access |
principalTypeAppliedByPrincipalType()
Get the principal |
|
Access |
recommendation()
Get the recommendation property: The feature- generated recommendation shown to the reviewer. |
|
Offset |
reviewedDateTime()
Get the reviewed |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Decision |
type()
Get the type property: The type of resource. |
| String |
userPrincipalName()
Get the user |
| String |
userPrincipalNameAppliedByUserPrincipalName()
Get the user |
| void |
validate()
Validates the instance. |
|
Access |
withDecision(AccessReviewResult decision)
Set the decision property: The decision on the approval step. |
|
Access |
withInsights(List<AccessReviewDecisionInsight> insights)
Set the insights property: This is the collection of insights for this decision item. |
|
Access |
withJustification(String justification)
Set the justification property: Justification provided by approvers for their action. |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewDecisionProperties
public AccessReviewDecisionProperties()
Creates an instance of AccessReviewDecisionProperties class.
Method Details
appliedDateTime
public OffsetDateTime appliedDateTime()
Get the appliedDateTime property: The date and time when the review decision was applied.
Returns:
applyResult
public AccessReviewApplyResult applyResult()
Get the applyResult property: The outcome of applying the decision.
Returns:
decision
public AccessReviewResult decision()
Get the decision property: The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of resource associated with a decision record.
Returns:
fromJson
public static AccessReviewDecisionProperties fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewDecisionProperties from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id of resource associated with a decision record.
Returns:
insights
public List<AccessReviewDecisionInsight> insights()
Get the insights property: This is the collection of insights for this decision item.
Returns:
justification
public String justification()
Get the justification property: Justification provided by approvers for their action.
Returns:
membershipTypes
public List<AccessReviewDecisionPrincipalResourceMembershipType> membershipTypes()
Get the membershipTypes property: Every decision item in an access review represents a principal's membership to a resource. This property represents details of the membership. Examples of this detail might be whether the principal has direct access or indirect access.
Returns:
principal
public AccessReviewDecisionIdentity principal()
Get the principal property: Principal associated with the decision record. Can be AccessReviewDecisionUserIdentity or AccessReviewDecisionServicePrincipalIdentity.
Returns:
principalId
public String principalId()
Get the principalId property: The identity id.
Returns:
principalIdAppliedByPrincipalId
public String principalIdAppliedByPrincipalId()
Get the principalId property: The identity id.
Returns:
principalName
public String principalName()
Get the principalName property: The identity display name.
Returns:
principalNameAppliedByPrincipalName
public String principalNameAppliedByPrincipalName()
Get the principalName property: The identity display name.
Returns:
principalType
public AccessReviewActorIdentityType principalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
principalTypeAppliedByPrincipalType
public AccessReviewActorIdentityType principalTypeAppliedByPrincipalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
recommendation
public AccessRecommendationType recommendation()
Get the recommendation property: The feature- generated recommendation shown to the reviewer.
Returns:
reviewedDateTime
public OffsetDateTime reviewedDateTime()
Get the reviewedDateTime property: Date Time when a decision was taken.
Returns:
toJson
type
public DecisionResourceType type()
Get the type property: The type of resource.
Returns:
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: The user principal name(if valid).
Returns:
userPrincipalNameAppliedByUserPrincipalName
public String userPrincipalNameAppliedByUserPrincipalName()
Get the userPrincipalName property: The user principal name(if valid).
Returns:
validate
public void validate()
Validates the instance.
withDecision
public AccessReviewDecisionProperties withDecision(AccessReviewResult decision)
Set the decision property: The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny.
Parameters:
Returns:
withInsights
public AccessReviewDecisionProperties withInsights(List<AccessReviewDecisionInsight> insights)
Set the insights property: This is the collection of insights for this decision item.
Parameters:
Returns:
withJustification
public AccessReviewDecisionProperties withJustification(String justification)
Set the justification property: Justification provided by approvers for their action.
Parameters:
Returns: