com.pulumi.azurenative.confluent.outputs.ClusterRecordResponse 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.
// *** 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.confluent.outputs;
import com.pulumi.azurenative.confluent.outputs.ClusterSpecEntityResponse;
import com.pulumi.azurenative.confluent.outputs.ClusterStatusEntityResponse;
import com.pulumi.azurenative.confluent.outputs.MetadataEntityResponse;
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 ClusterRecordResponse {
/**
* @return Display name of the user
*
*/
private @Nullable String displayName;
/**
* @return Id of the environment
*
*/
private @Nullable String id;
/**
* @return Type of environment
*
*/
private @Nullable String kind;
/**
* @return Metadata of the record
*
*/
private @Nullable MetadataEntityResponse metadata;
/**
* @return Specification of the cluster
*
*/
private @Nullable ClusterSpecEntityResponse spec;
/**
* @return Specification of the cluster
*
*/
private @Nullable ClusterStatusEntityResponse status;
private ClusterRecordResponse() {}
/**
* @return Display name of the user
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return Id of the environment
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Type of environment
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Metadata of the record
*
*/
public Optional metadata() {
return Optional.ofNullable(this.metadata);
}
/**
* @return Specification of the cluster
*
*/
public Optional spec() {
return Optional.ofNullable(this.spec);
}
/**
* @return Specification of the cluster
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterRecordResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String displayName;
private @Nullable String id;
private @Nullable String kind;
private @Nullable MetadataEntityResponse metadata;
private @Nullable ClusterSpecEntityResponse spec;
private @Nullable ClusterStatusEntityResponse status;
public Builder() {}
public Builder(ClusterRecordResponse defaults) {
Objects.requireNonNull(defaults);
this.displayName = defaults.displayName;
this.id = defaults.id;
this.kind = defaults.kind;
this.metadata = defaults.metadata;
this.spec = defaults.spec;
this.status = defaults.status;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder metadata(@Nullable MetadataEntityResponse metadata) {
this.metadata = metadata;
return this;
}
@CustomType.Setter
public Builder spec(@Nullable ClusterSpecEntityResponse spec) {
this.spec = spec;
return this;
}
@CustomType.Setter
public Builder status(@Nullable ClusterStatusEntityResponse status) {
this.status = status;
return this;
}
public ClusterRecordResponse build() {
final var _resultValue = new ClusterRecordResponse();
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.metadata = metadata;
_resultValue.spec = spec;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy