Class BetaContainerNetworkPolicyAllowlist
-
- All Implemented Interfaces:
public final class BetaContainerNetworkPolicyAllowlist
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContainerNetworkPolicyAllowlist.BuilderA builder for BetaContainerNetworkPolicyAllowlist.
-
Method Summary
Modifier and Type Method Description final List<String>allowedDomains()A list of allowed domains when type is allowlist.final JsonValue_type()Allow outbound network access only to specified domains. final Optional<List<BetaContainerNetworkPolicyDomainSecret>>domainSecrets()Optional domain-scoped secrets for allowlisted domains. final JsonField<List<String>>_allowedDomains()Returns the raw JSON value of allowedDomains. final JsonField<List<BetaContainerNetworkPolicyDomainSecret>>_domainSecrets()Returns the raw JSON value of domainSecrets. final Map<String, JsonValue>_additionalProperties()final BetaContainerNetworkPolicyAllowlist.BuildertoBuilder()final BetaContainerNetworkPolicyAllowlistvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContainerNetworkPolicyAllowlist.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContainerNetworkPolicyAllowlist. -
-
Method Detail
-
allowedDomains
final List<String> allowedDomains()
A list of allowed domains when type is
allowlist.
-
_type
final JsonValue _type()
Allow outbound network access only to specified domains. Always
allowlist.Expected to always return the following:
JsonValue.from("allowlist")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
domainSecrets
final Optional<List<BetaContainerNetworkPolicyDomainSecret>> domainSecrets()
Optional domain-scoped secrets for allowlisted domains.
-
_allowedDomains
final JsonField<List<String>> _allowedDomains()
Returns the raw JSON value of allowedDomains.
Unlike allowedDomains, this method doesn't throw if the JSON field has an unexpected type.
-
_domainSecrets
final JsonField<List<BetaContainerNetworkPolicyDomainSecret>> _domainSecrets()
Returns the raw JSON value of domainSecrets.
Unlike domainSecrets, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaContainerNetworkPolicyAllowlist.Builder toBuilder()
-
validate
final BetaContainerNetworkPolicyAllowlist validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaContainerNetworkPolicyAllowlist.Builder builder()
Returns a mutable builder for constructing an instance of BetaContainerNetworkPolicyAllowlist.
The following fields are required:
.allowedDomains()
-
-
-
-