com.pulumi.azurenative.redhatopenshift.outputs.WorkerProfileResponse 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.redhatopenshift.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WorkerProfileResponse {
/**
* @return The number of worker VMs.
*
*/
private @Nullable Integer count;
/**
* @return The resource ID of an associated DiskEncryptionSet, if applicable.
*
*/
private @Nullable String diskEncryptionSetId;
/**
* @return The disk size of the worker VMs.
*
*/
private @Nullable Integer diskSizeGB;
/**
* @return Whether master virtual machines are encrypted at host.
*
*/
private @Nullable String encryptionAtHost;
/**
* @return The worker profile name.
*
*/
private @Nullable String name;
/**
* @return The Azure resource ID of the worker subnet.
*
*/
private @Nullable String subnetId;
/**
* @return The size of the worker VMs.
*
*/
private @Nullable String vmSize;
private WorkerProfileResponse() {}
/**
* @return The number of worker VMs.
*
*/
public Optional count() {
return Optional.ofNullable(this.count);
}
/**
* @return The resource ID of an associated DiskEncryptionSet, if applicable.
*
*/
public Optional diskEncryptionSetId() {
return Optional.ofNullable(this.diskEncryptionSetId);
}
/**
* @return The disk size of the worker VMs.
*
*/
public Optional diskSizeGB() {
return Optional.ofNullable(this.diskSizeGB);
}
/**
* @return Whether master virtual machines are encrypted at host.
*
*/
public Optional encryptionAtHost() {
return Optional.ofNullable(this.encryptionAtHost);
}
/**
* @return The worker profile name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The Azure resource ID of the worker subnet.
*
*/
public Optional subnetId() {
return Optional.ofNullable(this.subnetId);
}
/**
* @return The size of the worker VMs.
*
*/
public Optional vmSize() {
return Optional.ofNullable(this.vmSize);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkerProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer count;
private @Nullable String diskEncryptionSetId;
private @Nullable Integer diskSizeGB;
private @Nullable String encryptionAtHost;
private @Nullable String name;
private @Nullable String subnetId;
private @Nullable String vmSize;
public Builder() {}
public Builder(WorkerProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.count = defaults.count;
this.diskEncryptionSetId = defaults.diskEncryptionSetId;
this.diskSizeGB = defaults.diskSizeGB;
this.encryptionAtHost = defaults.encryptionAtHost;
this.name = defaults.name;
this.subnetId = defaults.subnetId;
this.vmSize = defaults.vmSize;
}
@CustomType.Setter
public Builder count(@Nullable Integer count) {
this.count = count;
return this;
}
@CustomType.Setter
public Builder diskEncryptionSetId(@Nullable String diskEncryptionSetId) {
this.diskEncryptionSetId = diskEncryptionSetId;
return this;
}
@CustomType.Setter
public Builder diskSizeGB(@Nullable Integer diskSizeGB) {
this.diskSizeGB = diskSizeGB;
return this;
}
@CustomType.Setter
public Builder encryptionAtHost(@Nullable String encryptionAtHost) {
this.encryptionAtHost = encryptionAtHost;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder subnetId(@Nullable String subnetId) {
this.subnetId = subnetId;
return this;
}
@CustomType.Setter
public Builder vmSize(@Nullable String vmSize) {
this.vmSize = vmSize;
return this;
}
public WorkerProfileResponse build() {
final var _resultValue = new WorkerProfileResponse();
_resultValue.count = count;
_resultValue.diskEncryptionSetId = diskEncryptionSetId;
_resultValue.diskSizeGB = diskSizeGB;
_resultValue.encryptionAtHost = encryptionAtHost;
_resultValue.name = name;
_resultValue.subnetId = subnetId;
_resultValue.vmSize = vmSize;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy