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