
com.pulumi.azurenative.devtestlab.outputs.CustomImagePropertiesFromPlanResponse 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.devtestlab.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CustomImagePropertiesFromPlanResponse {
/**
* @return The id of the plan, equivalent to name of the plan
*
*/
private @Nullable String id;
/**
* @return The offer for the plan from the marketplace image the custom image is derived from
*
*/
private @Nullable String offer;
/**
* @return The publisher for the plan from the marketplace image the custom image is derived from
*
*/
private @Nullable String publisher;
private CustomImagePropertiesFromPlanResponse() {}
/**
* @return The id of the plan, equivalent to name of the plan
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The offer for the plan from the marketplace image the custom image is derived from
*
*/
public Optional offer() {
return Optional.ofNullable(this.offer);
}
/**
* @return The publisher for the plan from the marketplace image the custom image is derived from
*
*/
public Optional publisher() {
return Optional.ofNullable(this.publisher);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomImagePropertiesFromPlanResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String offer;
private @Nullable String publisher;
public Builder() {}
public Builder(CustomImagePropertiesFromPlanResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.offer = defaults.offer;
this.publisher = defaults.publisher;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder offer(@Nullable String offer) {
this.offer = offer;
return this;
}
@CustomType.Setter
public Builder publisher(@Nullable String publisher) {
this.publisher = publisher;
return this;
}
public CustomImagePropertiesFromPlanResponse build() {
final var _resultValue = new CustomImagePropertiesFromPlanResponse();
_resultValue.id = id;
_resultValue.offer = offer;
_resultValue.publisher = publisher;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy