EntityReference.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.JsonProperty;
/** The entity reference. */
@Fluent
public final class EntityReference {
/*
* The type of this referenced entity.
*/
@JsonProperty(value = "type")
private IntegrationRuntimeEntityReferenceType type;
/*
* The name of this referenced entity.
*/
@JsonProperty(value = "referenceName")
private String referenceName;
/**
* Get the type property: The type of this referenced entity.
*
* @return the type value.
*/
public IntegrationRuntimeEntityReferenceType getType() {
return this.type;
}
/**
* Set the type property: The type of this referenced entity.
*
* @param type the type value to set.
* @return the EntityReference object itself.
*/
public EntityReference setType(IntegrationRuntimeEntityReferenceType type) {
this.type = type;
return this;
}
/**
* Get the referenceName property: The name of this referenced entity.
*
* @return the referenceName value.
*/
public String getReferenceName() {
return this.referenceName;
}
/**
* Set the referenceName property: The name of this referenced entity.
*
* @param referenceName the referenceName value to set.
* @return the EntityReference object itself.
*/
public EntityReference setReferenceName(String referenceName) {
this.referenceName = referenceName;
return this;
}
}