com.pulumi.azurenative.databox.outputs.PreferencesResponse 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.EncryptionPreferencesResponse;
import com.pulumi.azurenative.databox.outputs.TransportPreferencesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PreferencesResponse {
/**
* @return Preferences related to the Encryption.
*
*/
private @Nullable EncryptionPreferencesResponse encryptionPreferences;
/**
* @return Preferred data center region.
*
*/
private @Nullable List preferredDataCenterRegion;
/**
* @return Optional Preferences related to the reverse shipment logistics of the sku.
*
*/
private @Nullable TransportPreferencesResponse reverseTransportPreferences;
/**
* @return Preferences related to the Access Tier of storage accounts.
*
*/
private @Nullable List storageAccountAccessTierPreferences;
/**
* @return Preferences related to the shipment logistics of the sku.
*
*/
private @Nullable TransportPreferencesResponse transportPreferences;
private PreferencesResponse() {}
/**
* @return Preferences related to the Encryption.
*
*/
public Optional encryptionPreferences() {
return Optional.ofNullable(this.encryptionPreferences);
}
/**
* @return Preferred data center region.
*
*/
public List preferredDataCenterRegion() {
return this.preferredDataCenterRegion == null ? List.of() : this.preferredDataCenterRegion;
}
/**
* @return Optional Preferences related to the reverse shipment logistics of the sku.
*
*/
public Optional reverseTransportPreferences() {
return Optional.ofNullable(this.reverseTransportPreferences);
}
/**
* @return Preferences related to the Access Tier of storage accounts.
*
*/
public List storageAccountAccessTierPreferences() {
return this.storageAccountAccessTierPreferences == null ? List.of() : this.storageAccountAccessTierPreferences;
}
/**
* @return Preferences related to the shipment logistics of the sku.
*
*/
public Optional transportPreferences() {
return Optional.ofNullable(this.transportPreferences);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PreferencesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EncryptionPreferencesResponse encryptionPreferences;
private @Nullable List preferredDataCenterRegion;
private @Nullable TransportPreferencesResponse reverseTransportPreferences;
private @Nullable List storageAccountAccessTierPreferences;
private @Nullable TransportPreferencesResponse transportPreferences;
public Builder() {}
public Builder(PreferencesResponse defaults) {
Objects.requireNonNull(defaults);
this.encryptionPreferences = defaults.encryptionPreferences;
this.preferredDataCenterRegion = defaults.preferredDataCenterRegion;
this.reverseTransportPreferences = defaults.reverseTransportPreferences;
this.storageAccountAccessTierPreferences = defaults.storageAccountAccessTierPreferences;
this.transportPreferences = defaults.transportPreferences;
}
@CustomType.Setter
public Builder encryptionPreferences(@Nullable EncryptionPreferencesResponse encryptionPreferences) {
this.encryptionPreferences = encryptionPreferences;
return this;
}
@CustomType.Setter
public Builder preferredDataCenterRegion(@Nullable List preferredDataCenterRegion) {
this.preferredDataCenterRegion = preferredDataCenterRegion;
return this;
}
public Builder preferredDataCenterRegion(String... preferredDataCenterRegion) {
return preferredDataCenterRegion(List.of(preferredDataCenterRegion));
}
@CustomType.Setter
public Builder reverseTransportPreferences(@Nullable TransportPreferencesResponse reverseTransportPreferences) {
this.reverseTransportPreferences = reverseTransportPreferences;
return this;
}
@CustomType.Setter
public Builder storageAccountAccessTierPreferences(@Nullable List storageAccountAccessTierPreferences) {
this.storageAccountAccessTierPreferences = storageAccountAccessTierPreferences;
return this;
}
public Builder storageAccountAccessTierPreferences(String... storageAccountAccessTierPreferences) {
return storageAccountAccessTierPreferences(List.of(storageAccountAccessTierPreferences));
}
@CustomType.Setter
public Builder transportPreferences(@Nullable TransportPreferencesResponse transportPreferences) {
this.transportPreferences = transportPreferences;
return this;
}
public PreferencesResponse build() {
final var _resultValue = new PreferencesResponse();
_resultValue.encryptionPreferences = encryptionPreferences;
_resultValue.preferredDataCenterRegion = preferredDataCenterRegion;
_resultValue.reverseTransportPreferences = reverseTransportPreferences;
_resultValue.storageAccountAccessTierPreferences = storageAccountAccessTierPreferences;
_resultValue.transportPreferences = transportPreferences;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy