Class BucketInfo.IpFilter.VpcNetworkSource.Builder (2.59.0)

public static final class BucketInfo.IpFilter.VpcNetworkSource.Builder

Inheritance

java.lang.Object > BucketInfo.IpFilter.VpcNetworkSource.Builder

Constructors

Builder(BucketInfo.IpFilter.VpcNetworkSource vpcNetworksource)

public Builder(BucketInfo.IpFilter.VpcNetworkSource vpcNetworksource)
Parameter
Name Description
vpcNetworksource BucketInfo.IpFilter.VpcNetworkSource

Methods

build()

public BucketInfo.IpFilter.VpcNetworkSource build()
Returns
Type Description
BucketInfo.IpFilter.VpcNetworkSource

setAllowedIpCidrRanges(@Nullable List<String> allowedIpCidrRanges)

public BucketInfo.IpFilter.VpcNetworkSource.Builder setAllowedIpCidrRanges(@Nullable List<String> allowedIpCidrRanges)

Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, 192.0.2.0/24 is accepted but 192.0.2.1/24 is not. Similarly, for IPv6, 2001:db8::/32 is accepted whereas 2001:db8::1/32 is not. See Also: VpcNetworkSource#getAllowedIpCidrRanges()

Parameter
Name Description
allowedIpCidrRanges @org.checkerframework.checker.nullness.qual.Nullable java.util.List<String>
Returns
Type Description
BucketInfo.IpFilter.VpcNetworkSource.Builder

setNetwork(@Nullable String network)

public BucketInfo.IpFilter.VpcNetworkSource.Builder setNetwork(@Nullable String network)

Name of the network.

Format: projects/PROJECT_ID/global/networks/NETWORK_NAME See Also: VpcNetworkSource#getNetwork()

Parameter
Name Description
network @org.checkerframework.checker.nullness.qual.Nullable java.lang.String
Returns
Type Description
BucketInfo.IpFilter.VpcNetworkSource.Builder