com.pulumi.aws.datapipeline.outputs.GetPipelineDefinitionPipelineObject Maven / Gradle / Ivy
// *** 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.aws.datapipeline.outputs;
import com.pulumi.aws.datapipeline.outputs.GetPipelineDefinitionPipelineObjectField;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetPipelineDefinitionPipelineObject {
/**
* @return Key-value pairs that define the properties of the object. See below
*
*/
private @Nullable List fields;
/**
* @return ID of the object.
*
*/
private String id;
/**
* @return ARN of the storage connector.
*
*/
private String name;
private GetPipelineDefinitionPipelineObject() {}
/**
* @return Key-value pairs that define the properties of the object. See below
*
*/
public List fields() {
return this.fields == null ? List.of() : this.fields;
}
/**
* @return ID of the object.
*
*/
public String id() {
return this.id;
}
/**
* @return ARN of the storage connector.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPipelineDefinitionPipelineObject defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List fields;
private String id;
private String name;
public Builder() {}
public Builder(GetPipelineDefinitionPipelineObject defaults) {
Objects.requireNonNull(defaults);
this.fields = defaults.fields;
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder fields(@Nullable List fields) {
this.fields = fields;
return this;
}
public Builder fields(GetPipelineDefinitionPipelineObjectField... fields) {
return fields(List.of(fields));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPipelineDefinitionPipelineObject", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPipelineDefinitionPipelineObject", "name");
}
this.name = name;
return this;
}
public GetPipelineDefinitionPipelineObject build() {
final var _resultValue = new GetPipelineDefinitionPipelineObject();
_resultValue.fields = fields;
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy