CheckAccessDecision.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.accesscontrol.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Check access response details. */
@Fluent
public final class CheckAccessDecision {
/*
* Access Decision.
*/
@JsonProperty(value = "accessDecision")
private String accessDecision;
/*
* Action Id.
*/
@JsonProperty(value = "actionId")
private String actionId;
/*
* Role Assignment response details
*/
@JsonProperty(value = "roleAssignment")
private RoleAssignmentDetails roleAssignment;
/**
* Get the accessDecision property: Access Decision.
*
* @return the accessDecision value.
*/
public String getAccessDecision() {
return this.accessDecision;
}
/**
* Set the accessDecision property: Access Decision.
*
* @param accessDecision the accessDecision value to set.
* @return the CheckAccessDecision object itself.
*/
public CheckAccessDecision setAccessDecision(String accessDecision) {
this.accessDecision = accessDecision;
return this;
}
/**
* Get the actionId property: Action Id.
*
* @return the actionId value.
*/
public String getActionId() {
return this.actionId;
}
/**
* Set the actionId property: Action Id.
*
* @param actionId the actionId value to set.
* @return the CheckAccessDecision object itself.
*/
public CheckAccessDecision setActionId(String actionId) {
this.actionId = actionId;
return this;
}
/**
* Get the roleAssignment property: Role Assignment response details.
*
* @return the roleAssignment value.
*/
public RoleAssignmentDetails getRoleAssignment() {
return this.roleAssignment;
}
/**
* Set the roleAssignment property: Role Assignment response details.
*
* @param roleAssignment the roleAssignment value to set.
* @return the CheckAccessDecision object itself.
*/
public CheckAccessDecision setRoleAssignment(RoleAssignmentDetails roleAssignment) {
this.roleAssignment = roleAssignment;
return this;
}
}