@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1MutatingWebhook extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS |
static String |
SERIALIZED_NAME_CLIENT_CONFIG |
static String |
SERIALIZED_NAME_FAILURE_POLICY |
static String |
SERIALIZED_NAME_MATCH_POLICY |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_NAMESPACE_SELECTOR |
static String |
SERIALIZED_NAME_OBJECT_SELECTOR |
static String |
SERIALIZED_NAME_REINVOCATION_POLICY |
static String |
SERIALIZED_NAME_RULES |
static String |
SERIALIZED_NAME_SIDE_EFFECTS |
static String |
SERIALIZED_NAME_TIMEOUT_SECONDS |
Constructor and Description |
---|
V1MutatingWebhook() |
Modifier and Type | Method and Description |
---|---|
V1MutatingWebhook |
addAdmissionReviewVersionsItem(String admissionReviewVersionsItem) |
V1MutatingWebhook |
addRulesItem(V1RuleWithOperations rulesItem) |
V1MutatingWebhook |
admissionReviewVersions(List<String> admissionReviewVersions) |
V1MutatingWebhook |
clientConfig(AdmissionregistrationV1WebhookClientConfig clientConfig) |
boolean |
equals(Object o) |
V1MutatingWebhook |
failurePolicy(String failurePolicy) |
List<String> |
getAdmissionReviewVersions()
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions
the Webhook expects.
|
AdmissionregistrationV1WebhookClientConfig |
getClientConfig()
Get clientConfig
|
String |
getFailurePolicy()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed
values are Ignore or Fail.
|
String |
getMatchPolicy()
matchPolicy defines how the \"rules\" list is used to match incoming requests.
|
String |
getName()
The name of the admission webhook.
|
V1LabelSelector |
getNamespaceSelector()
Get namespaceSelector
|
V1LabelSelector |
getObjectSelector()
Get objectSelector
|
String |
getReinvocationPolicy()
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a
single admission evaluation.
|
List<V1RuleWithOperations> |
getRules()
Rules describes what operations on what resources/subresources the webhook cares about.
|
String |
getSideEffects()
SideEffects states whether this webhook has side effects.
|
Integer |
getTimeoutSeconds()
TimeoutSeconds specifies the timeout for this webhook.
|
int |
hashCode() |
V1MutatingWebhook |
matchPolicy(String matchPolicy) |
V1MutatingWebhook |
name(String name) |
V1MutatingWebhook |
namespaceSelector(V1LabelSelector namespaceSelector) |
V1MutatingWebhook |
objectSelector(V1LabelSelector objectSelector) |
V1MutatingWebhook |
reinvocationPolicy(String reinvocationPolicy) |
V1MutatingWebhook |
rules(List<V1RuleWithOperations> rules) |
void |
setAdmissionReviewVersions(List<String> admissionReviewVersions) |
void |
setClientConfig(AdmissionregistrationV1WebhookClientConfig clientConfig) |
void |
setFailurePolicy(String failurePolicy) |
void |
setMatchPolicy(String matchPolicy) |
void |
setName(String name) |
void |
setNamespaceSelector(V1LabelSelector namespaceSelector) |
void |
setObjectSelector(V1LabelSelector objectSelector) |
void |
setReinvocationPolicy(String reinvocationPolicy) |
void |
setRules(List<V1RuleWithOperations> rules) |
void |
setSideEffects(String sideEffects) |
void |
setTimeoutSeconds(Integer timeoutSeconds) |
V1MutatingWebhook |
sideEffects(String sideEffects) |
V1MutatingWebhook |
timeoutSeconds(Integer timeoutSeconds) |
String |
toString() |
public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS
public static final String SERIALIZED_NAME_CLIENT_CONFIG
public static final String SERIALIZED_NAME_FAILURE_POLICY
public static final String SERIALIZED_NAME_MATCH_POLICY
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAMESPACE_SELECTOR
public static final String SERIALIZED_NAME_OBJECT_SELECTOR
public static final String SERIALIZED_NAME_REINVOCATION_POLICY
public static final String SERIALIZED_NAME_RULES
public static final String SERIALIZED_NAME_SIDE_EFFECTS
public static final String SERIALIZED_NAME_TIMEOUT_SECONDS
public V1MutatingWebhook admissionReviewVersions(List<String> admissionReviewVersions)
public V1MutatingWebhook addAdmissionReviewVersionsItem(String admissionReviewVersionsItem)
public List<String> getAdmissionReviewVersions()
public void setAdmissionReviewVersions(List<String> admissionReviewVersions)
public V1MutatingWebhook clientConfig(AdmissionregistrationV1WebhookClientConfig clientConfig)
public AdmissionregistrationV1WebhookClientConfig getClientConfig()
public void setClientConfig(AdmissionregistrationV1WebhookClientConfig clientConfig)
public V1MutatingWebhook failurePolicy(String failurePolicy)
@Nullable public String getFailurePolicy()
public void setFailurePolicy(String failurePolicy)
public V1MutatingWebhook matchPolicy(String matchPolicy)
@Nullable public String getMatchPolicy()
public void setMatchPolicy(String matchPolicy)
public V1MutatingWebhook name(String name)
public String getName()
public void setName(String name)
public V1MutatingWebhook namespaceSelector(V1LabelSelector namespaceSelector)
@Nullable public V1LabelSelector getNamespaceSelector()
public void setNamespaceSelector(V1LabelSelector namespaceSelector)
public V1MutatingWebhook objectSelector(V1LabelSelector objectSelector)
@Nullable public V1LabelSelector getObjectSelector()
public void setObjectSelector(V1LabelSelector objectSelector)
public V1MutatingWebhook reinvocationPolicy(String reinvocationPolicy)
@Nullable public String getReinvocationPolicy()
public void setReinvocationPolicy(String reinvocationPolicy)
public V1MutatingWebhook rules(List<V1RuleWithOperations> rules)
public V1MutatingWebhook addRulesItem(V1RuleWithOperations rulesItem)
@Nullable public List<V1RuleWithOperations> getRules()
public void setRules(List<V1RuleWithOperations> rules)
public V1MutatingWebhook sideEffects(String sideEffects)
public String getSideEffects()
public void setSideEffects(String sideEffects)
public V1MutatingWebhook timeoutSeconds(Integer timeoutSeconds)
@Nullable public Integer getTimeoutSeconds()
public void setTimeoutSeconds(Integer timeoutSeconds)
Copyright © 2020. All rights reserved.