
com.pulumi.azurenative.hardwaresecuritymodules.outputs.GetDedicatedHsmResult 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.hardwaresecuritymodules.outputs;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.NetworkProfileResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.SkuResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDedicatedHsmResult {
/**
* @return The Azure Resource Manager resource ID for the dedicated HSM.
*
*/
private String id;
/**
* @return The supported Azure location where the dedicated HSM should be created.
*
*/
private String location;
/**
* @return Specifies the management network interfaces of the dedicated hsm.
*
*/
private @Nullable NetworkProfileResponse managementNetworkProfile;
/**
* @return The name of the dedicated HSM.
*
*/
private String name;
/**
* @return Specifies the network interfaces of the dedicated hsm.
*
*/
private @Nullable NetworkProfileResponse networkProfile;
/**
* @return Provisioning state.
*
*/
private String provisioningState;
/**
* @return SKU details
*
*/
private SkuResponse sku;
/**
* @return This field will be used when RP does not support Availability zones.
*
*/
private @Nullable String stampId;
/**
* @return Resource Status Message.
*
*/
private String statusMessage;
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags
*
*/
private @Nullable Map tags;
/**
* @return The resource type of the dedicated HSM.
*
*/
private String type;
/**
* @return The Dedicated Hsm zones.
*
*/
private @Nullable List zones;
private GetDedicatedHsmResult() {}
/**
* @return The Azure Resource Manager resource ID for the dedicated HSM.
*
*/
public String id() {
return this.id;
}
/**
* @return The supported Azure location where the dedicated HSM should be created.
*
*/
public String location() {
return this.location;
}
/**
* @return Specifies the management network interfaces of the dedicated hsm.
*
*/
public Optional managementNetworkProfile() {
return Optional.ofNullable(this.managementNetworkProfile);
}
/**
* @return The name of the dedicated HSM.
*
*/
public String name() {
return this.name;
}
/**
* @return Specifies the network interfaces of the dedicated hsm.
*
*/
public Optional networkProfile() {
return Optional.ofNullable(this.networkProfile);
}
/**
* @return Provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return SKU details
*
*/
public SkuResponse sku() {
return this.sku;
}
/**
* @return This field will be used when RP does not support Availability zones.
*
*/
public Optional stampId() {
return Optional.ofNullable(this.stampId);
}
/**
* @return Resource Status Message.
*
*/
public String statusMessage() {
return this.statusMessage;
}
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The resource type of the dedicated HSM.
*
*/
public String type() {
return this.type;
}
/**
* @return The Dedicated Hsm zones.
*
*/
public List zones() {
return this.zones == null ? List.of() : this.zones;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDedicatedHsmResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String location;
private @Nullable NetworkProfileResponse managementNetworkProfile;
private String name;
private @Nullable NetworkProfileResponse networkProfile;
private String provisioningState;
private SkuResponse sku;
private @Nullable String stampId;
private String statusMessage;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private @Nullable List zones;
public Builder() {}
public Builder(GetDedicatedHsmResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
this.managementNetworkProfile = defaults.managementNetworkProfile;
this.name = defaults.name;
this.networkProfile = defaults.networkProfile;
this.provisioningState = defaults.provisioningState;
this.sku = defaults.sku;
this.stampId = defaults.stampId;
this.statusMessage = defaults.statusMessage;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.zones = defaults.zones;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder managementNetworkProfile(@Nullable NetworkProfileResponse managementNetworkProfile) {
this.managementNetworkProfile = managementNetworkProfile;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkProfile(@Nullable NetworkProfileResponse networkProfile) {
this.networkProfile = networkProfile;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sku(SkuResponse sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder stampId(@Nullable String stampId) {
this.stampId = stampId;
return this;
}
@CustomType.Setter
public Builder statusMessage(String statusMessage) {
if (statusMessage == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "statusMessage");
}
this.statusMessage = statusMessage;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDedicatedHsmResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder zones(@Nullable List zones) {
this.zones = zones;
return this;
}
public Builder zones(String... zones) {
return zones(List.of(zones));
}
public GetDedicatedHsmResult build() {
final var _resultValue = new GetDedicatedHsmResult();
_resultValue.id = id;
_resultValue.location = location;
_resultValue.managementNetworkProfile = managementNetworkProfile;
_resultValue.name = name;
_resultValue.networkProfile = networkProfile;
_resultValue.provisioningState = provisioningState;
_resultValue.sku = sku;
_resultValue.stampId = stampId;
_resultValue.statusMessage = statusMessage;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.zones = zones;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy