com.pulumi.azurenative.databox.outputs.DiskSecretResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DiskSecretResponse {
/**
* @return Bit Locker key of the disk which can be used to unlock the disk to copy data.
*
*/
private String bitLockerKey;
/**
* @return Serial number of the assigned disk.
*
*/
private String diskSerialNumber;
private DiskSecretResponse() {}
/**
* @return Bit Locker key of the disk which can be used to unlock the disk to copy data.
*
*/
public String bitLockerKey() {
return this.bitLockerKey;
}
/**
* @return Serial number of the assigned disk.
*
*/
public String diskSerialNumber() {
return this.diskSerialNumber;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DiskSecretResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bitLockerKey;
private String diskSerialNumber;
public Builder() {}
public Builder(DiskSecretResponse defaults) {
Objects.requireNonNull(defaults);
this.bitLockerKey = defaults.bitLockerKey;
this.diskSerialNumber = defaults.diskSerialNumber;
}
@CustomType.Setter
public Builder bitLockerKey(String bitLockerKey) {
if (bitLockerKey == null) {
throw new MissingRequiredPropertyException("DiskSecretResponse", "bitLockerKey");
}
this.bitLockerKey = bitLockerKey;
return this;
}
@CustomType.Setter
public Builder diskSerialNumber(String diskSerialNumber) {
if (diskSerialNumber == null) {
throw new MissingRequiredPropertyException("DiskSecretResponse", "diskSerialNumber");
}
this.diskSerialNumber = diskSerialNumber;
return this;
}
public DiskSecretResponse build() {
final var _resultValue = new DiskSecretResponse();
_resultValue.bitLockerKey = bitLockerKey;
_resultValue.diskSerialNumber = diskSerialNumber;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy