Class ImageTemplatePropertiesValidateArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.virtualmachineimages.inputs.ImageTemplatePropertiesValidateArgs.Builder
-
- Enclosing class:
- ImageTemplatePropertiesValidateArgs
public static final class ImageTemplatePropertiesValidateArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ImageTemplatePropertiesValidateArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageTemplatePropertiesValidateArgs
build()
ImageTemplatePropertiesValidateArgs.Builder
continueDistributeOnFailure(com.pulumi.core.Output<java.lang.Boolean> continueDistributeOnFailure)
ImageTemplatePropertiesValidateArgs.Builder
continueDistributeOnFailure(java.lang.Boolean continueDistributeOnFailure)
ImageTemplatePropertiesValidateArgs.Builder
inVMValidations(com.pulumi.core.Output<java.util.List<java.lang.Object>> inVMValidations)
ImageTemplatePropertiesValidateArgs.Builder
inVMValidations(java.lang.Object... inVMValidations)
ImageTemplatePropertiesValidateArgs.Builder
inVMValidations(java.util.List<java.lang.Object> inVMValidations)
ImageTemplatePropertiesValidateArgs.Builder
sourceValidationOnly(com.pulumi.core.Output<java.lang.Boolean> sourceValidationOnly)
ImageTemplatePropertiesValidateArgs.Builder
sourceValidationOnly(java.lang.Boolean sourceValidationOnly)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ImageTemplatePropertiesValidateArgs defaults)
-
-
Method Detail
-
continueDistributeOnFailure
public ImageTemplatePropertiesValidateArgs.Builder continueDistributeOnFailure(@Nullable com.pulumi.core.Output<java.lang.Boolean> continueDistributeOnFailure)
- Parameters:
continueDistributeOnFailure
- If validation fails and this field is set to false, output image(s) will not be distributed. This is the default behavior. If validation fails and this field is set to true, output image(s) will still be distributed. Please use this option with caution as it may result in bad images being distributed for use. In either case (true or false), the end to end image run will be reported as having failed in case of a validation failure. [Note: This field has no effect if validation succeeds.]- Returns:
- builder
-
continueDistributeOnFailure
public ImageTemplatePropertiesValidateArgs.Builder continueDistributeOnFailure(java.lang.Boolean continueDistributeOnFailure)
- Parameters:
continueDistributeOnFailure
- If validation fails and this field is set to false, output image(s) will not be distributed. This is the default behavior. If validation fails and this field is set to true, output image(s) will still be distributed. Please use this option with caution as it may result in bad images being distributed for use. In either case (true or false), the end to end image run will be reported as having failed in case of a validation failure. [Note: This field has no effect if validation succeeds.]- Returns:
- builder
-
inVMValidations
public ImageTemplatePropertiesValidateArgs.Builder inVMValidations(@Nullable com.pulumi.core.Output<java.util.List<java.lang.Object>> inVMValidations)
- Parameters:
inVMValidations
- List of validations to be performed.- Returns:
- builder
-
inVMValidations
public ImageTemplatePropertiesValidateArgs.Builder inVMValidations(java.util.List<java.lang.Object> inVMValidations)
- Parameters:
inVMValidations
- List of validations to be performed.- Returns:
- builder
-
inVMValidations
public ImageTemplatePropertiesValidateArgs.Builder inVMValidations(java.lang.Object... inVMValidations)
- Parameters:
inVMValidations
- List of validations to be performed.- Returns:
- builder
-
sourceValidationOnly
public ImageTemplatePropertiesValidateArgs.Builder sourceValidationOnly(@Nullable com.pulumi.core.Output<java.lang.Boolean> sourceValidationOnly)
- Parameters:
sourceValidationOnly
- If this field is set to true, the image specified in the 'source' section will directly be validated. No separate build will be run to generate and then validate a customized image.- Returns:
- builder
-
sourceValidationOnly
public ImageTemplatePropertiesValidateArgs.Builder sourceValidationOnly(java.lang.Boolean sourceValidationOnly)
- Parameters:
sourceValidationOnly
- If this field is set to true, the image specified in the 'source' section will directly be validated. No separate build will be run to generate and then validate a customized image.- Returns:
- builder
-
build
public ImageTemplatePropertiesValidateArgs build()
-
-