com.pulumi.azurenative.visualstudio.outputs.ExtensionResourcePlanResponse 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.
The newest version!
// *** 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.visualstudio.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 ExtensionResourcePlanResponse {
/**
* @return Name of the plan.
*
*/
private @Nullable String name;
/**
* @return Product name.
*
*/
private @Nullable String product;
/**
* @return Optional: the promotion code associated with the plan.
*
*/
private @Nullable String promotionCode;
/**
* @return Name of the extension publisher.
*
*/
private @Nullable String publisher;
/**
* @return A string that uniquely identifies the plan version.
*
*/
private @Nullable String version;
private ExtensionResourcePlanResponse() {}
/**
* @return Name of the plan.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Product name.
*
*/
public Optional product() {
return Optional.ofNullable(this.product);
}
/**
* @return Optional: the promotion code associated with the plan.
*
*/
public Optional promotionCode() {
return Optional.ofNullable(this.promotionCode);
}
/**
* @return Name of the extension publisher.
*
*/
public Optional publisher() {
return Optional.ofNullable(this.publisher);
}
/**
* @return A string that uniquely identifies the plan version.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExtensionResourcePlanResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable String product;
private @Nullable String promotionCode;
private @Nullable String publisher;
private @Nullable String version;
public Builder() {}
public Builder(ExtensionResourcePlanResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.product = defaults.product;
this.promotionCode = defaults.promotionCode;
this.publisher = defaults.publisher;
this.version = defaults.version;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder product(@Nullable String product) {
this.product = product;
return this;
}
@CustomType.Setter
public Builder promotionCode(@Nullable String promotionCode) {
this.promotionCode = promotionCode;
return this;
}
@CustomType.Setter
public Builder publisher(@Nullable String publisher) {
this.publisher = publisher;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public ExtensionResourcePlanResponse build() {
final var _resultValue = new ExtensionResourcePlanResponse();
_resultValue.name = name;
_resultValue.product = product;
_resultValue.promotionCode = promotionCode;
_resultValue.publisher = publisher;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy