
com.pulumi.azurenative.containerregistry.outputs.GetImportPipelineResult 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.containerregistry.outputs;
import com.pulumi.azurenative.containerregistry.outputs.IdentityPropertiesResponse;
import com.pulumi.azurenative.containerregistry.outputs.ImportPipelineSourcePropertiesResponse;
import com.pulumi.azurenative.containerregistry.outputs.PipelineTriggerPropertiesResponse;
import com.pulumi.azurenative.containerregistry.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetImportPipelineResult {
/**
* @return The resource ID.
*
*/
private String id;
/**
* @return The identity of the import pipeline.
*
*/
private @Nullable IdentityPropertiesResponse identity;
/**
* @return The location of the import pipeline.
*
*/
private @Nullable String location;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return The list of all options configured for the pipeline.
*
*/
private @Nullable List options;
/**
* @return The provisioning state of the pipeline at the time the operation was called.
*
*/
private String provisioningState;
/**
* @return The source properties of the import pipeline.
*
*/
private ImportPipelineSourcePropertiesResponse source;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The properties that describe the trigger of the import pipeline.
*
*/
private @Nullable PipelineTriggerPropertiesResponse trigger;
/**
* @return The type of the resource.
*
*/
private String type;
private GetImportPipelineResult() {}
/**
* @return The resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The identity of the import pipeline.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The location of the import pipeline.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The list of all options configured for the pipeline.
*
*/
public List options() {
return this.options == null ? List.of() : this.options;
}
/**
* @return The provisioning state of the pipeline at the time the operation was called.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The source properties of the import pipeline.
*
*/
public ImportPipelineSourcePropertiesResponse source() {
return this.source;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The properties that describe the trigger of the import pipeline.
*
*/
public Optional trigger() {
return Optional.ofNullable(this.trigger);
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImportPipelineResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private @Nullable IdentityPropertiesResponse identity;
private @Nullable String location;
private String name;
private @Nullable List options;
private String provisioningState;
private ImportPipelineSourcePropertiesResponse source;
private SystemDataResponse systemData;
private @Nullable PipelineTriggerPropertiesResponse trigger;
private String type;
public Builder() {}
public Builder(GetImportPipelineResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.name = defaults.name;
this.options = defaults.options;
this.provisioningState = defaults.provisioningState;
this.source = defaults.source;
this.systemData = defaults.systemData;
this.trigger = defaults.trigger;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable IdentityPropertiesResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder options(@Nullable List options) {
this.options = options;
return this;
}
public Builder options(String... options) {
return options(List.of(options));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder source(ImportPipelineSourcePropertiesResponse source) {
if (source == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "source");
}
this.source = source;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder trigger(@Nullable PipelineTriggerPropertiesResponse trigger) {
this.trigger = trigger;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetImportPipelineResult", "type");
}
this.type = type;
return this;
}
public GetImportPipelineResult build() {
final var _resultValue = new GetImportPipelineResult();
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.options = options;
_resultValue.provisioningState = provisioningState;
_resultValue.source = source;
_resultValue.systemData = systemData;
_resultValue.trigger = trigger;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy