TriggerReference.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;
/** Trigger reference type. */
@Fluent
public final class TriggerReference {
/*
* Trigger reference type.
*/
@JsonProperty(value = "type", required = true)
private TriggerReferenceType type;
/*
* Reference trigger name.
*/
@JsonProperty(value = "referenceName", required = true)
private String referenceName;
/**
* Get the type property: Trigger reference type.
*
* @return the type value.
*/
public TriggerReferenceType getType() {
return this.type;
}
/**
* Set the type property: Trigger reference type.
*
* @param type the type value to set.
* @return the TriggerReference object itself.
*/
public TriggerReference setType(TriggerReferenceType type) {
this.type = type;
return this;
}
/**
* Get the referenceName property: Reference trigger name.
*
* @return the referenceName value.
*/
public String getReferenceName() {
return this.referenceName;
}
/**
* Set the referenceName property: Reference trigger name.
*
* @param referenceName the referenceName value to set.
* @return the TriggerReference object itself.
*/
public TriggerReference setReferenceName(String referenceName) {
this.referenceName = referenceName;
return this;
}
}