com.pulumi.alicloud.ga.outputs.GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.ga.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 GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock {
/**
* @return The region ID of the endpoint group.
*
*/
private String endpointGroupRegion;
/**
* @return The CIDR blocks.
*
*/
private List ipAddressCidrBlocks;
/**
* @return The status of the list of endpoint group ip address cidr blocks.
*
*/
private String status;
private GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock() {}
/**
* @return The region ID of the endpoint group.
*
*/
public String endpointGroupRegion() {
return this.endpointGroupRegion;
}
/**
* @return The CIDR blocks.
*
*/
public List ipAddressCidrBlocks() {
return this.ipAddressCidrBlocks;
}
/**
* @return The status of the list of endpoint group ip address cidr blocks.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String endpointGroupRegion;
private List ipAddressCidrBlocks;
private String status;
public Builder() {}
public Builder(GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock defaults) {
Objects.requireNonNull(defaults);
this.endpointGroupRegion = defaults.endpointGroupRegion;
this.ipAddressCidrBlocks = defaults.ipAddressCidrBlocks;
this.status = defaults.status;
}
@CustomType.Setter
public Builder endpointGroupRegion(String endpointGroupRegion) {
if (endpointGroupRegion == null) {
throw new MissingRequiredPropertyException("GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock", "endpointGroupRegion");
}
this.endpointGroupRegion = endpointGroupRegion;
return this;
}
@CustomType.Setter
public Builder ipAddressCidrBlocks(List ipAddressCidrBlocks) {
if (ipAddressCidrBlocks == null) {
throw new MissingRequiredPropertyException("GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock", "ipAddressCidrBlocks");
}
this.ipAddressCidrBlocks = ipAddressCidrBlocks;
return this;
}
public Builder ipAddressCidrBlocks(String... ipAddressCidrBlocks) {
return ipAddressCidrBlocks(List.of(ipAddressCidrBlocks));
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock", "status");
}
this.status = status;
return this;
}
public GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock build() {
final var _resultValue = new GetEndpointGroupIpAddressCidrBlocksEndpointGroupIpAddressCidrBlock();
_resultValue.endpointGroupRegion = endpointGroupRegion;
_resultValue.ipAddressCidrBlocks = ipAddressCidrBlocks;
_resultValue.status = status;
return _resultValue;
}
}
}