
com.pulumi.azurenative.confluent.outputs.RegionRecordResponse 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.RegionSpecEntityResponse;
import com.pulumi.azurenative.confluent.outputs.SCMetadataEntityResponse;
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 RegionRecordResponse {
/**
* @return Id of the cluster
*
*/
private @Nullable String id;
/**
* @return Kind of the cluster
*
*/
private @Nullable String kind;
/**
* @return Metadata of the record
*
*/
private @Nullable SCMetadataEntityResponse metadata;
/**
* @return Specification of the region
*
*/
private @Nullable RegionSpecEntityResponse spec;
private RegionRecordResponse() {}
/**
* @return Id of the cluster
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Kind of the cluster
*
*/
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 region
*
*/
public Optional spec() {
return Optional.ofNullable(this.spec);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RegionRecordResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String kind;
private @Nullable SCMetadataEntityResponse metadata;
private @Nullable RegionSpecEntityResponse spec;
public Builder() {}
public Builder(RegionRecordResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.kind = defaults.kind;
this.metadata = defaults.metadata;
this.spec = defaults.spec;
}
@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 SCMetadataEntityResponse metadata) {
this.metadata = metadata;
return this;
}
@CustomType.Setter
public Builder spec(@Nullable RegionSpecEntityResponse spec) {
this.spec = spec;
return this;
}
public RegionRecordResponse build() {
final var _resultValue = new RegionRecordResponse();
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.metadata = metadata;
_resultValue.spec = spec;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy