com.pulumi.azurenative.databox.outputs.DataBoxHeavySecretResponse 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.databox.outputs;
import com.pulumi.azurenative.databox.outputs.AccountCredentialDetailsResponse;
import com.pulumi.azurenative.databox.outputs.ApplianceNetworkConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class DataBoxHeavySecretResponse {
/**
* @return Per account level access credentials.
*
*/
private List accountCredentialDetails;
/**
* @return Password for out of the box experience on device.
*
*/
private String devicePassword;
/**
* @return Serial number of the assigned device.
*
*/
private String deviceSerialNumber;
/**
* @return The base 64 encoded public key to authenticate with the device
*
*/
private String encodedValidationCertPubKey;
/**
* @return Network configuration of the appliance.
*
*/
private List networkConfigurations;
private DataBoxHeavySecretResponse() {}
/**
* @return Per account level access credentials.
*
*/
public List accountCredentialDetails() {
return this.accountCredentialDetails;
}
/**
* @return Password for out of the box experience on device.
*
*/
public String devicePassword() {
return this.devicePassword;
}
/**
* @return Serial number of the assigned device.
*
*/
public String deviceSerialNumber() {
return this.deviceSerialNumber;
}
/**
* @return The base 64 encoded public key to authenticate with the device
*
*/
public String encodedValidationCertPubKey() {
return this.encodedValidationCertPubKey;
}
/**
* @return Network configuration of the appliance.
*
*/
public List networkConfigurations() {
return this.networkConfigurations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataBoxHeavySecretResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List accountCredentialDetails;
private String devicePassword;
private String deviceSerialNumber;
private String encodedValidationCertPubKey;
private List networkConfigurations;
public Builder() {}
public Builder(DataBoxHeavySecretResponse defaults) {
Objects.requireNonNull(defaults);
this.accountCredentialDetails = defaults.accountCredentialDetails;
this.devicePassword = defaults.devicePassword;
this.deviceSerialNumber = defaults.deviceSerialNumber;
this.encodedValidationCertPubKey = defaults.encodedValidationCertPubKey;
this.networkConfigurations = defaults.networkConfigurations;
}
@CustomType.Setter
public Builder accountCredentialDetails(List accountCredentialDetails) {
if (accountCredentialDetails == null) {
throw new MissingRequiredPropertyException("DataBoxHeavySecretResponse", "accountCredentialDetails");
}
this.accountCredentialDetails = accountCredentialDetails;
return this;
}
public Builder accountCredentialDetails(AccountCredentialDetailsResponse... accountCredentialDetails) {
return accountCredentialDetails(List.of(accountCredentialDetails));
}
@CustomType.Setter
public Builder devicePassword(String devicePassword) {
if (devicePassword == null) {
throw new MissingRequiredPropertyException("DataBoxHeavySecretResponse", "devicePassword");
}
this.devicePassword = devicePassword;
return this;
}
@CustomType.Setter
public Builder deviceSerialNumber(String deviceSerialNumber) {
if (deviceSerialNumber == null) {
throw new MissingRequiredPropertyException("DataBoxHeavySecretResponse", "deviceSerialNumber");
}
this.deviceSerialNumber = deviceSerialNumber;
return this;
}
@CustomType.Setter
public Builder encodedValidationCertPubKey(String encodedValidationCertPubKey) {
if (encodedValidationCertPubKey == null) {
throw new MissingRequiredPropertyException("DataBoxHeavySecretResponse", "encodedValidationCertPubKey");
}
this.encodedValidationCertPubKey = encodedValidationCertPubKey;
return this;
}
@CustomType.Setter
public Builder networkConfigurations(List networkConfigurations) {
if (networkConfigurations == null) {
throw new MissingRequiredPropertyException("DataBoxHeavySecretResponse", "networkConfigurations");
}
this.networkConfigurations = networkConfigurations;
return this;
}
public Builder networkConfigurations(ApplianceNetworkConfigurationResponse... networkConfigurations) {
return networkConfigurations(List.of(networkConfigurations));
}
public DataBoxHeavySecretResponse build() {
final var _resultValue = new DataBoxHeavySecretResponse();
_resultValue.accountCredentialDetails = accountCredentialDetails;
_resultValue.devicePassword = devicePassword;
_resultValue.deviceSerialNumber = deviceSerialNumber;
_resultValue.encodedValidationCertPubKey = encodedValidationCertPubKey;
_resultValue.networkConfigurations = networkConfigurations;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy