
com.pulumi.azurenative.compute.outputs.GalleryTargetExtendedLocationResponse Maven / Gradle / Ivy
// *** 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.compute.outputs;
import com.pulumi.azurenative.compute.outputs.EncryptionImagesResponse;
import com.pulumi.azurenative.compute.outputs.GalleryExtendedLocationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GalleryTargetExtendedLocationResponse {
/**
* @return Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
*
*/
private @Nullable EncryptionImagesResponse encryption;
/**
* @return The name of the extended location.
*
*/
private @Nullable GalleryExtendedLocationResponse extendedLocation;
/**
* @return The number of replicas of the Image Version to be created per extended location. This property is updatable.
*
*/
private @Nullable Integer extendedLocationReplicaCount;
/**
* @return The name of the region.
*
*/
private @Nullable String name;
/**
* @return Specifies the storage account type to be used to store the image. This property is not updatable.
*
*/
private @Nullable String storageAccountType;
private GalleryTargetExtendedLocationResponse() {}
/**
* @return Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return The name of the extended location.
*
*/
public Optional extendedLocation() {
return Optional.ofNullable(this.extendedLocation);
}
/**
* @return The number of replicas of the Image Version to be created per extended location. This property is updatable.
*
*/
public Optional extendedLocationReplicaCount() {
return Optional.ofNullable(this.extendedLocationReplicaCount);
}
/**
* @return The name of the region.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Specifies the storage account type to be used to store the image. This property is not updatable.
*
*/
public Optional storageAccountType() {
return Optional.ofNullable(this.storageAccountType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GalleryTargetExtendedLocationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EncryptionImagesResponse encryption;
private @Nullable GalleryExtendedLocationResponse extendedLocation;
private @Nullable Integer extendedLocationReplicaCount;
private @Nullable String name;
private @Nullable String storageAccountType;
public Builder() {}
public Builder(GalleryTargetExtendedLocationResponse defaults) {
Objects.requireNonNull(defaults);
this.encryption = defaults.encryption;
this.extendedLocation = defaults.extendedLocation;
this.extendedLocationReplicaCount = defaults.extendedLocationReplicaCount;
this.name = defaults.name;
this.storageAccountType = defaults.storageAccountType;
}
@CustomType.Setter
public Builder encryption(@Nullable EncryptionImagesResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder extendedLocation(@Nullable GalleryExtendedLocationResponse extendedLocation) {
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder extendedLocationReplicaCount(@Nullable Integer extendedLocationReplicaCount) {
this.extendedLocationReplicaCount = extendedLocationReplicaCount;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder storageAccountType(@Nullable String storageAccountType) {
this.storageAccountType = storageAccountType;
return this;
}
public GalleryTargetExtendedLocationResponse build() {
final var _resultValue = new GalleryTargetExtendedLocationResponse();
_resultValue.encryption = encryption;
_resultValue.extendedLocation = extendedLocation;
_resultValue.extendedLocationReplicaCount = extendedLocationReplicaCount;
_resultValue.name = name;
_resultValue.storageAccountType = storageAccountType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy