com.pulumi.azure.datafactory.outputs.GetFactoryResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.datafactory.outputs;
import com.pulumi.azure.datafactory.outputs.GetFactoryGithubConfiguration;
import com.pulumi.azure.datafactory.outputs.GetFactoryIdentity;
import com.pulumi.azure.datafactory.outputs.GetFactoryVstsConfiguration;
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;
@CustomType
public final class GetFactoryResult {
/**
* @return A `github_configuration` block as defined below.
*
*/
private List githubConfigurations;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return An `identity` block as defined below.
*
*/
private List identities;
/**
* @return The Azure Region where the Azure Data Factory exists.
*
*/
private String location;
private String name;
private String resourceGroupName;
/**
* @return A mapping of tags assigned to the Azure Data Factory.
*
*/
private Map tags;
/**
* @return A `vsts_configuration` block as defined below.
*
*/
private List vstsConfigurations;
private GetFactoryResult() {}
/**
* @return A `github_configuration` block as defined below.
*
*/
public List githubConfigurations() {
return this.githubConfigurations;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return An `identity` block as defined below.
*
*/
public List identities() {
return this.identities;
}
/**
* @return The Azure Region where the Azure Data Factory exists.
*
*/
public String location() {
return this.location;
}
public String name() {
return this.name;
}
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* @return A mapping of tags assigned to the Azure Data Factory.
*
*/
public Map tags() {
return this.tags;
}
/**
* @return A `vsts_configuration` block as defined below.
*
*/
public List vstsConfigurations() {
return this.vstsConfigurations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFactoryResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List githubConfigurations;
private String id;
private List identities;
private String location;
private String name;
private String resourceGroupName;
private Map tags;
private List vstsConfigurations;
public Builder() {}
public Builder(GetFactoryResult defaults) {
Objects.requireNonNull(defaults);
this.githubConfigurations = defaults.githubConfigurations;
this.id = defaults.id;
this.identities = defaults.identities;
this.location = defaults.location;
this.name = defaults.name;
this.resourceGroupName = defaults.resourceGroupName;
this.tags = defaults.tags;
this.vstsConfigurations = defaults.vstsConfigurations;
}
@CustomType.Setter
public Builder githubConfigurations(List githubConfigurations) {
if (githubConfigurations == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "githubConfigurations");
}
this.githubConfigurations = githubConfigurations;
return this;
}
public Builder githubConfigurations(GetFactoryGithubConfiguration... githubConfigurations) {
return githubConfigurations(List.of(githubConfigurations));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identities(List identities) {
if (identities == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "identities");
}
this.identities = identities;
return this;
}
public Builder identities(GetFactoryIdentity... identities) {
return identities(List.of(identities));
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceGroupName(String resourceGroupName) {
if (resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "resourceGroupName");
}
this.resourceGroupName = resourceGroupName;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "tags");
}
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder vstsConfigurations(List vstsConfigurations) {
if (vstsConfigurations == null) {
throw new MissingRequiredPropertyException("GetFactoryResult", "vstsConfigurations");
}
this.vstsConfigurations = vstsConfigurations;
return this;
}
public Builder vstsConfigurations(GetFactoryVstsConfiguration... vstsConfigurations) {
return vstsConfigurations(List.of(vstsConfigurations));
}
public GetFactoryResult build() {
final var _resultValue = new GetFactoryResult();
_resultValue.githubConfigurations = githubConfigurations;
_resultValue.id = id;
_resultValue.identities = identities;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.resourceGroupName = resourceGroupName;
_resultValue.tags = tags;
_resultValue.vstsConfigurations = vstsConfigurations;
return _resultValue;
}
}
}