com.pulumi.azurenative.m365securityandcompliance.outputs.ServiceCosmosDbConfigurationInfoResponse 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.
The newest version!
// *** 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.m365securityandcompliance.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ServiceCosmosDbConfigurationInfoResponse {
/**
* @return The URI of the customer-managed key for the backing database.
*
*/
private @Nullable String keyVaultKeyUri;
/**
* @return The provisioned throughput for the backing database.
*
*/
private @Nullable Double offerThroughput;
private ServiceCosmosDbConfigurationInfoResponse() {}
/**
* @return The URI of the customer-managed key for the backing database.
*
*/
public Optional keyVaultKeyUri() {
return Optional.ofNullable(this.keyVaultKeyUri);
}
/**
* @return The provisioned throughput for the backing database.
*
*/
public Optional offerThroughput() {
return Optional.ofNullable(this.offerThroughput);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceCosmosDbConfigurationInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String keyVaultKeyUri;
private @Nullable Double offerThroughput;
public Builder() {}
public Builder(ServiceCosmosDbConfigurationInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.keyVaultKeyUri = defaults.keyVaultKeyUri;
this.offerThroughput = defaults.offerThroughput;
}
@CustomType.Setter
public Builder keyVaultKeyUri(@Nullable String keyVaultKeyUri) {
this.keyVaultKeyUri = keyVaultKeyUri;
return this;
}
@CustomType.Setter
public Builder offerThroughput(@Nullable Double offerThroughput) {
this.offerThroughput = offerThroughput;
return this;
}
public ServiceCosmosDbConfigurationInfoResponse build() {
final var _resultValue = new ServiceCosmosDbConfigurationInfoResponse();
_resultValue.keyVaultKeyUri = keyVaultKeyUri;
_resultValue.offerThroughput = offerThroughput;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy