Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactory;

import java.util.Map;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* A pipeline activity.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Activity")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Execution", value = ExecutionActivity.class),
@JsonSubTypes.Type(name = "Container", value = ControlActivity.class)
})
public class Activity {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Activity name.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* Activity description.
*/
@JsonProperty(value = "description")
private String description;

/**
* Activity depends on condition.
*/
@JsonProperty(value = "dependsOn")
private List<ActivityDependency> dependsOn;

/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the Activity object itself.
*/
public Activity withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name value.
*
* @param name the name value to set
* @return the Activity object itself.
*/
public Activity withName(String name) {
this.name = name;
return this;
}

/**
* Get the description value.
*
* @return the description value
*/
public String description() {
return this.description;
}

/**
* Set the description value.
*
* @param description the description value to set
* @return the Activity object itself.
*/
public Activity withDescription(String description) {
this.description = description;
return this;
}

/**
* Get the dependsOn value.
*
* @return the dependsOn value
*/
public List<ActivityDependency> dependsOn() {
return this.dependsOn;
}

/**
* Set the dependsOn value.
*
* @param dependsOn the dependsOn value to set
* @return the Activity object itself.
*/
public Activity withDependsOn(List<ActivityDependency> dependsOn) {
this.dependsOn = dependsOn;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactory;

import java.util.Map;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Activity dependency information.
*/
public class ActivityDependency {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Activity name.
*/
@JsonProperty(value = "activity", required = true)
private String activity;

/**
* Match-Condition for the dependency.
*/
@JsonProperty(value = "dependencyConditions", required = true)
private List<DependencyCondition> dependencyConditions;

/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the ActivityDependency object itself.
*/
public ActivityDependency withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

/**
* Get the activity value.
*
* @return the activity value
*/
public String activity() {
return this.activity;
}

/**
* Set the activity value.
*
* @param activity the activity value to set
* @return the ActivityDependency object itself.
*/
public ActivityDependency withActivity(String activity) {
this.activity = activity;
return this;
}

/**
* Get the dependencyConditions value.
*
* @return the dependencyConditions value
*/
public List<DependencyCondition> dependencyConditions() {
return this.dependencyConditions;
}

/**
* Set the dependencyConditions value.
*
* @param dependencyConditions the dependencyConditions value to set
* @return the ActivityDependency object itself.
*/
public ActivityDependency withDependencyConditions(List<DependencyCondition> dependencyConditions) {
this.dependencyConditions = dependencyConditions;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.datafactory;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Execution policy for an activity.
*/
public class ActivityPolicy {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Specifies the timeout for the activity to run. The default timeout is 7
* days. Type: string (or Expression with resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JsonProperty(value = "timeout")
private Object timeout;

/**
* Maximum ordinary retry attempts. Default is 0. Type: integer (or
* Expression with resultType integer), minimum: 0.
*/
@JsonProperty(value = "retry")
private Object retry;

/**
* Interval between each retry attempt (in seconds). The default is 30 sec.
*/
@JsonProperty(value = "retryIntervalInSeconds")
private Integer retryIntervalInSeconds;

/**
* When set to true, Output from activity is considered as secure and will
* not be logged to monitoring.
*/
@JsonProperty(value = "secureOutput")
private Boolean secureOutput;

/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

/**
* Get the timeout value.
*
* @return the timeout value
*/
public Object timeout() {
return this.timeout;
}

/**
* Set the timeout value.
*
* @param timeout the timeout value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withTimeout(Object timeout) {
this.timeout = timeout;
return this;
}

/**
* Get the retry value.
*
* @return the retry value
*/
public Object retry() {
return this.retry;
}

/**
* Set the retry value.
*
* @param retry the retry value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withRetry(Object retry) {
this.retry = retry;
return this;
}

/**
* Get the retryIntervalInSeconds value.
*
* @return the retryIntervalInSeconds value
*/
public Integer retryIntervalInSeconds() {
return this.retryIntervalInSeconds;
}

/**
* Set the retryIntervalInSeconds value.
*
* @param retryIntervalInSeconds the retryIntervalInSeconds value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withRetryIntervalInSeconds(Integer retryIntervalInSeconds) {
this.retryIntervalInSeconds = retryIntervalInSeconds;
return this;
}

/**
* Get the secureOutput value.
*
* @return the secureOutput value
*/
public Boolean secureOutput() {
return this.secureOutput;
}

/**
* Set the secureOutput value.
*
* @param secureOutput the secureOutput value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withSecureOutput(Boolean secureOutput) {
this.secureOutput = secureOutput;
return this;
}

}
Loading