com.pulumi.azure.storage.outputs.AccountRouting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.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 AccountRouting {
/**
* @return Specifies the kind of network routing opted by the user. Possible values are `InternetRouting` and `MicrosoftRouting`. Defaults to `MicrosoftRouting`.
*
*/
private @Nullable String choice;
/**
* @return Should internet routing storage endpoints be published? Defaults to `false`.
*
*/
private @Nullable Boolean publishInternetEndpoints;
/**
* @return Should Microsoft routing storage endpoints be published? Defaults to `false`.
*
*/
private @Nullable Boolean publishMicrosoftEndpoints;
private AccountRouting() {}
/**
* @return Specifies the kind of network routing opted by the user. Possible values are `InternetRouting` and `MicrosoftRouting`. Defaults to `MicrosoftRouting`.
*
*/
public Optional choice() {
return Optional.ofNullable(this.choice);
}
/**
* @return Should internet routing storage endpoints be published? Defaults to `false`.
*
*/
public Optional publishInternetEndpoints() {
return Optional.ofNullable(this.publishInternetEndpoints);
}
/**
* @return Should Microsoft routing storage endpoints be published? Defaults to `false`.
*
*/
public Optional publishMicrosoftEndpoints() {
return Optional.ofNullable(this.publishMicrosoftEndpoints);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccountRouting defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String choice;
private @Nullable Boolean publishInternetEndpoints;
private @Nullable Boolean publishMicrosoftEndpoints;
public Builder() {}
public Builder(AccountRouting defaults) {
Objects.requireNonNull(defaults);
this.choice = defaults.choice;
this.publishInternetEndpoints = defaults.publishInternetEndpoints;
this.publishMicrosoftEndpoints = defaults.publishMicrosoftEndpoints;
}
@CustomType.Setter
public Builder choice(@Nullable String choice) {
this.choice = choice;
return this;
}
@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;
}
public AccountRouting build() {
final var _resultValue = new AccountRouting();
_resultValue.choice = choice;
_resultValue.publishInternetEndpoints = publishInternetEndpoints;
_resultValue.publishMicrosoftEndpoints = publishMicrosoftEndpoints;
return _resultValue;
}
}
}