
com.azure.resourcemanager.datafactory.models.HDInsightStreamingActivity Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.datafactory.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.datafactory.fluent.models.HDInsightStreamingActivityTypeProperties;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* HDInsight streaming activity type.
*/
@Fluent
public final class HDInsightStreamingActivity extends ExecutionActivity {
/*
* Type of activity.
*/
private String type = "HDInsightStreaming";
/*
* HDInsight streaming activity properties.
*/
private HDInsightStreamingActivityTypeProperties innerTypeProperties
= new HDInsightStreamingActivityTypeProperties();
/**
* Creates an instance of HDInsightStreamingActivity class.
*/
public HDInsightStreamingActivity() {
}
/**
* Get the type property: Type of activity.
*
* @return the type value.
*/
@Override
public String type() {
return this.type;
}
/**
* Get the innerTypeProperties property: HDInsight streaming activity properties.
*
* @return the innerTypeProperties value.
*/
private HDInsightStreamingActivityTypeProperties innerTypeProperties() {
return this.innerTypeProperties;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withLinkedServiceName(LinkedServiceReference linkedServiceName) {
super.withLinkedServiceName(linkedServiceName);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withPolicy(ActivityPolicy policy) {
super.withPolicy(policy);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withName(String name) {
super.withName(name);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withDescription(String description) {
super.withDescription(description);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withState(ActivityState state) {
super.withState(state);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) {
super.withOnInactiveMarkAs(onInactiveMarkAs);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withDependsOn(List dependsOn) {
super.withDependsOn(dependsOn);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public HDInsightStreamingActivity withUserProperties(List userProperties) {
super.withUserProperties(userProperties);
return this;
}
/**
* Get the storageLinkedServices property: Storage linked service references.
*
* @return the storageLinkedServices value.
*/
public List storageLinkedServices() {
return this.innerTypeProperties() == null ? null : this.innerTypeProperties().storageLinkedServices();
}
/**
* Set the storageLinkedServices property: Storage linked service references.
*
* @param storageLinkedServices the storageLinkedServices value to set.
* @return the HDInsightStreamingActivity object itself.
*/
public HDInsightStreamingActivity withStorageLinkedServices(List storageLinkedServices) {
if (this.innerTypeProperties() == null) {
this.innerTypeProperties = new HDInsightStreamingActivityTypeProperties();
}
this.innerTypeProperties().withStorageLinkedServices(storageLinkedServices);
return this;
}
/**
* Get the arguments property: User specified arguments to HDInsightActivity.
*
* @return the arguments value.
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy