Class ContainerNetworkPolicyAllowlist
-
- All Implemented Interfaces:
public final class ContainerNetworkPolicyAllowlist
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerNetworkPolicyAllowlist.BuilderA builder for ContainerNetworkPolicyAllowlist.
-
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<ContainerNetworkPolicyDomainSecret>>domainSecrets()Optional domain-scoped secrets for allowlisted domains. final JsonField<List<String>>_allowedDomains()Returns the raw JSON value of allowedDomains. final JsonField<List<ContainerNetworkPolicyDomainSecret>>_domainSecrets()Returns the raw JSON value of domainSecrets. final Map<String, JsonValue>_additionalProperties()final ContainerNetworkPolicyAllowlist.BuildertoBuilder()final ContainerNetworkPolicyAllowlistvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerNetworkPolicyAllowlist.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerNetworkPolicyAllowlist. -
-
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<ContainerNetworkPolicyDomainSecret>> 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<ContainerNetworkPolicyDomainSecret>> _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 ContainerNetworkPolicyAllowlist.Builder toBuilder()
-
validate
final ContainerNetworkPolicyAllowlist 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 ContainerNetworkPolicyAllowlist.Builder builder()
Returns a mutable builder for constructing an instance of ContainerNetworkPolicyAllowlist.
The following fields are required:
.allowedDomains()
-
-
-
-