
com.pulumi.azurenative.migrate.outputs.TargetStorageProfileResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.AzureFileShareHydrationProfileResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TargetStorageProfileResponse {
/**
* @return Azure file share profile for hydration of application folders not mounted on
* the container file system.
*
*/
private @Nullable AzureFileShareHydrationProfileResponse azureFileShareProfile;
/**
* @return Gets or sets the storage provider type on the target.
* Applicable when StorageProjectionType is not ContainerFileSystem.
*
*/
private @Nullable String hydrationStorageProviderType;
/**
* @return Gets or sets the target persistent volume id.
* Applicable when StorageProjectionType is PersistentVolume and on using an
* existing PersistentVolume.
*
*/
private @Nullable String persistentVolumeId;
/**
* @return Gets or sets the target storage access type.
*
*/
private @Nullable String storageAccessType;
/**
* @return Gets or sets the target projection type.
*
*/
private @Nullable String storageProjectionType;
/**
* @return Gets or sets the name of the projected volume on the target environment.
*
*/
private @Nullable String targetName;
/**
* @return Gets or sets the storage size on the target.
* Applicable when StorageProjectionType is PersistentVolume and on creating a new
* PersistentVolume.
*
*/
private @Nullable String targetSize;
private TargetStorageProfileResponse() {}
/**
* @return Azure file share profile for hydration of application folders not mounted on
* the container file system.
*
*/
public Optional azureFileShareProfile() {
return Optional.ofNullable(this.azureFileShareProfile);
}
/**
* @return Gets or sets the storage provider type on the target.
* Applicable when StorageProjectionType is not ContainerFileSystem.
*
*/
public Optional hydrationStorageProviderType() {
return Optional.ofNullable(this.hydrationStorageProviderType);
}
/**
* @return Gets or sets the target persistent volume id.
* Applicable when StorageProjectionType is PersistentVolume and on using an
* existing PersistentVolume.
*
*/
public Optional persistentVolumeId() {
return Optional.ofNullable(this.persistentVolumeId);
}
/**
* @return Gets or sets the target storage access type.
*
*/
public Optional storageAccessType() {
return Optional.ofNullable(this.storageAccessType);
}
/**
* @return Gets or sets the target projection type.
*
*/
public Optional storageProjectionType() {
return Optional.ofNullable(this.storageProjectionType);
}
/**
* @return Gets or sets the name of the projected volume on the target environment.
*
*/
public Optional targetName() {
return Optional.ofNullable(this.targetName);
}
/**
* @return Gets or sets the storage size on the target.
* Applicable when StorageProjectionType is PersistentVolume and on creating a new
* PersistentVolume.
*
*/
public Optional targetSize() {
return Optional.ofNullable(this.targetSize);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TargetStorageProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AzureFileShareHydrationProfileResponse azureFileShareProfile;
private @Nullable String hydrationStorageProviderType;
private @Nullable String persistentVolumeId;
private @Nullable String storageAccessType;
private @Nullable String storageProjectionType;
private @Nullable String targetName;
private @Nullable String targetSize;
public Builder() {}
public Builder(TargetStorageProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.azureFileShareProfile = defaults.azureFileShareProfile;
this.hydrationStorageProviderType = defaults.hydrationStorageProviderType;
this.persistentVolumeId = defaults.persistentVolumeId;
this.storageAccessType = defaults.storageAccessType;
this.storageProjectionType = defaults.storageProjectionType;
this.targetName = defaults.targetName;
this.targetSize = defaults.targetSize;
}
@CustomType.Setter
public Builder azureFileShareProfile(@Nullable AzureFileShareHydrationProfileResponse azureFileShareProfile) {
this.azureFileShareProfile = azureFileShareProfile;
return this;
}
@CustomType.Setter
public Builder hydrationStorageProviderType(@Nullable String hydrationStorageProviderType) {
this.hydrationStorageProviderType = hydrationStorageProviderType;
return this;
}
@CustomType.Setter
public Builder persistentVolumeId(@Nullable String persistentVolumeId) {
this.persistentVolumeId = persistentVolumeId;
return this;
}
@CustomType.Setter
public Builder storageAccessType(@Nullable String storageAccessType) {
this.storageAccessType = storageAccessType;
return this;
}
@CustomType.Setter
public Builder storageProjectionType(@Nullable String storageProjectionType) {
this.storageProjectionType = storageProjectionType;
return this;
}
@CustomType.Setter
public Builder targetName(@Nullable String targetName) {
this.targetName = targetName;
return this;
}
@CustomType.Setter
public Builder targetSize(@Nullable String targetSize) {
this.targetSize = targetSize;
return this;
}
public TargetStorageProfileResponse build() {
final var _resultValue = new TargetStorageProfileResponse();
_resultValue.azureFileShareProfile = azureFileShareProfile;
_resultValue.hydrationStorageProviderType = hydrationStorageProviderType;
_resultValue.persistentVolumeId = persistentVolumeId;
_resultValue.storageAccessType = storageAccessType;
_resultValue.storageProjectionType = storageProjectionType;
_resultValue.targetName = targetName;
_resultValue.targetSize = targetSize;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy