IntegrationRuntimeComputeProperties.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.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashMap;
import java.util.Map;
/** The compute resource properties for managed integration runtime. */
@Fluent
public final class IntegrationRuntimeComputeProperties {
/*
* The location for managed integration runtime. The supported regions
* could be found on
* https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities
*/
@JsonProperty(value = "location")
private String location;
/*
* The node size requirement to managed integration runtime.
*/
@JsonProperty(value = "nodeSize")
private String nodeSize;
/*
* The required number of nodes for managed integration runtime.
*/
@JsonProperty(value = "numberOfNodes")
private Integer numberOfNodes;
/*
* Maximum parallel executions count per node for managed integration
* runtime.
*/
@JsonProperty(value = "maxParallelExecutionsPerNode")
private Integer maxParallelExecutionsPerNode;
/*
* Data flow properties for managed integration runtime.
*/
@JsonProperty(value = "dataFlowProperties")
private IntegrationRuntimeDataFlowProperties dataFlowProperties;
/*
* VNet properties for managed integration runtime.
*/
@JsonProperty(value = "vNetProperties")
private IntegrationRuntimeVNetProperties vNetProperties;
/*
* The compute resource properties for managed integration runtime.
*/
@JsonIgnore private Map<String, Object> additionalProperties;
/**
* Get the location property: The location for managed integration runtime. The supported regions could be found on
* https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities.
*
* @return the location value.
*/
public String getLocation() {
return this.location;
}
/**
* Set the location property: The location for managed integration runtime. The supported regions could be found on
* https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities.
*
* @param location the location value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setLocation(String location) {
this.location = location;
return this;
}
/**
* Get the nodeSize property: The node size requirement to managed integration runtime.
*
* @return the nodeSize value.
*/
public String getNodeSize() {
return this.nodeSize;
}
/**
* Set the nodeSize property: The node size requirement to managed integration runtime.
*
* @param nodeSize the nodeSize value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setNodeSize(String nodeSize) {
this.nodeSize = nodeSize;
return this;
}
/**
* Get the numberOfNodes property: The required number of nodes for managed integration runtime.
*
* @return the numberOfNodes value.
*/
public Integer getNumberOfNodes() {
return this.numberOfNodes;
}
/**
* Set the numberOfNodes property: The required number of nodes for managed integration runtime.
*
* @param numberOfNodes the numberOfNodes value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setNumberOfNodes(Integer numberOfNodes) {
this.numberOfNodes = numberOfNodes;
return this;
}
/**
* Get the maxParallelExecutionsPerNode property: Maximum parallel executions count per node for managed integration
* runtime.
*
* @return the maxParallelExecutionsPerNode value.
*/
public Integer getMaxParallelExecutionsPerNode() {
return this.maxParallelExecutionsPerNode;
}
/**
* Set the maxParallelExecutionsPerNode property: Maximum parallel executions count per node for managed integration
* runtime.
*
* @param maxParallelExecutionsPerNode the maxParallelExecutionsPerNode value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setMaxParallelExecutionsPerNode(Integer maxParallelExecutionsPerNode) {
this.maxParallelExecutionsPerNode = maxParallelExecutionsPerNode;
return this;
}
/**
* Get the dataFlowProperties property: Data flow properties for managed integration runtime.
*
* @return the dataFlowProperties value.
*/
public IntegrationRuntimeDataFlowProperties getDataFlowProperties() {
return this.dataFlowProperties;
}
/**
* Set the dataFlowProperties property: Data flow properties for managed integration runtime.
*
* @param dataFlowProperties the dataFlowProperties value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setDataFlowProperties(
IntegrationRuntimeDataFlowProperties dataFlowProperties) {
this.dataFlowProperties = dataFlowProperties;
return this;
}
/**
* Get the vNetProperties property: VNet properties for managed integration runtime.
*
* @return the vNetProperties value.
*/
public IntegrationRuntimeVNetProperties getVNetProperties() {
return this.vNetProperties;
}
/**
* Set the vNetProperties property: VNet properties for managed integration runtime.
*
* @param vNetProperties the vNetProperties value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setVNetProperties(IntegrationRuntimeVNetProperties vNetProperties) {
this.vNetProperties = vNetProperties;
return this;
}
/**
* Get the additionalProperties property: The compute resource properties for managed integration runtime.
*
* @return the additionalProperties value.
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
/**
* Set the additionalProperties property: The compute resource properties for managed integration runtime.
*
* @param additionalProperties the additionalProperties value to set.
* @return the IntegrationRuntimeComputeProperties object itself.
*/
public IntegrationRuntimeComputeProperties setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
@JsonAnySetter
void setAdditionalProperties(String key, Object value) {
if (additionalProperties == null) {
additionalProperties = new HashMap<>();
}
additionalProperties.put(key, value);
}
}