com.pulumi.azurenative.fluidrelay.outputs.FluidRelayEndpointsResponse 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.fluidrelay.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class FluidRelayEndpointsResponse {
/**
* @return The Fluid Relay Orderer endpoints.
*
*/
private List ordererEndpoints;
/**
* @return The Fluid Relay service endpoints.
*
*/
private List serviceEndpoints;
/**
* @return The Fluid Relay storage endpoints.
*
*/
private List storageEndpoints;
private FluidRelayEndpointsResponse() {}
/**
* @return The Fluid Relay Orderer endpoints.
*
*/
public List ordererEndpoints() {
return this.ordererEndpoints;
}
/**
* @return The Fluid Relay service endpoints.
*
*/
public List serviceEndpoints() {
return this.serviceEndpoints;
}
/**
* @return The Fluid Relay storage endpoints.
*
*/
public List storageEndpoints() {
return this.storageEndpoints;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FluidRelayEndpointsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List ordererEndpoints;
private List serviceEndpoints;
private List storageEndpoints;
public Builder() {}
public Builder(FluidRelayEndpointsResponse defaults) {
Objects.requireNonNull(defaults);
this.ordererEndpoints = defaults.ordererEndpoints;
this.serviceEndpoints = defaults.serviceEndpoints;
this.storageEndpoints = defaults.storageEndpoints;
}
@CustomType.Setter
public Builder ordererEndpoints(List ordererEndpoints) {
if (ordererEndpoints == null) {
throw new MissingRequiredPropertyException("FluidRelayEndpointsResponse", "ordererEndpoints");
}
this.ordererEndpoints = ordererEndpoints;
return this;
}
public Builder ordererEndpoints(String... ordererEndpoints) {
return ordererEndpoints(List.of(ordererEndpoints));
}
@CustomType.Setter
public Builder serviceEndpoints(List serviceEndpoints) {
if (serviceEndpoints == null) {
throw new MissingRequiredPropertyException("FluidRelayEndpointsResponse", "serviceEndpoints");
}
this.serviceEndpoints = serviceEndpoints;
return this;
}
public Builder serviceEndpoints(String... serviceEndpoints) {
return serviceEndpoints(List.of(serviceEndpoints));
}
@CustomType.Setter
public Builder storageEndpoints(List storageEndpoints) {
if (storageEndpoints == null) {
throw new MissingRequiredPropertyException("FluidRelayEndpointsResponse", "storageEndpoints");
}
this.storageEndpoints = storageEndpoints;
return this;
}
public Builder storageEndpoints(String... storageEndpoints) {
return storageEndpoints(List.of(storageEndpoints));
}
public FluidRelayEndpointsResponse build() {
final var _resultValue = new FluidRelayEndpointsResponse();
_resultValue.ordererEndpoints = ordererEndpoints;
_resultValue.serviceEndpoints = serviceEndpoints;
_resultValue.storageEndpoints = storageEndpoints;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy