
com.pulumi.azurenative.storage.outputs.RoutingPreferenceResponse 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.storage.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RoutingPreferenceResponse {
/**
* @return A boolean flag which indicates whether internet routing storage endpoints are to be published
*
*/
private @Nullable Boolean publishInternetEndpoints;
/**
* @return A boolean flag which indicates whether microsoft routing storage endpoints are to be published
*
*/
private @Nullable Boolean publishMicrosoftEndpoints;
/**
* @return Routing Choice defines the kind of network routing opted by the user.
*
*/
private @Nullable String routingChoice;
private RoutingPreferenceResponse() {}
/**
* @return A boolean flag which indicates whether internet routing storage endpoints are to be published
*
*/
public Optional publishInternetEndpoints() {
return Optional.ofNullable(this.publishInternetEndpoints);
}
/**
* @return A boolean flag which indicates whether microsoft routing storage endpoints are to be published
*
*/
public Optional publishMicrosoftEndpoints() {
return Optional.ofNullable(this.publishMicrosoftEndpoints);
}
/**
* @return Routing Choice defines the kind of network routing opted by the user.
*
*/
public Optional routingChoice() {
return Optional.ofNullable(this.routingChoice);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RoutingPreferenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean publishInternetEndpoints;
private @Nullable Boolean publishMicrosoftEndpoints;
private @Nullable String routingChoice;
public Builder() {}
public Builder(RoutingPreferenceResponse defaults) {
Objects.requireNonNull(defaults);
this.publishInternetEndpoints = defaults.publishInternetEndpoints;
this.publishMicrosoftEndpoints = defaults.publishMicrosoftEndpoints;
this.routingChoice = defaults.routingChoice;
}
@CustomType.Setter
public Builder publishInternetEndpoints(@Nullable Boolean publishInternetEndpoints) {
this.publishInternetEndpoints = publishInternetEndpoints;
return this;
}
@CustomType.Setter
public Builder publishMicrosoftEndpoints(@Nullable Boolean publishMicrosoftEndpoints) {
this.publishMicrosoftEndpoints = publishMicrosoftEndpoints;
return this;
}
@CustomType.Setter
public Builder routingChoice(@Nullable String routingChoice) {
this.routingChoice = routingChoice;
return this;
}
public RoutingPreferenceResponse build() {
final var _resultValue = new RoutingPreferenceResponse();
_resultValue.publishInternetEndpoints = publishInternetEndpoints;
_resultValue.publishMicrosoftEndpoints = publishMicrosoftEndpoints;
_resultValue.routingChoice = routingChoice;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy