com.pulumi.azurenative.azurestack.outputs.DataDiskImageResponse 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.azurestack.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DataDiskImageResponse {
/**
* @return The LUN.
*
*/
private Integer lun;
/**
* @return SAS key for source blob.
*
*/
private String sourceBlobSasUri;
private DataDiskImageResponse() {}
/**
* @return The LUN.
*
*/
public Integer lun() {
return this.lun;
}
/**
* @return SAS key for source blob.
*
*/
public String sourceBlobSasUri() {
return this.sourceBlobSasUri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataDiskImageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer lun;
private String sourceBlobSasUri;
public Builder() {}
public Builder(DataDiskImageResponse defaults) {
Objects.requireNonNull(defaults);
this.lun = defaults.lun;
this.sourceBlobSasUri = defaults.sourceBlobSasUri;
}
@CustomType.Setter
public Builder lun(Integer lun) {
if (lun == null) {
throw new MissingRequiredPropertyException("DataDiskImageResponse", "lun");
}
this.lun = lun;
return this;
}
@CustomType.Setter
public Builder sourceBlobSasUri(String sourceBlobSasUri) {
if (sourceBlobSasUri == null) {
throw new MissingRequiredPropertyException("DataDiskImageResponse", "sourceBlobSasUri");
}
this.sourceBlobSasUri = sourceBlobSasUri;
return this;
}
public DataDiskImageResponse build() {
final var _resultValue = new DataDiskImageResponse();
_resultValue.lun = lun;
_resultValue.sourceBlobSasUri = sourceBlobSasUri;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy