com.pulumi.alicloud.servicemesh.outputs.GetVersionsVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.servicemesh.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVersionsVersion {
/**
* @return The edition of the ASM instance. Valid values:
* - Default: Standard Edition
* - Pro: Professional Edition
*
*/
private String edition;
/**
* @return The ASM version id. It formats as `<edition>:<version>`.
*
*/
private String id;
/**
* @return A list of Service Mesh Service Meshes. Each element contains the following attributes:
*
*/
private String version;
private GetVersionsVersion() {}
/**
* @return The edition of the ASM instance. Valid values:
* - Default: Standard Edition
* - Pro: Professional Edition
*
*/
public String edition() {
return this.edition;
}
/**
* @return The ASM version id. It formats as `<edition>:<version>`.
*
*/
public String id() {
return this.id;
}
/**
* @return A list of Service Mesh Service Meshes. Each element contains the following attributes:
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVersionsVersion defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String edition;
private String id;
private String version;
public Builder() {}
public Builder(GetVersionsVersion defaults) {
Objects.requireNonNull(defaults);
this.edition = defaults.edition;
this.id = defaults.id;
this.version = defaults.version;
}
@CustomType.Setter
public Builder edition(String edition) {
if (edition == null) {
throw new MissingRequiredPropertyException("GetVersionsVersion", "edition");
}
this.edition = edition;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVersionsVersion", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetVersionsVersion", "version");
}
this.version = version;
return this;
}
public GetVersionsVersion build() {
final var _resultValue = new GetVersionsVersion();
_resultValue.edition = edition;
_resultValue.id = id;
_resultValue.version = version;
return _resultValue;
}
}
}