com.pulumi.azurenative.datafactory.outputs.SsisPackageResponse 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.
The newest version!
// *** 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.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.SsisParameterResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SsisPackageResponse {
/**
* @return Metadata description.
*
*/
private @Nullable String description;
/**
* @return Folder id which contains package.
*
*/
private @Nullable Double folderId;
/**
* @return Metadata id.
*
*/
private @Nullable Double id;
/**
* @return Metadata name.
*
*/
private @Nullable String name;
/**
* @return Parameters in package
*
*/
private @Nullable List parameters;
/**
* @return Project id which contains package.
*
*/
private @Nullable Double projectId;
/**
* @return Project version which contains package.
*
*/
private @Nullable Double projectVersion;
/**
* @return The type of SSIS object metadata.
* Expected value is 'Package'.
*
*/
private String type;
private SsisPackageResponse() {}
/**
* @return Metadata description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Folder id which contains package.
*
*/
public Optional folderId() {
return Optional.ofNullable(this.folderId);
}
/**
* @return Metadata id.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Metadata name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Parameters in package
*
*/
public List parameters() {
return this.parameters == null ? List.of() : this.parameters;
}
/**
* @return Project id which contains package.
*
*/
public Optional projectId() {
return Optional.ofNullable(this.projectId);
}
/**
* @return Project version which contains package.
*
*/
public Optional projectVersion() {
return Optional.ofNullable(this.projectVersion);
}
/**
* @return The type of SSIS object metadata.
* Expected value is 'Package'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SsisPackageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable Double folderId;
private @Nullable Double id;
private @Nullable String name;
private @Nullable List parameters;
private @Nullable Double projectId;
private @Nullable Double projectVersion;
private String type;
public Builder() {}
public Builder(SsisPackageResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.folderId = defaults.folderId;
this.id = defaults.id;
this.name = defaults.name;
this.parameters = defaults.parameters;
this.projectId = defaults.projectId;
this.projectVersion = defaults.projectVersion;
this.type = defaults.type;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder folderId(@Nullable Double folderId) {
this.folderId = folderId;
return this;
}
@CustomType.Setter
public Builder id(@Nullable Double id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable List parameters) {
this.parameters = parameters;
return this;
}
public Builder parameters(SsisParameterResponse... parameters) {
return parameters(List.of(parameters));
}
@CustomType.Setter
public Builder projectId(@Nullable Double projectId) {
this.projectId = projectId;
return this;
}
@CustomType.Setter
public Builder projectVersion(@Nullable Double projectVersion) {
this.projectVersion = projectVersion;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("SsisPackageResponse", "type");
}
this.type = type;
return this;
}
public SsisPackageResponse build() {
final var _resultValue = new SsisPackageResponse();
_resultValue.description = description;
_resultValue.folderId = folderId;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.projectId = projectId;
_resultValue.projectVersion = projectVersion;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy