Class WebhookConversionPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.apiextensions.v1.inputs.WebhookConversionPatchArgs.Builder
-
- Enclosing class:
- WebhookConversionPatchArgs
public static final class WebhookConversionPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WebhookConversionPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookConversionPatchArgs
build()
WebhookConversionPatchArgs.Builder
clientConfig(com.pulumi.core.Output<WebhookClientConfigPatchArgs> clientConfig)
WebhookConversionPatchArgs.Builder
clientConfig(WebhookClientConfigPatchArgs clientConfig)
WebhookConversionPatchArgs.Builder
conversionReviewVersions(com.pulumi.core.Output<java.util.List<java.lang.String>> conversionReviewVersions)
WebhookConversionPatchArgs.Builder
conversionReviewVersions(java.lang.String... conversionReviewVersions)
WebhookConversionPatchArgs.Builder
conversionReviewVersions(java.util.List<java.lang.String> conversionReviewVersions)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebhookConversionPatchArgs defaults)
-
-
Method Detail
-
clientConfig
public WebhookConversionPatchArgs.Builder clientConfig(@Nullable com.pulumi.core.Output<WebhookClientConfigPatchArgs> clientConfig)
- Parameters:
clientConfig
- clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.- Returns:
- builder
-
clientConfig
public WebhookConversionPatchArgs.Builder clientConfig(WebhookClientConfigPatchArgs clientConfig)
- Parameters:
clientConfig
- clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.- Returns:
- builder
-
conversionReviewVersions
public WebhookConversionPatchArgs.Builder conversionReviewVersions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> conversionReviewVersions)
- Parameters:
conversionReviewVersions
- conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.- Returns:
- builder
-
conversionReviewVersions
public WebhookConversionPatchArgs.Builder conversionReviewVersions(java.util.List<java.lang.String> conversionReviewVersions)
- Parameters:
conversionReviewVersions
- conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.- Returns:
- builder
-
conversionReviewVersions
public WebhookConversionPatchArgs.Builder conversionReviewVersions(java.lang.String... conversionReviewVersions)
- Parameters:
conversionReviewVersions
- conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.- Returns:
- builder
-
build
public WebhookConversionPatchArgs build()
-
-