
com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlSyncTaskPropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datamigration.outputs;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlSyncTaskInputResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlSyncTaskOutputResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateMISyncCompleteCommandPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSyncCompleteCommandPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ODataErrorResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetUserTablesSqlSyncTaskPropertiesResponse {
/**
* @return Key value pairs of client data to attach meta data information to task
*
*/
private @Nullable Map clientData;
/**
* @return Array of command properties.
*
*/
private List> commands;
/**
* @return Array of errors. This is ignored if submitted.
*
*/
private List errors;
/**
* @return Task input
*
*/
private @Nullable GetUserTablesSqlSyncTaskInputResponse input;
/**
* @return Task output. This is ignored if submitted.
*
*/
private List output;
/**
* @return The state of the task. This is ignored if submitted.
*
*/
private String state;
/**
* @return Task type.
* Expected value is 'GetUserTables.AzureSqlDb.Sync'.
*
*/
private String taskType;
private GetUserTablesSqlSyncTaskPropertiesResponse() {}
/**
* @return Key value pairs of client data to attach meta data information to task
*
*/
public Map clientData() {
return this.clientData == null ? Map.of() : this.clientData;
}
/**
* @return Array of command properties.
*
*/
public List> commands() {
return this.commands;
}
/**
* @return Array of errors. This is ignored if submitted.
*
*/
public List errors() {
return this.errors;
}
/**
* @return Task input
*
*/
public Optional input() {
return Optional.ofNullable(this.input);
}
/**
* @return Task output. This is ignored if submitted.
*
*/
public List output() {
return this.output;
}
/**
* @return The state of the task. This is ignored if submitted.
*
*/
public String state() {
return this.state;
}
/**
* @return Task type.
* Expected value is 'GetUserTables.AzureSqlDb.Sync'.
*
*/
public String taskType() {
return this.taskType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUserTablesSqlSyncTaskPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map clientData;
private List> commands;
private List errors;
private @Nullable GetUserTablesSqlSyncTaskInputResponse input;
private List output;
private String state;
private String taskType;
public Builder() {}
public Builder(GetUserTablesSqlSyncTaskPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.clientData = defaults.clientData;
this.commands = defaults.commands;
this.errors = defaults.errors;
this.input = defaults.input;
this.output = defaults.output;
this.state = defaults.state;
this.taskType = defaults.taskType;
}
@CustomType.Setter
public Builder clientData(@Nullable Map clientData) {
this.clientData = clientData;
return this;
}
@CustomType.Setter
public Builder commands(List> commands) {
if (commands == null) {
throw new MissingRequiredPropertyException("GetUserTablesSqlSyncTaskPropertiesResponse", "commands");
}
this.commands = commands;
return this;
}
public Builder commands(Either... commands) {
return commands(List.of(commands));
}
@CustomType.Setter
public Builder errors(List errors) {
if (errors == null) {
throw new MissingRequiredPropertyException("GetUserTablesSqlSyncTaskPropertiesResponse", "errors");
}
this.errors = errors;
return this;
}
public Builder errors(ODataErrorResponse... errors) {
return errors(List.of(errors));
}
@CustomType.Setter
public Builder input(@Nullable GetUserTablesSqlSyncTaskInputResponse input) {
this.input = input;
return this;
}
@CustomType.Setter
public Builder output(List output) {
if (output == null) {
throw new MissingRequiredPropertyException("GetUserTablesSqlSyncTaskPropertiesResponse", "output");
}
this.output = output;
return this;
}
public Builder output(GetUserTablesSqlSyncTaskOutputResponse... output) {
return output(List.of(output));
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("GetUserTablesSqlSyncTaskPropertiesResponse", "state");
}
this.state = state;
return this;
}
@CustomType.Setter
public Builder taskType(String taskType) {
if (taskType == null) {
throw new MissingRequiredPropertyException("GetUserTablesSqlSyncTaskPropertiesResponse", "taskType");
}
this.taskType = taskType;
return this;
}
public GetUserTablesSqlSyncTaskPropertiesResponse build() {
final var _resultValue = new GetUserTablesSqlSyncTaskPropertiesResponse();
_resultValue.clientData = clientData;
_resultValue.commands = commands;
_resultValue.errors = errors;
_resultValue.input = input;
_resultValue.output = output;
_resultValue.state = state;
_resultValue.taskType = taskType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy