RequiredAction.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;
/** Action Info. */
@Fluent
public final class RequiredAction {
/*
* Action Id.
*/
@JsonProperty(value = "id", required = true)
private String id;
/*
* Is a data action or not.
*/
@JsonProperty(value = "isDataAction", required = true)
private boolean isDataAction;
/**
* Get the id property: Action Id.
*
* @return the id value.
*/
public String getId() {
return this.id;
}
/**
* Set the id property: Action Id.
*
* @param id the id value to set.
* @return the RequiredAction object itself.
*/
public RequiredAction setId(String id) {
this.id = id;
return this;
}
/**
* Get the isDataAction property: Is a data action or not.
*
* @return the isDataAction value.
*/
public boolean isDataAction() {
return this.isDataAction;
}
/**
* Set the isDataAction property: Is a data action or not.
*
* @param isDataAction the isDataAction value to set.
* @return the RequiredAction object itself.
*/
public RequiredAction setIsDataAction(boolean isDataAction) {
this.isDataAction = isDataAction;
return this;
}
}