EntityReference Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. EntityReference
- com.
Implements
public final class EntityReference
implements JsonSerializable<EntityReference>
The entity reference.
Constructor Summary
| Constructor | Description |
|---|---|
| EntityReference() |
Creates an instance of Entity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Entity |
fromJson(JsonReader jsonReader)
Reads an instance of Entity |
| String |
referenceName()
Get the reference |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Integration |
type()
Get the type property: The type of this referenced entity. |
| void |
validate()
Validates the instance. |
|
Entity |
withReferenceName(String referenceName)
Set the reference |
|
Entity |
withType(IntegrationRuntimeEntityReferenceType type)
Set the type property: The type of this referenced entity. |
Methods inherited from java.lang.Object
Constructor Details
EntityReference
public EntityReference()
Creates an instance of EntityReference class.
Method Details
fromJson
public static EntityReference fromJson(JsonReader jsonReader)
Reads an instance of EntityReference from the JsonReader.
Parameters:
Returns:
Throws:
referenceName
public String referenceName()
Get the referenceName property: The name of this referenced entity.
Returns:
toJson
type
public IntegrationRuntimeEntityReferenceType type()
Get the type property: The type of this referenced entity.
Returns:
validate
public void validate()
Validates the instance.
withReferenceName
public EntityReference withReferenceName(String referenceName)
Set the referenceName property: The name of this referenced entity.
Parameters:
Returns:
withType
public EntityReference withType(IntegrationRuntimeEntityReferenceType type)
Set the type property: The type of this referenced entity.
Parameters:
Returns: