com.pulumi.googlenative.clouddeploy.v1.outputs.ReleaseConditionResponse 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.googlenative.clouddeploy.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.clouddeploy.v1.outputs.ReleaseReadyConditionResponse;
import com.pulumi.googlenative.clouddeploy.v1.outputs.SkaffoldSupportedConditionResponse;
import java.util.Objects;
@CustomType
public final class ReleaseConditionResponse {
/**
* @return Details around the Releases's overall status.
*
*/
private ReleaseReadyConditionResponse releaseReadyCondition;
/**
* @return Details around the support state of the release's skaffold version.
*
*/
private SkaffoldSupportedConditionResponse skaffoldSupportedCondition;
private ReleaseConditionResponse() {}
/**
* @return Details around the Releases's overall status.
*
*/
public ReleaseReadyConditionResponse releaseReadyCondition() {
return this.releaseReadyCondition;
}
/**
* @return Details around the support state of the release's skaffold version.
*
*/
public SkaffoldSupportedConditionResponse skaffoldSupportedCondition() {
return this.skaffoldSupportedCondition;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReleaseConditionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ReleaseReadyConditionResponse releaseReadyCondition;
private SkaffoldSupportedConditionResponse skaffoldSupportedCondition;
public Builder() {}
public Builder(ReleaseConditionResponse defaults) {
Objects.requireNonNull(defaults);
this.releaseReadyCondition = defaults.releaseReadyCondition;
this.skaffoldSupportedCondition = defaults.skaffoldSupportedCondition;
}
@CustomType.Setter
public Builder releaseReadyCondition(ReleaseReadyConditionResponse releaseReadyCondition) {
this.releaseReadyCondition = Objects.requireNonNull(releaseReadyCondition);
return this;
}
@CustomType.Setter
public Builder skaffoldSupportedCondition(SkaffoldSupportedConditionResponse skaffoldSupportedCondition) {
this.skaffoldSupportedCondition = Objects.requireNonNull(skaffoldSupportedCondition);
return this;
}
public ReleaseConditionResponse build() {
final var o = new ReleaseConditionResponse();
o.releaseReadyCondition = releaseReadyCondition;
o.skaffoldSupportedCondition = skaffoldSupportedCondition;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy