
com.pulumi.azurenative.recommendationsservice.outputs.ServiceEndpointResourceResponseProperties 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.recommendationsservice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ServiceEndpointResourceResponseProperties {
/**
* @return The paired location that will be used by this ServiceEndpoint.
*
*/
private String pairedLocation;
/**
* @return ServiceEndpoint pre-allocated capacity controls the maximum requests-per-second allowed for that endpoint. Only applicable when Account configuration is Capacity.
*
*/
private @Nullable Integer preAllocatedCapacity;
/**
* @return The resource provisioning state.
*
*/
private String provisioningState;
/**
* @return The URL where the ServiceEndpoint API is accessible at.
*
*/
private String url;
private ServiceEndpointResourceResponseProperties() {}
/**
* @return The paired location that will be used by this ServiceEndpoint.
*
*/
public String pairedLocation() {
return this.pairedLocation;
}
/**
* @return ServiceEndpoint pre-allocated capacity controls the maximum requests-per-second allowed for that endpoint. Only applicable when Account configuration is Capacity.
*
*/
public Optional preAllocatedCapacity() {
return Optional.ofNullable(this.preAllocatedCapacity);
}
/**
* @return The resource provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The URL where the ServiceEndpoint API is accessible at.
*
*/
public String url() {
return this.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceEndpointResourceResponseProperties defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String pairedLocation;
private @Nullable Integer preAllocatedCapacity;
private String provisioningState;
private String url;
public Builder() {}
public Builder(ServiceEndpointResourceResponseProperties defaults) {
Objects.requireNonNull(defaults);
this.pairedLocation = defaults.pairedLocation;
this.preAllocatedCapacity = defaults.preAllocatedCapacity;
this.provisioningState = defaults.provisioningState;
this.url = defaults.url;
}
@CustomType.Setter
public Builder pairedLocation(String pairedLocation) {
if (pairedLocation == null) {
throw new MissingRequiredPropertyException("ServiceEndpointResourceResponseProperties", "pairedLocation");
}
this.pairedLocation = pairedLocation;
return this;
}
@CustomType.Setter
public Builder preAllocatedCapacity(@Nullable Integer preAllocatedCapacity) {
this.preAllocatedCapacity = preAllocatedCapacity;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ServiceEndpointResourceResponseProperties", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder url(String url) {
if (url == null) {
throw new MissingRequiredPropertyException("ServiceEndpointResourceResponseProperties", "url");
}
this.url = url;
return this;
}
public ServiceEndpointResourceResponseProperties build() {
final var _resultValue = new ServiceEndpointResourceResponseProperties();
_resultValue.pairedLocation = pairedLocation;
_resultValue.preAllocatedCapacity = preAllocatedCapacity;
_resultValue.provisioningState = provisioningState;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy