
com.pulumi.azurenative.containerregistry.outputs.GetPipelineRunResult 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.azurenative.containerregistry.outputs;
import com.pulumi.azurenative.containerregistry.outputs.PipelineRunRequestResponse;
import com.pulumi.azurenative.containerregistry.outputs.PipelineRunResponseResponse;
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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPipelineRunResult {
/**
* @return How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.
*
*/
private @Nullable String forceUpdateTag;
/**
* @return The resource ID.
*
*/
private String id;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return The provisioning state of a pipeline run.
*
*/
private String provisioningState;
/**
* @return The request parameters for a pipeline run.
*
*/
private @Nullable PipelineRunRequestResponse request;
/**
* @return The response of a pipeline run.
*
*/
private PipelineRunResponseResponse response;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource.
*
*/
private String type;
private GetPipelineRunResult() {}
/**
* @return How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.
*
*/
public Optional forceUpdateTag() {
return Optional.ofNullable(this.forceUpdateTag);
}
/**
* @return The resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The provisioning state of a pipeline run.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The request parameters for a pipeline run.
*
*/
public Optional request() {
return Optional.ofNullable(this.request);
}
/**
* @return The response of a pipeline run.
*
*/
public PipelineRunResponseResponse response() {
return this.response;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPipelineRunResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String forceUpdateTag;
private String id;
private String name;
private String provisioningState;
private @Nullable PipelineRunRequestResponse request;
private PipelineRunResponseResponse response;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetPipelineRunResult defaults) {
Objects.requireNonNull(defaults);
this.forceUpdateTag = defaults.forceUpdateTag;
this.id = defaults.id;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.request = defaults.request;
this.response = defaults.response;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder forceUpdateTag(@Nullable String forceUpdateTag) {
this.forceUpdateTag = forceUpdateTag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder request(@Nullable PipelineRunRequestResponse request) {
this.request = request;
return this;
}
@CustomType.Setter
public Builder response(PipelineRunResponseResponse response) {
if (response == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "response");
}
this.response = response;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPipelineRunResult", "type");
}
this.type = type;
return this;
}
public GetPipelineRunResult build() {
final var _resultValue = new GetPipelineRunResult();
_resultValue.forceUpdateTag = forceUpdateTag;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.request = request;
_resultValue.response = response;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy