com.pulumi.alicloud.cs.outputs.ApplicationService 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.cs.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 ApplicationService {
private @Nullable String id;
private @Nullable String name;
private @Nullable String status;
private @Nullable String version;
private ApplicationService() {}
public Optional id() {
return Optional.ofNullable(this.id);
}
public Optional name() {
return Optional.ofNullable(this.name);
}
public Optional status() {
return Optional.ofNullable(this.status);
}
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationService defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String name;
private @Nullable String status;
private @Nullable String version;
public Builder() {}
public Builder(ApplicationService defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.status = defaults.status;
this.version = defaults.version;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public ApplicationService build() {
final var _resultValue = new ApplicationService();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.status = status;
_resultValue.version = version;
return _resultValue;
}
}
}