diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index a18d26e9644..15535dba68f 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,9 +1,5 @@ ### Improvements -- Adds `MissingRequiredPropertyException` to the main java SDK to be used later in the generated provider SDKs. +- Generated SDKs use specialized `MissingRequiredPropertyException` rather than throwing `NullPointerException` when a required input property is missing. -### Bug Fixes - -- Fixes `builder()` implementation for result types where the identifier of the local variable defined for the result type collides with one of the fields of the result type. -- Adds `options.encoding = "UTF-8"` to the `compileJava` options so that it can handle non-ASCII characters in the source code, especially in the documentation comments of fields. -- Fixes MockMonitor reporting DeletedWith wasn't supported +### Bug Fixes \ No newline at end of file diff --git a/pkg/codegen/java/gen.go b/pkg/codegen/java/gen.go index ebf9ffc7bcb..697bf9f6b89 100644 --- a/pkg/codegen/java/gen.go +++ b/pkg/codegen/java/gen.go @@ -491,6 +491,7 @@ func (pt *plainType) genInputType(ctx *classFileContext) error { // Determine property types propTypes := make([]TypeShape, len(pt.properties)) + anyPropertyRequired := false for i, prop := range pt.properties { requireInitializers := !pt.args || isInputType(prop.Type) @@ -503,6 +504,14 @@ func (pt *plainType) genInputType(ctx *classFileContext) error { false, // outer optional false, // inputless overload ) + + if prop.IsRequired() { + anyPropertyRequired = true + } + } + + if anyPropertyRequired { + ctx.imports.Ref(names.PulumiMissingRequiredPropertyException) } w := ctx.writer @@ -599,6 +608,15 @@ func (pt *plainType) genInputType(ctx *classFileContext) error { for propIndex, prop := range pt.properties { propType := propTypes[propIndex] fieldName := names.Ident(pt.mod.propertyName(prop)).AsProperty().Field() + + if prop.IsRequired() && prop.DefaultValue == nil && prop.ConstValue == nil { + fprintf(w, " if ($.%s == null) {\n", fieldName) + fprintf(w, " throw new %s(\"%s\", \"%s\");\n", + ctx.ref(names.PulumiMissingRequiredPropertyException), pt.name, fieldName) + fprintf(w, " }\n") + continue + } + propRef := fmt.Sprintf("$.%s", fieldName) propInit, err := dg.defaultValueExpr( fmt.Sprintf("property of class %s", pt.name), @@ -704,6 +722,7 @@ func (pt *plainType) genOutputType(ctx *classFileContext) error { fprintf(w, "@%s\n", ctx.ref(names.CustomType)) fprintf(w, "public final class %s {\n", pt.name) + anyPropertyRequired := false // Generate each output field. for _, prop := range props { fieldName := names.Ident(pt.mod.propertyName(prop)) @@ -721,7 +740,15 @@ func (pt *plainType) genOutputType(ctx *classFileContext) error { isGetter: true, }) fprintf(w, " private %s %s;\n", fieldType.ToCode(ctx.imports), fieldName) + if prop.IsRequired() { + anyPropertyRequired = true + } + } + + if anyPropertyRequired { + ctx.imports.Ref(names.PulumiMissingRequiredPropertyException) } + if len(props) > 0 { fprintf(w, "\n") } @@ -810,12 +837,6 @@ func (pt *plainType) genOutputType(ctx *classFileContext) error { }) setterName := propertyName.AsProperty().Setter() - assignment := func(propertyName names.Ident) string { - if prop.IsRequired() { - return fmt.Sprintf("this.%s = %s.requireNonNull(%s)", propertyName, ctx.ref(names.Objects), propertyName) - } - return fmt.Sprintf("this.%s = %s", propertyName, propertyName) - } // add setter var setterAnnotation string @@ -828,7 +849,8 @@ func (pt *plainType) genOutputType(ctx *classFileContext) error { SetterName: setterName, PropertyType: propertyType.ToCode(ctx.imports), PropertyName: propertyName.String(), - Assignment: assignment(propertyName), + Assignment: fmt.Sprintf("this.%s = %s", propertyName, propertyName), + IsRequired: prop.IsRequired(), ListType: propertyType.ListType(ctx), Annotations: []string{setterAnnotation}, }) diff --git a/pkg/codegen/java/names/known.go b/pkg/codegen/java/names/known.go index 388a295867e..16fddaf550f 100644 --- a/pkg/codegen/java/names/known.go +++ b/pkg/codegen/java/names/known.go @@ -8,6 +8,10 @@ var Optional = JavaUtil.Dot("Optional") var Pulumi = Ident("com").FQN().Dot("pulumi") +var PulumiExceptions = Pulumi.Dot("exceptions") + +var PulumiMissingRequiredPropertyException = PulumiExceptions.Dot("MissingRequiredPropertyException") + var PulumiCore = Pulumi.Dot("core") var PulumiAsset = Pulumi.Dot("asset") diff --git a/pkg/codegen/java/templates.go b/pkg/codegen/java/templates.go index 341430e1f9c..e5124be785b 100644 --- a/pkg/codegen/java/templates.go +++ b/pkg/codegen/java/templates.go @@ -136,6 +136,7 @@ type builderSetterTemplateContext struct { PropertyType string PropertyName string Assignment string + IsRequired bool ListType string Annotations []string } @@ -173,6 +174,9 @@ const builderTemplateText = `{{ .Indent }}public static {{ .Name }} builder() { {{ $.Indent }} {{ $annotation }} {{- end }} {{ $.Indent }} public {{ $.Name }} {{ $setter.SetterName }}({{ $setter.PropertyType }} {{ $setter.PropertyName }}) { +{{ if $setter.IsRequired }}{{ $.Indent }} if ({{ $setter.PropertyName }} == null) { +{{ $.Indent }} throw new MissingRequiredPropertyException("{{ $.ResultType }}", "{{ $setter.PropertyName }}"); +{{ $.Indent }} }{{ end }} {{ $.Indent }} {{ $setter.Assignment }}; {{ $.Indent }} return this; {{ $.Indent }} } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecActivationsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecActivationsArgs.java index d01b732a712..0f1cc93f568 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecActivationsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecActivationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -236,9 +237,15 @@ public Builder version(Integer version) { } public AppSecActivationsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.notificationEmails = Objects.requireNonNull($.notificationEmails, "expected parameter 'notificationEmails' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecActivationsArgs", "configId"); + } + if ($.notificationEmails == null) { + throw new MissingRequiredPropertyException("AppSecActivationsArgs", "notificationEmails"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("AppSecActivationsArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsEvasivePathMatchArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsEvasivePathMatchArgs.java index 248d2b5bf21..0c6777080f1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsEvasivePathMatchArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsEvasivePathMatchArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -152,8 +153,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecAdvancedSettingsEvasivePathMatchArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enablePathMatch = Objects.requireNonNull($.enablePathMatch, "expected parameter 'enablePathMatch' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsEvasivePathMatchArgs", "configId"); + } + if ($.enablePathMatch == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsEvasivePathMatchArgs", "enablePathMatch"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsLoggingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsLoggingArgs.java index d01bd2ad238..8f99c5697f8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsLoggingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsLoggingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecAdvancedSettingsLoggingArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.logging = Objects.requireNonNull($.logging, "expected parameter 'logging' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsLoggingArgs", "configId"); + } + if ($.logging == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsLoggingArgs", "logging"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPragmaHeaderArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPragmaHeaderArgs.java index d15101d7812..bceb57dd56e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPragmaHeaderArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPragmaHeaderArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecAdvancedSettingsPragmaHeaderArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.pragmaHeader = Objects.requireNonNull($.pragmaHeader, "expected parameter 'pragmaHeader' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPragmaHeaderArgs", "configId"); + } + if ($.pragmaHeader == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPragmaHeaderArgs", "pragmaHeader"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPrefetchArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPrefetchArgs.java index 43a1af082fb..94655ab4457 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPrefetchArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAdvancedSettingsPrefetchArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -235,11 +236,21 @@ public Builder extensions(String... extensions) { } public AppSecAdvancedSettingsPrefetchArgs build() { - $.allExtensions = Objects.requireNonNull($.allExtensions, "expected parameter 'allExtensions' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enableAppLayer = Objects.requireNonNull($.enableAppLayer, "expected parameter 'enableAppLayer' to be non-null"); - $.enableRateControls = Objects.requireNonNull($.enableRateControls, "expected parameter 'enableRateControls' to be non-null"); - $.extensions = Objects.requireNonNull($.extensions, "expected parameter 'extensions' to be non-null"); + if ($.allExtensions == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPrefetchArgs", "allExtensions"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPrefetchArgs", "configId"); + } + if ($.enableAppLayer == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPrefetchArgs", "enableAppLayer"); + } + if ($.enableRateControls == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPrefetchArgs", "enableRateControls"); + } + if ($.extensions == null) { + throw new MissingRequiredPropertyException("AppSecAdvancedSettingsPrefetchArgs", "extensions"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiConstraintsProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiConstraintsProtectionArgs.java index 86ac7f925a8..2eba4e6992d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiConstraintsProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiConstraintsProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecApiConstraintsProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecApiConstraintsProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecApiConstraintsProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecApiConstraintsProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiRequestConstraintsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiRequestConstraintsArgs.java index fd98216233d..496e7d4847e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiRequestConstraintsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecApiRequestConstraintsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -188,9 +189,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecApiRequestConstraintsArgs build() { - $.action = Objects.requireNonNull($.action, "expected parameter 'action' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.action == null) { + throw new MissingRequiredPropertyException("AppSecApiRequestConstraintsArgs", "action"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecApiRequestConstraintsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecApiRequestConstraintsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAttackGroupArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAttackGroupArgs.java index 3db8f5585df..9de4f2258a3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAttackGroupArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecAttackGroupArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -225,10 +226,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecAttackGroupArgs build() { - $.attackGroup = Objects.requireNonNull($.attackGroup, "expected parameter 'attackGroup' to be non-null"); - $.attackGroupAction = Objects.requireNonNull($.attackGroupAction, "expected parameter 'attackGroupAction' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.attackGroup == null) { + throw new MissingRequiredPropertyException("AppSecAttackGroupArgs", "attackGroup"); + } + if ($.attackGroupAction == null) { + throw new MissingRequiredPropertyException("AppSecAttackGroupArgs", "attackGroupAction"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecAttackGroupArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecAttackGroupArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecByPassNetworkListArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecByPassNetworkListArgs.java index 0fe0876458e..70db58b1ef2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecByPassNetworkListArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecByPassNetworkListArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -160,9 +161,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecByPassNetworkListArgs build() { - $.bypassNetworkLists = Objects.requireNonNull($.bypassNetworkLists, "expected parameter 'bypassNetworkLists' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.bypassNetworkLists == null) { + throw new MissingRequiredPropertyException("AppSecByPassNetworkListArgs", "bypassNetworkLists"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecByPassNetworkListArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecByPassNetworkListArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationArgs.java index 4bc5d14f617..6f87a5bdb9f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -310,10 +311,18 @@ public Builder name(String name) { } public AppSecConfigurationArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.hostNames = Objects.requireNonNull($.hostNames, "expected parameter 'hostNames' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationArgs", "contractId"); + } + if ($.description == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationArgs", "description"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationArgs", "groupId"); + } + if ($.hostNames == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationArgs", "hostNames"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationRenameArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationRenameArgs.java index 5c0cb1af0b1..a556b1a1776 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationRenameArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecConfigurationRenameArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder name(String name) { } public AppSecConfigurationRenameArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationRenameArgs", "configId"); + } + if ($.description == null) { + throw new MissingRequiredPropertyException("AppSecConfigurationRenameArgs", "description"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomDenyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomDenyArgs.java index ea15d786e0c..b93a5d9e84a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomDenyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomDenyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder customDeny(String customDeny) { } public AppSecCustomDenyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customDeny = Objects.requireNonNull($.customDeny, "expected parameter 'customDeny' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecCustomDenyArgs", "configId"); + } + if ($.customDeny == null) { + throw new MissingRequiredPropertyException("AppSecCustomDenyArgs", "customDeny"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleActionArgs.java index 9cc4477f9c5..7d0f78bb204 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -186,10 +187,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecCustomRuleActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customRuleAction = Objects.requireNonNull($.customRuleAction, "expected parameter 'customRuleAction' to be non-null"); - $.customRuleId = Objects.requireNonNull($.customRuleId, "expected parameter 'customRuleId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleActionArgs", "configId"); + } + if ($.customRuleAction == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleActionArgs", "customRuleAction"); + } + if ($.customRuleId == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleActionArgs", "customRuleId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleArgs.java index 7632853e4c1..11d2735b0fd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecCustomRuleArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder customRule(String customRule) { } public AppSecCustomRuleArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customRule = Objects.requireNonNull($.customRule, "expected parameter 'customRule' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleArgs", "configId"); + } + if ($.customRule == null) { + throw new MissingRequiredPropertyException("AppSecCustomRuleArgs", "customRule"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalArgs.java index eefc2cbbe98..5e4a2b0d9da 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -188,9 +189,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecEvalArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.evalOperation = Objects.requireNonNull($.evalOperation, "expected parameter 'evalOperation' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecEvalArgs", "configId"); + } + if ($.evalOperation == null) { + throw new MissingRequiredPropertyException("AppSecEvalArgs", "evalOperation"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecEvalArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalGroupArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalGroupArgs.java index ccfb62b0c4d..7834f99a5b9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalGroupArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalGroupArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -225,10 +226,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecEvalGroupArgs build() { - $.attackGroup = Objects.requireNonNull($.attackGroup, "expected parameter 'attackGroup' to be non-null"); - $.attackGroupAction = Objects.requireNonNull($.attackGroupAction, "expected parameter 'attackGroupAction' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.attackGroup == null) { + throw new MissingRequiredPropertyException("AppSecEvalGroupArgs", "attackGroup"); + } + if ($.attackGroupAction == null) { + throw new MissingRequiredPropertyException("AppSecEvalGroupArgs", "attackGroupAction"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecEvalGroupArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecEvalGroupArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalPenaltyBoxArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalPenaltyBoxArgs.java index 9bb8df867be..ba4c3a93813 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalPenaltyBoxArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalPenaltyBoxArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -187,10 +188,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecEvalPenaltyBoxArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.penaltyBoxAction = Objects.requireNonNull($.penaltyBoxAction, "expected parameter 'penaltyBoxAction' to be non-null"); - $.penaltyBoxProtection = Objects.requireNonNull($.penaltyBoxProtection, "expected parameter 'penaltyBoxProtection' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecEvalPenaltyBoxArgs", "configId"); + } + if ($.penaltyBoxAction == null) { + throw new MissingRequiredPropertyException("AppSecEvalPenaltyBoxArgs", "penaltyBoxAction"); + } + if ($.penaltyBoxProtection == null) { + throw new MissingRequiredPropertyException("AppSecEvalPenaltyBoxArgs", "penaltyBoxProtection"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecEvalPenaltyBoxArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalRuleArgs.java index bd02a5de758..1afccf95131 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecEvalRuleArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -225,10 +226,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecEvalRuleArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.ruleAction = Objects.requireNonNull($.ruleAction, "expected parameter 'ruleAction' to be non-null"); - $.ruleId = Objects.requireNonNull($.ruleId, "expected parameter 'ruleId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecEvalRuleArgs", "configId"); + } + if ($.ruleAction == null) { + throw new MissingRequiredPropertyException("AppSecEvalRuleArgs", "ruleAction"); + } + if ($.ruleId == null) { + throw new MissingRequiredPropertyException("AppSecEvalRuleArgs", "ruleId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecEvalRuleArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoArgs.java index 1acd8a8da9a..0020d29ab32 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -330,9 +331,15 @@ public Builder ukraineGeoControlAction(String ukraineGeoControlAction) { } public AppSecIPGeoArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.mode = Objects.requireNonNull($.mode, "expected parameter 'mode' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoArgs", "configId"); + } + if ($.mode == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoArgs", "mode"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoProtectionArgs.java index b48eb9a3c05..a736d4e887d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecIPGeoProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecIPGeoProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecIPGeoProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionArgs.java index 06a40545fd8..4a6e6f4f0df 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -223,11 +224,21 @@ public Builder unscannedAction(String unscannedAction) { } public AppSecMalwarePolicyActionArgs build() { - $.action = Objects.requireNonNull($.action, "expected parameter 'action' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.malwarePolicyId = Objects.requireNonNull($.malwarePolicyId, "expected parameter 'malwarePolicyId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); - $.unscannedAction = Objects.requireNonNull($.unscannedAction, "expected parameter 'unscannedAction' to be non-null"); + if ($.action == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionArgs", "action"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionArgs", "configId"); + } + if ($.malwarePolicyId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionArgs", "malwarePolicyId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionArgs", "securityPolicyId"); + } + if ($.unscannedAction == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionArgs", "unscannedAction"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionsArgs.java index 2fbaa7c50cf..6472e2900ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyActionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecMalwarePolicyActionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.malwarePolicyActions = Objects.requireNonNull($.malwarePolicyActions, "expected parameter 'malwarePolicyActions' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionsArgs", "configId"); + } + if ($.malwarePolicyActions == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionsArgs", "malwarePolicyActions"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyActionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyArgs.java index 3feaf2c2589..a5a4694929e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwarePolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder malwarePolicy(String malwarePolicy) { } public AppSecMalwarePolicyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.malwarePolicy = Objects.requireNonNull($.malwarePolicy, "expected parameter 'malwarePolicy' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyArgs", "configId"); + } + if ($.malwarePolicy == null) { + throw new MissingRequiredPropertyException("AppSecMalwarePolicyArgs", "malwarePolicy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwareProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwareProtectionArgs.java index 5ae1343ee4c..6373dfe94ff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwareProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMalwareProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecMalwareProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMalwareProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecMalwareProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecMalwareProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetArgs.java index 2b8085cc76c..ced23e2c9db 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder matchTarget(String matchTarget) { } public AppSecMatchTargetArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.matchTarget = Objects.requireNonNull($.matchTarget, "expected parameter 'matchTarget' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMatchTargetArgs", "configId"); + } + if ($.matchTarget == null) { + throw new MissingRequiredPropertyException("AppSecMatchTargetArgs", "matchTarget"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetSequenceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetSequenceArgs.java index a9896091c21..ddf9ac9521a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetSequenceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecMatchTargetSequenceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -114,7 +115,9 @@ public Builder matchTargetSequence(String matchTargetSequence) { } public AppSecMatchTargetSequenceArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecMatchTargetSequenceArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecPenaltyBoxArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecPenaltyBoxArgs.java index f0c0681d29a..fc9a66e22b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecPenaltyBoxArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecPenaltyBoxArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -187,10 +188,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecPenaltyBoxArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.penaltyBoxAction = Objects.requireNonNull($.penaltyBoxAction, "expected parameter 'penaltyBoxAction' to be non-null"); - $.penaltyBoxProtection = Objects.requireNonNull($.penaltyBoxProtection, "expected parameter 'penaltyBoxProtection' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecPenaltyBoxArgs", "configId"); + } + if ($.penaltyBoxAction == null) { + throw new MissingRequiredPropertyException("AppSecPenaltyBoxArgs", "penaltyBoxAction"); + } + if ($.penaltyBoxProtection == null) { + throw new MissingRequiredPropertyException("AppSecPenaltyBoxArgs", "penaltyBoxProtection"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecPenaltyBoxArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyActionArgs.java index d896c0370c1..6a1a060fec8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -223,11 +224,21 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecRatePolicyActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.ipv4Action = Objects.requireNonNull($.ipv4Action, "expected parameter 'ipv4Action' to be non-null"); - $.ipv6Action = Objects.requireNonNull($.ipv6Action, "expected parameter 'ipv6Action' to be non-null"); - $.ratePolicyId = Objects.requireNonNull($.ratePolicyId, "expected parameter 'ratePolicyId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyActionArgs", "configId"); + } + if ($.ipv4Action == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyActionArgs", "ipv4Action"); + } + if ($.ipv6Action == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyActionArgs", "ipv6Action"); + } + if ($.ratePolicyId == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyActionArgs", "ratePolicyId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyArgs.java index b7dff45e3d9..5e4f7be7e46 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRatePolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder ratePolicy(String ratePolicy) { } public AppSecRatePolicyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.ratePolicy = Objects.requireNonNull($.ratePolicy, "expected parameter 'ratePolicy' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyArgs", "configId"); + } + if ($.ratePolicy == null) { + throw new MissingRequiredPropertyException("AppSecRatePolicyArgs", "ratePolicy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRateProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRateProtectionArgs.java index b6c3829423d..042750220e9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRateProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRateProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -130,9 +131,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecRateProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecRateProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecRateProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecRateProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileActionArgs.java index e8cf3c7e7af..8e25b6fad49 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -186,10 +187,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecReputationProfileActionArgs build() { - $.action = Objects.requireNonNull($.action, "expected parameter 'action' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.reputationProfileId = Objects.requireNonNull($.reputationProfileId, "expected parameter 'reputationProfileId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.action == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileActionArgs", "action"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileActionArgs", "configId"); + } + if ($.reputationProfileId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileActionArgs", "reputationProfileId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileAnalysisArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileAnalysisArgs.java index 4cb6696250e..7b0d0dd1cbd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileAnalysisArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileAnalysisArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -187,10 +188,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecReputationProfileAnalysisArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.forwardSharedIpToHttpHeaderSiem = Objects.requireNonNull($.forwardSharedIpToHttpHeaderSiem, "expected parameter 'forwardSharedIpToHttpHeaderSiem' to be non-null"); - $.forwardToHttpHeader = Objects.requireNonNull($.forwardToHttpHeader, "expected parameter 'forwardToHttpHeader' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileAnalysisArgs", "configId"); + } + if ($.forwardSharedIpToHttpHeaderSiem == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileAnalysisArgs", "forwardSharedIpToHttpHeaderSiem"); + } + if ($.forwardToHttpHeader == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileAnalysisArgs", "forwardToHttpHeader"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileAnalysisArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileArgs.java index f8828d38b6c..1609526577b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProfileArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder reputationProfile(String reputationProfile) { } public AppSecReputationProfileArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.reputationProfile = Objects.requireNonNull($.reputationProfile, "expected parameter 'reputationProfile' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileArgs", "configId"); + } + if ($.reputationProfile == null) { + throw new MissingRequiredPropertyException("AppSecReputationProfileArgs", "reputationProfile"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProtectionArgs.java index 10ad64212ce..6754d06b52f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecReputationProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecReputationProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecReputationProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecReputationProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleArgs.java index 68853364fb5..1713246551a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -225,9 +226,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecRuleArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.ruleId = Objects.requireNonNull($.ruleId, "expected parameter 'ruleId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecRuleArgs", "configId"); + } + if ($.ruleId == null) { + throw new MissingRequiredPropertyException("AppSecRuleArgs", "ruleId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecRuleArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleUpgradeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleUpgradeArgs.java index 1d64ba5779f..ac8eb7e4dfe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleUpgradeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecRuleUpgradeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder upgradeMode(String upgradeMode) { } public AppSecRuleUpgradeArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecRuleUpgradeArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecRuleUpgradeArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyArgs.java index e2d9af62a20..5a72e6685f9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -226,9 +227,15 @@ public Builder securityPolicyPrefix(String securityPolicyPrefix) { } public AppSecSecurityPolicyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyName = Objects.requireNonNull($.securityPolicyName, "expected parameter 'securityPolicyName' to be non-null"); - $.securityPolicyPrefix = Objects.requireNonNull($.securityPolicyPrefix, "expected parameter 'securityPolicyPrefix' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyArgs", "configId"); + } + if ($.securityPolicyName == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyArgs", "securityPolicyName"); + } + if ($.securityPolicyPrefix == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyArgs", "securityPolicyPrefix"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyRenameArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyRenameArgs.java index 4affc220fac..0cd01934cbd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyRenameArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSecurityPolicyRenameArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder securityPolicyName(String securityPolicyName) { } public AppSecSecurityPolicyRenameArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); - $.securityPolicyName = Objects.requireNonNull($.securityPolicyName, "expected parameter 'securityPolicyName' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyRenameArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyRenameArgs", "securityPolicyId"); + } + if ($.securityPolicyName == null) { + throw new MissingRequiredPropertyException("AppSecSecurityPolicyRenameArgs", "securityPolicyName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSelectedHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSelectedHostnamesArgs.java index c8f42580e87..2715b7bd2b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSelectedHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSelectedHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -160,9 +161,15 @@ public Builder mode(String mode) { } public AppSecSelectedHostnamesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.hostnames = Objects.requireNonNull($.hostnames, "expected parameter 'hostnames' to be non-null"); - $.mode = Objects.requireNonNull($.mode, "expected parameter 'mode' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSelectedHostnamesArgs", "configId"); + } + if ($.hostnames == null) { + throw new MissingRequiredPropertyException("AppSecSelectedHostnamesArgs", "hostnames"); + } + if ($.mode == null) { + throw new MissingRequiredPropertyException("AppSecSelectedHostnamesArgs", "mode"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSiemSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSiemSettingsArgs.java index 3b5891861ee..82d58f0f810 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSiemSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSiemSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -274,11 +275,21 @@ public Builder siemId(Integer siemId) { } public AppSecSiemSettingsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enableBotmanSiem = Objects.requireNonNull($.enableBotmanSiem, "expected parameter 'enableBotmanSiem' to be non-null"); - $.enableForAllPolicies = Objects.requireNonNull($.enableForAllPolicies, "expected parameter 'enableForAllPolicies' to be non-null"); - $.enableSiem = Objects.requireNonNull($.enableSiem, "expected parameter 'enableSiem' to be non-null"); - $.siemId = Objects.requireNonNull($.siemId, "expected parameter 'siemId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSiemSettingsArgs", "configId"); + } + if ($.enableBotmanSiem == null) { + throw new MissingRequiredPropertyException("AppSecSiemSettingsArgs", "enableBotmanSiem"); + } + if ($.enableForAllPolicies == null) { + throw new MissingRequiredPropertyException("AppSecSiemSettingsArgs", "enableForAllPolicies"); + } + if ($.enableSiem == null) { + throw new MissingRequiredPropertyException("AppSecSiemSettingsArgs", "enableSiem"); + } + if ($.siemId == null) { + throw new MissingRequiredPropertyException("AppSecSiemSettingsArgs", "siemId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostArgs.java index 8be05d308bd..cbd334f8ad7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -266,9 +267,15 @@ public Builder slowRateThresholdRate(Integer slowRateThresholdRate) { } public AppSecSlowPostArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); - $.slowRateAction = Objects.requireNonNull($.slowRateAction, "expected parameter 'slowRateAction' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostArgs", "securityPolicyId"); + } + if ($.slowRateAction == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostArgs", "slowRateAction"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostProtectionArgs.java index e8f8ec74253..b7ffa7a8766 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecSlowPostProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecSlowPostProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecSlowPostProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecThreatIntelArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecThreatIntelArgs.java index e27825bd5ec..63bfa160777 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecThreatIntelArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecThreatIntelArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder threatIntel(String threatIntel) { } public AppSecThreatIntelArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); - $.threatIntel = Objects.requireNonNull($.threatIntel, "expected parameter 'threatIntel' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecThreatIntelArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecThreatIntelArgs", "securityPolicyId"); + } + if ($.threatIntel == null) { + throw new MissingRequiredPropertyException("AppSecThreatIntelArgs", "threatIntel"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecVersionNodesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecVersionNodesArgs.java index 5fbe4945e0a..96fa4f978a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecVersionNodesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecVersionNodesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder versionNotes(String versionNotes) { } public AppSecVersionNodesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.versionNotes = Objects.requireNonNull($.versionNotes, "expected parameter 'versionNotes' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecVersionNodesArgs", "configId"); + } + if ($.versionNotes == null) { + throw new MissingRequiredPropertyException("AppSecVersionNodesArgs", "versionNotes"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafModeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafModeArgs.java index 4baf9fc316b..d27bd9fceb6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafModeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafModeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecWafModeArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.mode = Objects.requireNonNull($.mode, "expected parameter 'mode' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecWafModeArgs", "configId"); + } + if ($.mode == null) { + throw new MissingRequiredPropertyException("AppSecWafModeArgs", "mode"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecWafModeArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafProtectionArgs.java index c0802500d14..c5639263011 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWafProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,9 +151,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecWafProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecWafProtectionArgs", "configId"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("AppSecWafProtectionArgs", "enabled"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecWafProtectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWapSelectedHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWapSelectedHostnamesArgs.java index 143a1ee41ea..c5f282c8216 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWapSelectedHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppSecWapSelectedHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -209,8 +210,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppSecWapSelectedHostnamesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppSecWapSelectedHostnamesArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("AppSecWapSelectedHostnamesArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsAttackPayloadLoggingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsAttackPayloadLoggingArgs.java index 9fbb45c3409..cf258808b59 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsAttackPayloadLoggingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsAttackPayloadLoggingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppsecAdvancedSettingsAttackPayloadLoggingArgs build() { - $.attackPayloadLogging = Objects.requireNonNull($.attackPayloadLogging, "expected parameter 'attackPayloadLogging' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.attackPayloadLogging == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsAttackPayloadLoggingArgs", "attackPayloadLogging"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsAttackPayloadLoggingArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsPiiLearningArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsPiiLearningArgs.java index bf37e55f32d..350a367babf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsPiiLearningArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsPiiLearningArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.Objects; @@ -112,8 +113,12 @@ public Builder enablePiiLearning(Boolean enablePiiLearning) { } public AppsecAdvancedSettingsPiiLearningArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.enablePiiLearning = Objects.requireNonNull($.enablePiiLearning, "expected parameter 'enablePiiLearning' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsPiiLearningArgs", "configId"); + } + if ($.enablePiiLearning == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsPiiLearningArgs", "enablePiiLearning"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsRequestBodyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsRequestBodyArgs.java index c9052db0752..2ee4436e0e9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsRequestBodyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecAdvancedSettingsRequestBodyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -151,8 +152,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public AppsecAdvancedSettingsRequestBodyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.requestBodyInspectionLimit = Objects.requireNonNull($.requestBodyInspectionLimit, "expected parameter 'requestBodyInspectionLimit' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsRequestBodyArgs", "configId"); + } + if ($.requestBodyInspectionLimit == null) { + throw new MissingRequiredPropertyException("AppsecAdvancedSettingsRequestBodyArgs", "requestBodyInspectionLimit"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecSecurityPolicyDefaultProtectionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecSecurityPolicyDefaultProtectionsArgs.java index d90c0007519..328e5fd532f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecSecurityPolicyDefaultProtectionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/AppsecSecurityPolicyDefaultProtectionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder securityPolicyPrefix(String securityPolicyPrefix) { } public AppsecSecurityPolicyDefaultProtectionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyName = Objects.requireNonNull($.securityPolicyName, "expected parameter 'securityPolicyName' to be non-null"); - $.securityPolicyPrefix = Objects.requireNonNull($.securityPolicyPrefix, "expected parameter 'securityPolicyPrefix' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("AppsecSecurityPolicyDefaultProtectionsArgs", "configId"); + } + if ($.securityPolicyName == null) { + throw new MissingRequiredPropertyException("AppsecSecurityPolicyDefaultProtectionsArgs", "securityPolicyName"); + } + if ($.securityPolicyPrefix == null) { + throw new MissingRequiredPropertyException("AppsecSecurityPolicyDefaultProtectionsArgs", "securityPolicyPrefix"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanAkamaiBotCategoryActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanAkamaiBotCategoryActionArgs.java index e3580b39515..cd6585d2d72 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanAkamaiBotCategoryActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanAkamaiBotCategoryActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -106,10 +107,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanAkamaiBotCategoryActionArgs build() { - $.akamaiBotCategoryAction = Objects.requireNonNull($.akamaiBotCategoryAction, "expected parameter 'akamaiBotCategoryAction' to be non-null"); - $.categoryId = Objects.requireNonNull($.categoryId, "expected parameter 'categoryId' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.akamaiBotCategoryAction == null) { + throw new MissingRequiredPropertyException("BotmanAkamaiBotCategoryActionArgs", "akamaiBotCategoryAction"); + } + if ($.categoryId == null) { + throw new MissingRequiredPropertyException("BotmanAkamaiBotCategoryActionArgs", "categoryId"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanAkamaiBotCategoryActionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanAkamaiBotCategoryActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotAnalyticsCookieArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotAnalyticsCookieArgs.java index fba3e2d42cb..6b63203716a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotAnalyticsCookieArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotAnalyticsCookieArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanBotAnalyticsCookieArgs build() { - $.botAnalyticsCookie = Objects.requireNonNull($.botAnalyticsCookie, "expected parameter 'botAnalyticsCookie' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.botAnalyticsCookie == null) { + throw new MissingRequiredPropertyException("BotmanBotAnalyticsCookieArgs", "botAnalyticsCookie"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanBotAnalyticsCookieArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotCategoryExceptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotCategoryExceptionArgs.java index 476a32d807b..6754b3bdf4c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotCategoryExceptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotCategoryExceptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanBotCategoryExceptionArgs build() { - $.botCategoryException = Objects.requireNonNull($.botCategoryException, "expected parameter 'botCategoryException' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.botCategoryException == null) { + throw new MissingRequiredPropertyException("BotmanBotCategoryExceptionArgs", "botCategoryException"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanBotCategoryExceptionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanBotCategoryExceptionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotDetectionActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotDetectionActionArgs.java index 2533e6e52d5..f48ccf3f04a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotDetectionActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotDetectionActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -106,10 +107,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanBotDetectionActionArgs build() { - $.botDetectionAction = Objects.requireNonNull($.botDetectionAction, "expected parameter 'botDetectionAction' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.detectionId = Objects.requireNonNull($.detectionId, "expected parameter 'detectionId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.botDetectionAction == null) { + throw new MissingRequiredPropertyException("BotmanBotDetectionActionArgs", "botDetectionAction"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanBotDetectionActionArgs", "configId"); + } + if ($.detectionId == null) { + throw new MissingRequiredPropertyException("BotmanBotDetectionActionArgs", "detectionId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanBotDetectionActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotManagementSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotManagementSettingsArgs.java index 33c2d1f818d..a4b1945d969 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotManagementSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanBotManagementSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanBotManagementSettingsArgs build() { - $.botManagementSettings = Objects.requireNonNull($.botManagementSettings, "expected parameter 'botManagementSettings' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.botManagementSettings == null) { + throw new MissingRequiredPropertyException("BotmanBotManagementSettingsArgs", "botManagementSettings"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanBotManagementSettingsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanBotManagementSettingsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeActionArgs.java index 671928a82e1..53afcb0b1a4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanChallengeActionArgs build() { - $.challengeAction = Objects.requireNonNull($.challengeAction, "expected parameter 'challengeAction' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.challengeAction == null) { + throw new MissingRequiredPropertyException("BotmanChallengeActionArgs", "challengeAction"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanChallengeActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInjectionRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInjectionRulesArgs.java index c2ff10a8b0a..feab981e16f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInjectionRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInjectionRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanChallengeInjectionRulesArgs build() { - $.challengeInjectionRules = Objects.requireNonNull($.challengeInjectionRules, "expected parameter 'challengeInjectionRules' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.challengeInjectionRules == null) { + throw new MissingRequiredPropertyException("BotmanChallengeInjectionRulesArgs", "challengeInjectionRules"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanChallengeInjectionRulesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInterceptionRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInterceptionRulesArgs.java index e67dbf66759..5beb07ba678 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInterceptionRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanChallengeInterceptionRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanChallengeInterceptionRulesArgs build() { - $.challengeInterceptionRules = Objects.requireNonNull($.challengeInterceptionRules, "expected parameter 'challengeInterceptionRules' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.challengeInterceptionRules == null) { + throw new MissingRequiredPropertyException("BotmanChallengeInterceptionRulesArgs", "challengeInterceptionRules"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanChallengeInterceptionRulesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanClientSideSecurityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanClientSideSecurityArgs.java index abec7007133..7452230e703 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanClientSideSecurityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanClientSideSecurityArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanClientSideSecurityArgs build() { - $.clientSideSecurity = Objects.requireNonNull($.clientSideSecurity, "expected parameter 'clientSideSecurity' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.clientSideSecurity == null) { + throw new MissingRequiredPropertyException("BotmanClientSideSecurityArgs", "clientSideSecurity"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanClientSideSecurityArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanConditionalActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanConditionalActionArgs.java index f03276e6123..d6aeccb7acd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanConditionalActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanConditionalActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder configId(Integer configId) { } public BotmanConditionalActionArgs build() { - $.conditionalAction = Objects.requireNonNull($.conditionalAction, "expected parameter 'conditionalAction' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.conditionalAction == null) { + throw new MissingRequiredPropertyException("BotmanConditionalActionArgs", "conditionalAction"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanConditionalActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryActionArgs.java index fe935a19db2..639e3564fab 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -106,10 +107,18 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanCustomBotCategoryActionArgs build() { - $.categoryId = Objects.requireNonNull($.categoryId, "expected parameter 'categoryId' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customBotCategoryAction = Objects.requireNonNull($.customBotCategoryAction, "expected parameter 'customBotCategoryAction' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.categoryId == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryActionArgs", "categoryId"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryActionArgs", "configId"); + } + if ($.customBotCategoryAction == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryActionArgs", "customBotCategoryAction"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryArgs.java index 2d3af27bb31..8a17d1f226d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategoryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder customBotCategory(String customBotCategory) { } public BotmanCustomBotCategoryArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customBotCategory = Objects.requireNonNull($.customBotCategory, "expected parameter 'customBotCategory' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryArgs", "configId"); + } + if ($.customBotCategory == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategoryArgs", "customBotCategory"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategorySequenceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategorySequenceArgs.java index 6c55b9da593..385948c05af 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategorySequenceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomBotCategorySequenceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -77,8 +78,12 @@ public Builder configId(Integer configId) { } public BotmanCustomBotCategorySequenceArgs build() { - $.categoryIds = Objects.requireNonNull($.categoryIds, "expected parameter 'categoryIds' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.categoryIds == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategorySequenceArgs", "categoryIds"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomBotCategorySequenceArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientArgs.java index f486256c5a2..09fc3916f19 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder customClient(String customClient) { } public BotmanCustomClientArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customClient = Objects.requireNonNull($.customClient, "expected parameter 'customClient' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomClientArgs", "configId"); + } + if ($.customClient == null) { + throw new MissingRequiredPropertyException("BotmanCustomClientArgs", "customClient"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientSequenceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientSequenceArgs.java index db3537a826e..038a783c8bc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientSequenceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomClientSequenceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -77,8 +78,12 @@ public Builder customClientIds(String... customClientIds) { } public BotmanCustomClientSequenceArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customClientIds = Objects.requireNonNull($.customClientIds, "expected parameter 'customClientIds' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomClientSequenceArgs", "configId"); + } + if ($.customClientIds == null) { + throw new MissingRequiredPropertyException("BotmanCustomClientSequenceArgs", "customClientIds"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDefinedBotArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDefinedBotArgs.java index 08d672f54b2..92f365fb6bd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDefinedBotArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDefinedBotArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder customDefinedBot(String customDefinedBot) { } public BotmanCustomDefinedBotArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customDefinedBot = Objects.requireNonNull($.customDefinedBot, "expected parameter 'customDefinedBot' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomDefinedBotArgs", "configId"); + } + if ($.customDefinedBot == null) { + throw new MissingRequiredPropertyException("BotmanCustomDefinedBotArgs", "customDefinedBot"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDenyActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDenyActionArgs.java index d311c83642c..1b25ac42622 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDenyActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanCustomDenyActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder customDenyAction(String customDenyAction) { } public BotmanCustomDenyActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.customDenyAction = Objects.requireNonNull($.customDenyAction, "expected parameter 'customDenyAction' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanCustomDenyActionArgs", "configId"); + } + if ($.customDenyAction == null) { + throw new MissingRequiredPropertyException("BotmanCustomDenyActionArgs", "customDenyAction"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanJavascriptInjectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanJavascriptInjectionArgs.java index 6839e1add2a..f72fd750c15 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanJavascriptInjectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanJavascriptInjectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder securityPolicyId(String securityPolicyId) { } public BotmanJavascriptInjectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.javascriptInjection = Objects.requireNonNull($.javascriptInjection, "expected parameter 'javascriptInjection' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanJavascriptInjectionArgs", "configId"); + } + if ($.javascriptInjection == null) { + throw new MissingRequiredPropertyException("BotmanJavascriptInjectionArgs", "javascriptInjection"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanJavascriptInjectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanRecategorizedAkamaiDefinedBotArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanRecategorizedAkamaiDefinedBotArgs.java index b46528bea67..5ad9585c650 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanRecategorizedAkamaiDefinedBotArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanRecategorizedAkamaiDefinedBotArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder configId(Integer configId) { } public BotmanRecategorizedAkamaiDefinedBotArgs build() { - $.botId = Objects.requireNonNull($.botId, "expected parameter 'botId' to be non-null"); - $.categoryId = Objects.requireNonNull($.categoryId, "expected parameter 'categoryId' to be non-null"); - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.botId == null) { + throw new MissingRequiredPropertyException("BotmanRecategorizedAkamaiDefinedBotArgs", "botId"); + } + if ($.categoryId == null) { + throw new MissingRequiredPropertyException("BotmanRecategorizedAkamaiDefinedBotArgs", "categoryId"); + } + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanRecategorizedAkamaiDefinedBotArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanServeAlternateActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanServeAlternateActionArgs.java index a2d6582090d..c78c61d9c92 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanServeAlternateActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanServeAlternateActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder serveAlternateAction(String serveAlternateAction) { } public BotmanServeAlternateActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.serveAlternateAction = Objects.requireNonNull($.serveAlternateAction, "expected parameter 'serveAlternateAction' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanServeAlternateActionArgs", "configId"); + } + if ($.serveAlternateAction == null) { + throw new MissingRequiredPropertyException("BotmanServeAlternateActionArgs", "serveAlternateAction"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointArgs.java index fe1e9137ae5..44d2bd09438 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -106,10 +107,18 @@ public Builder transactionalEndpoint(String transactionalEndpoint) { } public BotmanTransactionalEndpointArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.operationId = Objects.requireNonNull($.operationId, "expected parameter 'operationId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); - $.transactionalEndpoint = Objects.requireNonNull($.transactionalEndpoint, "expected parameter 'transactionalEndpoint' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointArgs", "configId"); + } + if ($.operationId == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointArgs", "operationId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointArgs", "securityPolicyId"); + } + if ($.transactionalEndpoint == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointArgs", "transactionalEndpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointProtectionArgs.java index e5ce9a953f9..15dab8eef65 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/BotmanTransactionalEndpointProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder transactionalEndpointProtection(String transactionalEndpointProte } public BotmanTransactionalEndpointProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.transactionalEndpointProtection = Objects.requireNonNull($.transactionalEndpointProtection, "expected parameter 'transactionalEndpointProtection' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointProtectionArgs", "configId"); + } + if ($.transactionalEndpointProtection == null) { + throw new MissingRequiredPropertyException("BotmanTransactionalEndpointProtectionArgs", "transactionalEndpointProtection"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistActivationArgs.java index 5398840b02f..48f4875c049 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -273,9 +274,15 @@ public Builder version(Integer version) { } public ClientlistActivationArgs build() { - $.listId = Objects.requireNonNull($.listId, "expected parameter 'listId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.listId == null) { + throw new MissingRequiredPropertyException("ClientlistActivationArgs", "listId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("ClientlistActivationArgs", "network"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("ClientlistActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistListArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistListArgs.java index dd7804517bb..38b7b50a0e4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistListArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ClientlistListArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.ClientlistListItemArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -321,9 +322,15 @@ public Builder type(String type) { } public ClientlistListArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("ClientlistListArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("ClientlistListArgs", "groupId"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("ClientlistListArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerActivationArgs.java index d11a5adbed7..6d80d64c174 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder version(Integer version) { } public CloudletsApplicationLoadBalancerActivationArgs build() { - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.network == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerActivationArgs", "network"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerActivationArgs", "originId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerArgs.java index b5806408588..392a4f86982 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsApplicationLoadBalancerArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -227,8 +228,12 @@ public Builder originId(String originId) { } public CloudletsApplicationLoadBalancerArgs build() { - $.dataCenters = Objects.requireNonNull($.dataCenters, "expected parameter 'dataCenters' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); + if ($.dataCenters == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerArgs", "dataCenters"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerArgs", "originId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyActivationArgs.java index 780c5b034c5..5e9a4ac65d5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -197,10 +198,18 @@ public Builder version(Integer version) { } public CloudletsPolicyActivationArgs build() { - $.associatedProperties = Objects.requireNonNull($.associatedProperties, "expected parameter 'associatedProperties' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.policyId = Objects.requireNonNull($.policyId, "expected parameter 'policyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.associatedProperties == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyActivationArgs", "associatedProperties"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyActivationArgs", "network"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyActivationArgs", "policyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyArgs.java index ec916d764dc..dccdefb371d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudletsPolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -261,8 +262,12 @@ public Builder name(String name) { } public CloudletsPolicyArgs build() { - $.cloudletCode = Objects.requireNonNull($.cloudletCode, "expected parameter 'cloudletCode' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.cloudletCode == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyArgs", "cloudletCode"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("CloudletsPolicyArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperActivationArgs.java index 2db123acac2..b9a4243faae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperActivationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.CloudwrapperActivationTimeoutsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -132,8 +133,12 @@ public Builder timeouts(CloudwrapperActivationTimeoutsArgs timeouts) { } public CloudwrapperActivationArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.revision = Objects.requireNonNull($.revision, "expected parameter 'revision' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("CloudwrapperActivationArgs", "configId"); + } + if ($.revision == null) { + throw new MissingRequiredPropertyException("CloudwrapperActivationArgs", "revision"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperConfigurationArgs.java index fbae61f0b16..a184ba3e171 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CloudwrapperConfigurationArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.CloudwrapperConfigurationTimeoutsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -387,10 +388,18 @@ public Builder timeouts(CloudwrapperConfigurationTimeoutsArgs timeouts) { } public CloudwrapperConfigurationArgs build() { - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.configName = Objects.requireNonNull($.configName, "expected parameter 'configName' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.propertyIds = Objects.requireNonNull($.propertyIds, "expected parameter 'propertyIds' to be non-null"); + if ($.comments == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationArgs", "comments"); + } + if ($.configName == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationArgs", "configName"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationArgs", "contractId"); + } + if ($.propertyIds == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationArgs", "propertyIds"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpCodeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpCodeArgs.java index f75d886c93f..e5b63defcb7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpCodeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpCodeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -107,8 +108,12 @@ public Builder productId(String productId) { } public CpCodeArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("CpCodeArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("CpCodeArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvEnrollmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvEnrollmentArgs.java index 2f35c24976c..28506e13f8e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvEnrollmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvEnrollmentArgs.java @@ -10,6 +10,7 @@ import com.pulumi.akamai.inputs.CpsDvEnrollmentTechContactArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -574,16 +575,36 @@ public Builder techContact(CpsDvEnrollmentTechContactArgs techContact) { } public CpsDvEnrollmentArgs build() { - $.adminContact = Objects.requireNonNull($.adminContact, "expected parameter 'adminContact' to be non-null"); - $.commonName = Objects.requireNonNull($.commonName, "expected parameter 'commonName' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.csr = Objects.requireNonNull($.csr, "expected parameter 'csr' to be non-null"); - $.networkConfiguration = Objects.requireNonNull($.networkConfiguration, "expected parameter 'networkConfiguration' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.secureNetwork = Objects.requireNonNull($.secureNetwork, "expected parameter 'secureNetwork' to be non-null"); - $.signatureAlgorithm = Objects.requireNonNull($.signatureAlgorithm, "expected parameter 'signatureAlgorithm' to be non-null"); - $.sniOnly = Objects.requireNonNull($.sniOnly, "expected parameter 'sniOnly' to be non-null"); - $.techContact = Objects.requireNonNull($.techContact, "expected parameter 'techContact' to be non-null"); + if ($.adminContact == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "adminContact"); + } + if ($.commonName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "commonName"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "contractId"); + } + if ($.csr == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "csr"); + } + if ($.networkConfiguration == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "networkConfiguration"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "organization"); + } + if ($.secureNetwork == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "secureNetwork"); + } + if ($.signatureAlgorithm == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "signatureAlgorithm"); + } + if ($.sniOnly == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "sniOnly"); + } + if ($.techContact == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentArgs", "techContact"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvValidationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvValidationArgs.java index 015eb9ce1f0..75ba36f7497 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvValidationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsDvValidationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -125,7 +126,9 @@ public Builder sans(String... sans) { } public CpsDvValidationArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("CpsDvValidationArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsThirdPartyEnrollmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsThirdPartyEnrollmentArgs.java index 6b3279ff27b..06bbe616887 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsThirdPartyEnrollmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsThirdPartyEnrollmentArgs.java @@ -10,6 +10,7 @@ import com.pulumi.akamai.inputs.CpsThirdPartyEnrollmentTechContactArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -695,15 +696,33 @@ public Builder techContact(CpsThirdPartyEnrollmentTechContactArgs techContact) { } public CpsThirdPartyEnrollmentArgs build() { - $.adminContact = Objects.requireNonNull($.adminContact, "expected parameter 'adminContact' to be non-null"); - $.commonName = Objects.requireNonNull($.commonName, "expected parameter 'commonName' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.csr = Objects.requireNonNull($.csr, "expected parameter 'csr' to be non-null"); - $.networkConfiguration = Objects.requireNonNull($.networkConfiguration, "expected parameter 'networkConfiguration' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.secureNetwork = Objects.requireNonNull($.secureNetwork, "expected parameter 'secureNetwork' to be non-null"); - $.sniOnly = Objects.requireNonNull($.sniOnly, "expected parameter 'sniOnly' to be non-null"); - $.techContact = Objects.requireNonNull($.techContact, "expected parameter 'techContact' to be non-null"); + if ($.adminContact == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "adminContact"); + } + if ($.commonName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "commonName"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "contractId"); + } + if ($.csr == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "csr"); + } + if ($.networkConfiguration == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "networkConfiguration"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "organization"); + } + if ($.secureNetwork == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "secureNetwork"); + } + if ($.sniOnly == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "sniOnly"); + } + if ($.techContact == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentArgs", "techContact"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsUploadCertificateArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsUploadCertificateArgs.java index b6dbee35547..f23cbc4078e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsUploadCertificateArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/CpsUploadCertificateArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -385,7 +386,9 @@ public Builder waitForDeployment(Boolean waitForDeployment) { } public CpsUploadCertificateArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("CpsUploadCertificateArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DatastreamArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DatastreamArgs.java index 9d9e1553ab5..df3fdbe85ad 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DatastreamArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DatastreamArgs.java @@ -17,6 +17,7 @@ import com.pulumi.akamai.inputs.DatastreamSumologicConnectorArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -609,13 +610,27 @@ public Builder sumologicConnector(DatastreamSumologicConnectorArgs sumologicConn } public DatastreamArgs build() { - $.active = Objects.requireNonNull($.active, "expected parameter 'active' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.datasetFields = Objects.requireNonNull($.datasetFields, "expected parameter 'datasetFields' to be non-null"); - $.deliveryConfiguration = Objects.requireNonNull($.deliveryConfiguration, "expected parameter 'deliveryConfiguration' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.properties = Objects.requireNonNull($.properties, "expected parameter 'properties' to be non-null"); - $.streamName = Objects.requireNonNull($.streamName, "expected parameter 'streamName' to be non-null"); + if ($.active == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "active"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "contractId"); + } + if ($.datasetFields == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "datasetFields"); + } + if ($.deliveryConfiguration == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "deliveryConfiguration"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "groupId"); + } + if ($.properties == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "properties"); + } + if ($.streamName == null) { + throw new MissingRequiredPropertyException("DatastreamArgs", "streamName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsRecordArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsRecordArgs.java index 948bf2570d5..b7dfbce58bc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsRecordArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsRecordArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -1026,9 +1027,15 @@ public Builder zone(String zone) { } public DnsRecordArgs build() { - $.recordtype = Objects.requireNonNull($.recordtype, "expected parameter 'recordtype' to be non-null"); - $.ttl = Objects.requireNonNull($.ttl, "expected parameter 'ttl' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.recordtype == null) { + throw new MissingRequiredPropertyException("DnsRecordArgs", "recordtype"); + } + if ($.ttl == null) { + throw new MissingRequiredPropertyException("DnsRecordArgs", "ttl"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("DnsRecordArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsZoneArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsZoneArgs.java index b1e219c9d72..870eb9be301 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsZoneArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/DnsZoneArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.DnsZoneTsigKeyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -233,9 +234,15 @@ public Builder zone(String zone) { } public DnsZoneArgs build() { - $.contract = Objects.requireNonNull($.contract, "expected parameter 'contract' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.contract == null) { + throw new MissingRequiredPropertyException("DnsZoneArgs", "contract"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("DnsZoneArgs", "type"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("DnsZoneArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeHostNameArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeHostNameArgs.java index 23dd2a6861d..03c86496e5a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeHostNameArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeHostNameArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -227,10 +228,18 @@ public Builder useCases(String useCases) { } public EdgeHostNameArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.edgeHostname = Objects.requireNonNull($.edgeHostname, "expected parameter 'edgeHostname' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.ipBehavior = Objects.requireNonNull($.ipBehavior, "expected parameter 'ipBehavior' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("EdgeHostNameArgs", "contractId"); + } + if ($.edgeHostname == null) { + throw new MissingRequiredPropertyException("EdgeHostNameArgs", "edgeHostname"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("EdgeHostNameArgs", "groupId"); + } + if ($.ipBehavior == null) { + throw new MissingRequiredPropertyException("EdgeHostNameArgs", "ipBehavior"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeKvArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeKvArgs.java index 3223404ce98..6220f47fa6d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeKvArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeKvArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.EdgeKvInitialDataArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -294,10 +295,18 @@ public Builder retentionInSeconds(Integer retentionInSeconds) { } public EdgeKvArgs build() { - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.retentionInSeconds = Objects.requireNonNull($.retentionInSeconds, "expected parameter 'retentionInSeconds' to be non-null"); + if ($.groupId == null) { + throw new MissingRequiredPropertyException("EdgeKvArgs", "groupId"); + } + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("EdgeKvArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("EdgeKvArgs", "network"); + } + if ($.retentionInSeconds == null) { + throw new MissingRequiredPropertyException("EdgeKvArgs", "retentionInSeconds"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkerArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkerArgs.java index 3c78d9430d7..32b26110d5c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkerArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkerArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -188,8 +189,12 @@ public Builder resourceTierId(Integer resourceTierId) { } public EdgeWorkerArgs build() { - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.resourceTierId = Objects.requireNonNull($.resourceTierId, "expected parameter 'resourceTierId' to be non-null"); + if ($.groupId == null) { + throw new MissingRequiredPropertyException("EdgeWorkerArgs", "groupId"); + } + if ($.resourceTierId == null) { + throw new MissingRequiredPropertyException("EdgeWorkerArgs", "resourceTierId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkersActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkersActivationArgs.java index 84200185f9a..52a8c227930 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkersActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgeWorkersActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -149,9 +150,15 @@ public Builder version(String version) { } public EdgeWorkersActivationArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("EdgeWorkersActivationArgs", "edgeworkerId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("EdgeWorkersActivationArgs", "network"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("EdgeWorkersActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgekvGroupItemsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgekvGroupItemsArgs.java index 3f5a4f6cb5d..0d8c2dd6032 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgekvGroupItemsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/EdgekvGroupItemsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -186,10 +187,18 @@ public Builder network(String network) { } public EdgekvGroupItemsArgs build() { - $.groupName = Objects.requireNonNull($.groupName, "expected parameter 'groupName' to be non-null"); - $.items = Objects.requireNonNull($.items, "expected parameter 'items' to be non-null"); - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.groupName == null) { + throw new MissingRequiredPropertyException("EdgekvGroupItemsArgs", "groupName"); + } + if ($.items == null) { + throw new MissingRequiredPropertyException("EdgekvGroupItemsArgs", "items"); + } + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("EdgekvGroupItemsArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("EdgekvGroupItemsArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmAsmapArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmAsmapArgs.java index 5277eb55318..bec596a1173 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmAsmapArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmAsmapArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GtmAsmapDefaultDatacenterArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -132,8 +133,12 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmAsmapArgs build() { - $.defaultDatacenter = Objects.requireNonNull($.defaultDatacenter, "expected parameter 'defaultDatacenter' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.defaultDatacenter == null) { + throw new MissingRequiredPropertyException("GtmAsmapArgs", "defaultDatacenter"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmAsmapArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmCidrmapArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmCidrmapArgs.java index 3a9a3d6364c..3ff40fb7185 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmCidrmapArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmCidrmapArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GtmCidrmapDefaultDatacenterArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -132,8 +133,12 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmCidrmapArgs build() { - $.defaultDatacenter = Objects.requireNonNull($.defaultDatacenter, "expected parameter 'defaultDatacenter' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.defaultDatacenter == null) { + throw new MissingRequiredPropertyException("GtmCidrmapArgs", "defaultDatacenter"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmCidrmapArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDatacenterArgs.java index c7fb9e81e80..a3921d9b7b9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDatacenterArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GtmDatacenterDefaultLoadObjectArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -264,7 +265,9 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmDatacenterArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmDatacenterArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDomainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDomainArgs.java index 6feb679ba7c..790c06b822f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDomainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmDomainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -302,7 +303,9 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmDomainArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GtmDomainArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmGeomapArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmGeomapArgs.java index 91104853830..71bc8d1d153 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmGeomapArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmGeomapArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GtmGeomapDefaultDatacenterArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -132,8 +133,12 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmGeomapArgs build() { - $.defaultDatacenter = Objects.requireNonNull($.defaultDatacenter, "expected parameter 'defaultDatacenter' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.defaultDatacenter == null) { + throw new MissingRequiredPropertyException("GtmGeomapArgs", "defaultDatacenter"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmGeomapArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmPropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmPropertyArgs.java index 41bf8620589..fdd4b1d12ca 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmPropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmPropertyArgs.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GtmPropertyTrafficTargetArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -602,11 +603,21 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmPropertyArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); - $.handoutLimit = Objects.requireNonNull($.handoutLimit, "expected parameter 'handoutLimit' to be non-null"); - $.handoutMode = Objects.requireNonNull($.handoutMode, "expected parameter 'handoutMode' to be non-null"); - $.scoreAggregationType = Objects.requireNonNull($.scoreAggregationType, "expected parameter 'scoreAggregationType' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmPropertyArgs", "domain"); + } + if ($.handoutLimit == null) { + throw new MissingRequiredPropertyException("GtmPropertyArgs", "handoutLimit"); + } + if ($.handoutMode == null) { + throw new MissingRequiredPropertyException("GtmPropertyArgs", "handoutMode"); + } + if ($.scoreAggregationType == null) { + throw new MissingRequiredPropertyException("GtmPropertyArgs", "scoreAggregationType"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GtmPropertyArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmResourceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmResourceArgs.java index c530ccc3468..51428b20761 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmResourceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/GtmResourceArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GtmResourceResourceInstanceArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -303,9 +304,15 @@ public Builder waitOnComplete(Boolean waitOnComplete) { } public GtmResourceArgs build() { - $.aggregationType = Objects.requireNonNull($.aggregationType, "expected parameter 'aggregationType' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.aggregationType == null) { + throw new MissingRequiredPropertyException("GtmResourceArgs", "aggregationType"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GtmResourceArgs", "domain"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GtmResourceArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamBlockedUserPropertiesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamBlockedUserPropertiesArgs.java index a742c12caf6..cf9a9a7cb23 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamBlockedUserPropertiesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamBlockedUserPropertiesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -160,9 +161,15 @@ public Builder identityId(String identityId) { } public IamBlockedUserPropertiesArgs build() { - $.blockedProperties = Objects.requireNonNull($.blockedProperties, "expected parameter 'blockedProperties' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.identityId = Objects.requireNonNull($.identityId, "expected parameter 'identityId' to be non-null"); + if ($.blockedProperties == null) { + throw new MissingRequiredPropertyException("IamBlockedUserPropertiesArgs", "blockedProperties"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("IamBlockedUserPropertiesArgs", "groupId"); + } + if ($.identityId == null) { + throw new MissingRequiredPropertyException("IamBlockedUserPropertiesArgs", "identityId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamGroupArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamGroupArgs.java index 25749dcb931..7afeba6639b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamGroupArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamGroupArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -114,7 +115,9 @@ public Builder parentGroupId(Integer parentGroupId) { } public IamGroupArgs build() { - $.parentGroupId = Objects.requireNonNull($.parentGroupId, "expected parameter 'parentGroupId' to be non-null"); + if ($.parentGroupId == null) { + throw new MissingRequiredPropertyException("IamGroupArgs", "parentGroupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamRoleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamRoleArgs.java index 0b0e5b1ceac..00969ef43d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamRoleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamRoleArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -199,8 +200,12 @@ public Builder type(String type) { } public IamRoleArgs build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.grantedRoles = Objects.requireNonNull($.grantedRoles, "expected parameter 'grantedRoles' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("IamRoleArgs", "description"); + } + if ($.grantedRoles == null) { + throw new MissingRequiredPropertyException("IamRoleArgs", "grantedRoles"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamUserArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamUserArgs.java index d8f49030148..e6341be8ad9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamUserArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/IamUserArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -744,13 +745,27 @@ public Builder zipCode(String zipCode) { } public IamUserArgs build() { - $.authGrantsJson = Objects.requireNonNull($.authGrantsJson, "expected parameter 'authGrantsJson' to be non-null"); - $.country = Objects.requireNonNull($.country, "expected parameter 'country' to be non-null"); - $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null"); - $.enableTfa = Objects.requireNonNull($.enableTfa, "expected parameter 'enableTfa' to be non-null"); - $.firstName = Objects.requireNonNull($.firstName, "expected parameter 'firstName' to be non-null"); - $.lastName = Objects.requireNonNull($.lastName, "expected parameter 'lastName' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); + if ($.authGrantsJson == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "authGrantsJson"); + } + if ($.country == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "country"); + } + if ($.email == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "email"); + } + if ($.enableTfa == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "enableTfa"); + } + if ($.firstName == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "firstName"); + } + if ($.lastName == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "lastName"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("IamUserArgs", "phone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyImageArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyImageArgs.java index 1527c736ef9..5406f6a87ad 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyImageArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyImageArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -233,10 +234,18 @@ public Builder policysetId(String policysetId) { } public ImagingPolicyImageArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.json = Objects.requireNonNull($.json, "expected parameter 'json' to be non-null"); - $.policyId = Objects.requireNonNull($.policyId, "expected parameter 'policyId' to be non-null"); - $.policysetId = Objects.requireNonNull($.policysetId, "expected parameter 'policysetId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyImageArgs", "contractId"); + } + if ($.json == null) { + throw new MissingRequiredPropertyException("ImagingPolicyImageArgs", "json"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyImageArgs", "policyId"); + } + if ($.policysetId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyImageArgs", "policysetId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicySetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicySetArgs.java index 5cfd4bfa269..f546f92c16a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicySetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicySetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -187,9 +188,15 @@ public Builder type(String type) { } public ImagingPolicySetArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("ImagingPolicySetArgs", "contractId"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("ImagingPolicySetArgs", "region"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("ImagingPolicySetArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyVideoArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyVideoArgs.java index 4f4c027b995..8943b438c68 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyVideoArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/ImagingPolicyVideoArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -233,10 +234,18 @@ public Builder policysetId(String policysetId) { } public ImagingPolicyVideoArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.json = Objects.requireNonNull($.json, "expected parameter 'json' to be non-null"); - $.policyId = Objects.requireNonNull($.policyId, "expected parameter 'policyId' to be non-null"); - $.policysetId = Objects.requireNonNull($.policysetId, "expected parameter 'policysetId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyVideoArgs", "contractId"); + } + if ($.json == null) { + throw new MissingRequiredPropertyException("ImagingPolicyVideoArgs", "json"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyVideoArgs", "policyId"); + } + if ($.policysetId == null) { + throw new MissingRequiredPropertyException("ImagingPolicyVideoArgs", "policysetId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListActivationsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListActivationsArgs.java index f43bcaa72ab..4e177201742 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListActivationsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListActivationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -236,9 +237,15 @@ public Builder syncPoint(Integer syncPoint) { } public NetworkListActivationsArgs build() { - $.networkListId = Objects.requireNonNull($.networkListId, "expected parameter 'networkListId' to be non-null"); - $.notificationEmails = Objects.requireNonNull($.notificationEmails, "expected parameter 'notificationEmails' to be non-null"); - $.syncPoint = Objects.requireNonNull($.syncPoint, "expected parameter 'syncPoint' to be non-null"); + if ($.networkListId == null) { + throw new MissingRequiredPropertyException("NetworkListActivationsArgs", "networkListId"); + } + if ($.notificationEmails == null) { + throw new MissingRequiredPropertyException("NetworkListActivationsArgs", "notificationEmails"); + } + if ($.syncPoint == null) { + throw new MissingRequiredPropertyException("NetworkListActivationsArgs", "syncPoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListArgs.java index ee4b9137345..9295150150f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -315,9 +316,15 @@ public Builder type(String type) { } public NetworkListArgs build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.mode = Objects.requireNonNull($.mode, "expected parameter 'mode' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("NetworkListArgs", "description"); + } + if ($.mode == null) { + throw new MissingRequiredPropertyException("NetworkListArgs", "mode"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("NetworkListArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListDescriptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListDescriptionArgs.java index 158f543af5b..23a12bb134a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListDescriptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListDescriptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -90,8 +91,12 @@ public Builder networkListId(String networkListId) { } public NetworkListDescriptionArgs build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.networkListId = Objects.requireNonNull($.networkListId, "expected parameter 'networkListId' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("NetworkListDescriptionArgs", "description"); + } + if ($.networkListId == null) { + throw new MissingRequiredPropertyException("NetworkListDescriptionArgs", "networkListId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListSubscriptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListSubscriptionArgs.java index 90838c79ee3..b90725db604 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListSubscriptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/NetworkListSubscriptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -80,8 +81,12 @@ public Builder recipients(String... recipients) { } public NetworkListSubscriptionArgs build() { - $.networkLists = Objects.requireNonNull($.networkLists, "expected parameter 'networkLists' to be non-null"); - $.recipients = Objects.requireNonNull($.recipients, "expected parameter 'recipients' to be non-null"); + if ($.networkLists == null) { + throw new MissingRequiredPropertyException("NetworkListSubscriptionArgs", "networkLists"); + } + if ($.recipients == null) { + throw new MissingRequiredPropertyException("NetworkListSubscriptionArgs", "recipients"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyActivationArgs.java index d2307085a88..d3c738f8bf8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyActivationArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.PropertyActivationRuleErrorArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -265,9 +266,15 @@ public Builder version(Integer version) { } public PropertyActivationArgs build() { - $.contacts = Objects.requireNonNull($.contacts, "expected parameter 'contacts' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.contacts == null) { + throw new MissingRequiredPropertyException("PropertyActivationArgs", "contacts"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("PropertyActivationArgs", "propertyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("PropertyActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyArgs.java index 7857d7d7496..8e2f7074390 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.PropertyHostnameArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -284,9 +285,15 @@ public Builder rules(String rules) { } public PropertyArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.productId = Objects.requireNonNull($.productId, "expected parameter 'productId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("PropertyArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("PropertyArgs", "groupId"); + } + if ($.productId == null) { + throw new MissingRequiredPropertyException("PropertyArgs", "productId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeActivationArgs.java index ffedde2e6dc..02cea324ae2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeActivationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.PropertyIncludeActivationComplianceRecordArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -386,12 +387,24 @@ public Builder version(Integer version) { } public PropertyIncludeActivationArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); - $.notifyEmails = Objects.requireNonNull($.notifyEmails, "expected parameter 'notifyEmails' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "includeId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "network"); + } + if ($.notifyEmails == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "notifyEmails"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("PropertyIncludeActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeArgs.java index f763486d8e6..05dbd69a4b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/PropertyIncludeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -298,10 +299,18 @@ public Builder type(String type) { } public PropertyIncludeArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.ruleFormat = Objects.requireNonNull($.ruleFormat, "expected parameter 'ruleFormat' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("PropertyIncludeArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("PropertyIncludeArgs", "groupId"); + } + if ($.ruleFormat == null) { + throw new MissingRequiredPropertyException("PropertyIncludeArgs", "ruleFormat"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("PropertyIncludeArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/config/inputs/Config.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/config/inputs/Config.java index adb188976e1..98d5110c821 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/config/inputs/Config.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/config/inputs/Config.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.config.inputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,31 +68,45 @@ public Builder(Config defaults) { @CustomType.Setter public Builder accessToken(String accessToken) { - this.accessToken = Objects.requireNonNull(accessToken); + if (accessToken == null) { + throw new MissingRequiredPropertyException("Config", "accessToken"); + } + this.accessToken = accessToken; return this; } @CustomType.Setter public Builder accountKey(@Nullable String accountKey) { + this.accountKey = accountKey; return this; } @CustomType.Setter public Builder clientSecret(String clientSecret) { - this.clientSecret = Objects.requireNonNull(clientSecret); + if (clientSecret == null) { + throw new MissingRequiredPropertyException("Config", "clientSecret"); + } + this.clientSecret = clientSecret; return this; } @CustomType.Setter public Builder clientToken(String clientToken) { - this.clientToken = Objects.requireNonNull(clientToken); + if (clientToken == null) { + throw new MissingRequiredPropertyException("Config", "clientToken"); + } + this.clientToken = clientToken; return this; } @CustomType.Setter public Builder host(String host) { - this.host = Objects.requireNonNull(host); + if (host == null) { + throw new MissingRequiredPropertyException("Config", "host"); + } + this.host = host; return this; } @CustomType.Setter public Builder maxBody(@Nullable Integer maxBody) { + this.maxBody = maxBody; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetArgs.java index 09a30795590..8061c52e41f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder contract(String contract) { } public GetAuthoritiesSetArgs build() { - $.contract = Objects.requireNonNull($.contract, "expected parameter 'contract' to be non-null"); + if ($.contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetArgs", "contract"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetPlainArgs.java index 4219fd2b6e3..1448d0ac9a1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetAuthoritiesSetPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.edgedns.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder contract(String contract) { } public GetAuthoritiesSetPlainArgs build() { - $.contract = Objects.requireNonNull($.contract, "expected parameter 'contract' to be non-null"); + if ($.contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetPlainArgs", "contract"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetArgs.java index 834899bfb3f..fce7de0fc79 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder zone(String zone) { } public GetDnsRecordSetArgs build() { - $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); - $.recordType = Objects.requireNonNull($.recordType, "expected parameter 'recordType' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "host"); + } + if ($.recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "recordType"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetPlainArgs.java index 3ea6d2cecae..eaa4e683e52 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/inputs/GetDnsRecordSetPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.edgedns.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder zone(String zone) { } public GetDnsRecordSetPlainArgs build() { - $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); - $.recordType = Objects.requireNonNull($.recordType, "expected parameter 'recordType' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "host"); + } + if ($.recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "recordType"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetAuthoritiesSetResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetAuthoritiesSetResult.java index 37d057126a4..47efef9ea1c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetAuthoritiesSetResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetAuthoritiesSetResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.edgedns.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,7 +56,10 @@ public Builder(GetAuthoritiesSetResult defaults) { @CustomType.Setter public Builder authorities(List authorities) { - this.authorities = Objects.requireNonNull(authorities); + if (authorities == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "authorities"); + } + this.authorities = authorities; return this; } public Builder authorities(String... authorities) { @@ -63,12 +67,18 @@ public Builder authorities(String... authorities) { } @CustomType.Setter public Builder contract(String contract) { - this.contract = Objects.requireNonNull(contract); + if (contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "contract"); + } + this.contract = contract; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "id"); + } + this.id = id; return this; } public GetAuthoritiesSetResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetDnsRecordSetResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetDnsRecordSetResult.java index f8272d0f7a2..446398a425c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetDnsRecordSetResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/edgedns/outputs/GetDnsRecordSetResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.edgedns.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,17 +68,26 @@ public Builder(GetDnsRecordSetResult defaults) { @CustomType.Setter public Builder host(String host) { - this.host = Objects.requireNonNull(host); + if (host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "host"); + } + this.host = host; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder rdatas(List rdatas) { - this.rdatas = Objects.requireNonNull(rdatas); + if (rdatas == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "rdatas"); + } + this.rdatas = rdatas; return this; } public Builder rdatas(String... rdatas) { @@ -85,12 +95,18 @@ public Builder rdatas(String... rdatas) { } @CustomType.Setter public Builder recordType(String recordType) { - this.recordType = Objects.requireNonNull(recordType); + if (recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "recordType"); + } + this.recordType = recordType; return this; } @CustomType.Setter public Builder zone(String zone) { - this.zone = Objects.requireNonNull(zone); + if (zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "zone"); + } + this.zone = zone; return this; } public GetDnsRecordSetResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ClientlistListItemArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ClientlistListItemArgs.java index 4d49e0628d6..ca98cc2751b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ClientlistListItemArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ClientlistListItemArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -112,7 +113,9 @@ public Builder value(String value) { } public ClientlistListItemArgs build() { - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.value == null) { + throw new MissingRequiredPropertyException("ClientlistListItemArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerDataCenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerDataCenterArgs.java index 5439f24ac41..886f6ca9403 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerDataCenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerDataCenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.String; @@ -250,12 +251,24 @@ public Builder stateOrProvince(String stateOrProvince) { } public CloudletsApplicationLoadBalancerDataCenterArgs build() { - $.continent = Objects.requireNonNull($.continent, "expected parameter 'continent' to be non-null"); - $.country = Objects.requireNonNull($.country, "expected parameter 'country' to be non-null"); - $.latitude = Objects.requireNonNull($.latitude, "expected parameter 'latitude' to be non-null"); - $.longitude = Objects.requireNonNull($.longitude, "expected parameter 'longitude' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.percent = Objects.requireNonNull($.percent, "expected parameter 'percent' to be non-null"); + if ($.continent == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "continent"); + } + if ($.country == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "country"); + } + if ($.latitude == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "latitude"); + } + if ($.longitude == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "longitude"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "originId"); + } + if ($.percent == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenterArgs", "percent"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerLivenessSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerLivenessSettingsArgs.java index 610ad9fe7d4..842aa6c888e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerLivenessSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudletsApplicationLoadBalancerLivenessSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -264,9 +265,15 @@ public Builder timeout(Double timeout) { } public CloudletsApplicationLoadBalancerLivenessSettingsArgs build() { - $.path = Objects.requireNonNull($.path, "expected parameter 'path' to be non-null"); - $.port = Objects.requireNonNull($.port, "expected parameter 'port' to be non-null"); - $.protocol = Objects.requireNonNull($.protocol, "expected parameter 'protocol' to be non-null"); + if ($.path == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettingsArgs", "path"); + } + if ($.port == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettingsArgs", "port"); + } + if ($.protocol == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettingsArgs", "protocol"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationArgs.java index 57c72b6389d..e616c4c067d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.CloudwrapperConfigurationLocationCapacityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -92,8 +93,12 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public CloudwrapperConfigurationLocationArgs build() { - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.comments == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationArgs", "comments"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationArgs", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationCapacityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationCapacityArgs.java index 096ca56a10c..8c91a18650f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationCapacityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CloudwrapperConfigurationLocationCapacityArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public CloudwrapperConfigurationLocationCapacityArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationCapacityArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationCapacityArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentAdminContactArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentAdminContactArgs.java index 0a5cc1de1fb..ab4c601bc2e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentAdminContactArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentAdminContactArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -243,16 +244,36 @@ public Builder title(String title) { } public CpsDvEnrollmentAdminContactArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null"); - $.firstName = Objects.requireNonNull($.firstName, "expected parameter 'firstName' to be non-null"); - $.lastName = Objects.requireNonNull($.lastName, "expected parameter 'lastName' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "countryCode"); + } + if ($.email == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "email"); + } + if ($.firstName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "firstName"); + } + if ($.lastName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "lastName"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "organization"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContactArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentCsrArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentCsrArgs.java index 7cf5ade3a98..95a267392d9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentCsrArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentCsrArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -141,11 +142,21 @@ public Builder state(String state) { } public CpsDvEnrollmentCsrArgs build() { - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.organizationalUnit = Objects.requireNonNull($.organizationalUnit, "expected parameter 'organizationalUnit' to be non-null"); - $.state = Objects.requireNonNull($.state, "expected parameter 'state' to be non-null"); + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsrArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsrArgs", "countryCode"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsrArgs", "organization"); + } + if ($.organizationalUnit == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsrArgs", "organizationalUnit"); + } + if ($.state == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsrArgs", "state"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentNetworkConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentNetworkConfigurationArgs.java index 1f8cce34491..1970354d1ee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentNetworkConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentNetworkConfigurationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.CpsDvEnrollmentNetworkConfigurationClientMutualAuthenticationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -182,7 +183,9 @@ public Builder quicEnabled(Boolean quicEnabled) { } public CpsDvEnrollmentNetworkConfigurationArgs build() { - $.geography = Objects.requireNonNull($.geography, "expected parameter 'geography' to be non-null"); + if ($.geography == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentNetworkConfigurationArgs", "geography"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentOrganizationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentOrganizationArgs.java index 37c9f2a2076..cbb9f262aa5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentOrganizationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentOrganizationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -175,13 +176,27 @@ public Builder region(String region) { } public CpsDvEnrollmentOrganizationArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "countryCode"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "name"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganizationArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentTechContactArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentTechContactArgs.java index 2bb89e84b2b..559cdbe0695 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentTechContactArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsDvEnrollmentTechContactArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -243,16 +244,36 @@ public Builder title(String title) { } public CpsDvEnrollmentTechContactArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null"); - $.firstName = Objects.requireNonNull($.firstName, "expected parameter 'firstName' to be non-null"); - $.lastName = Objects.requireNonNull($.lastName, "expected parameter 'lastName' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "countryCode"); + } + if ($.email == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "email"); + } + if ($.firstName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "firstName"); + } + if ($.lastName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "lastName"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "organization"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContactArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentAdminContactArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentAdminContactArgs.java index 64db56028dd..a7a0f0c3cd0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentAdminContactArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentAdminContactArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -243,16 +244,36 @@ public Builder title(String title) { } public CpsThirdPartyEnrollmentAdminContactArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null"); - $.firstName = Objects.requireNonNull($.firstName, "expected parameter 'firstName' to be non-null"); - $.lastName = Objects.requireNonNull($.lastName, "expected parameter 'lastName' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "countryCode"); + } + if ($.email == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "email"); + } + if ($.firstName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "firstName"); + } + if ($.lastName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "lastName"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "organization"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContactArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentCsrArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentCsrArgs.java index ce579bf1968..1eb27de63a3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentCsrArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentCsrArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -141,11 +142,21 @@ public Builder state(String state) { } public CpsThirdPartyEnrollmentCsrArgs build() { - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.organizationalUnit = Objects.requireNonNull($.organizationalUnit, "expected parameter 'organizationalUnit' to be non-null"); - $.state = Objects.requireNonNull($.state, "expected parameter 'state' to be non-null"); + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsrArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsrArgs", "countryCode"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsrArgs", "organization"); + } + if ($.organizationalUnit == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsrArgs", "organizationalUnit"); + } + if ($.state == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsrArgs", "state"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentNetworkConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentNetworkConfigurationArgs.java index 1b6e8eae669..4f35255e465 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentNetworkConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentNetworkConfigurationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthenticationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -182,7 +183,9 @@ public Builder quicEnabled(Boolean quicEnabled) { } public CpsThirdPartyEnrollmentNetworkConfigurationArgs build() { - $.geography = Objects.requireNonNull($.geography, "expected parameter 'geography' to be non-null"); + if ($.geography == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentNetworkConfigurationArgs", "geography"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentOrganizationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentOrganizationArgs.java index ce31b3d26dc..c4a30d3bfde 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentOrganizationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentOrganizationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -175,13 +176,27 @@ public Builder region(String region) { } public CpsThirdPartyEnrollmentOrganizationArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "countryCode"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "name"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganizationArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentTechContactArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentTechContactArgs.java index 40be821cab6..bde79217236 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentTechContactArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/CpsThirdPartyEnrollmentTechContactArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -243,16 +244,36 @@ public Builder title(String title) { } public CpsThirdPartyEnrollmentTechContactArgs build() { - $.addressLineOne = Objects.requireNonNull($.addressLineOne, "expected parameter 'addressLineOne' to be non-null"); - $.city = Objects.requireNonNull($.city, "expected parameter 'city' to be non-null"); - $.countryCode = Objects.requireNonNull($.countryCode, "expected parameter 'countryCode' to be non-null"); - $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null"); - $.firstName = Objects.requireNonNull($.firstName, "expected parameter 'firstName' to be non-null"); - $.lastName = Objects.requireNonNull($.lastName, "expected parameter 'lastName' to be non-null"); - $.organization = Objects.requireNonNull($.organization, "expected parameter 'organization' to be non-null"); - $.phone = Objects.requireNonNull($.phone, "expected parameter 'phone' to be non-null"); - $.postalCode = Objects.requireNonNull($.postalCode, "expected parameter 'postalCode' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); + if ($.addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "addressLineOne"); + } + if ($.city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "city"); + } + if ($.countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "countryCode"); + } + if ($.email == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "email"); + } + if ($.firstName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "firstName"); + } + if ($.lastName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "lastName"); + } + if ($.organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "organization"); + } + if ($.phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "phone"); + } + if ($.postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "postalCode"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContactArgs", "region"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamAzureConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamAzureConnectorArgs.java index 8b006703f64..658fd65cb20 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamAzureConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamAzureConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -142,11 +143,21 @@ public Builder path(String path) { } public DatastreamAzureConnectorArgs build() { - $.accessKey = Objects.requireNonNull($.accessKey, "expected parameter 'accessKey' to be non-null"); - $.accountName = Objects.requireNonNull($.accountName, "expected parameter 'accountName' to be non-null"); - $.containerName = Objects.requireNonNull($.containerName, "expected parameter 'containerName' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.path = Objects.requireNonNull($.path, "expected parameter 'path' to be non-null"); + if ($.accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnectorArgs", "accessKey"); + } + if ($.accountName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnectorArgs", "accountName"); + } + if ($.containerName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnectorArgs", "containerName"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnectorArgs", "displayName"); + } + if ($.path == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnectorArgs", "path"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDatadogConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDatadogConnectorArgs.java index 7d75514313a..38175dde163 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDatadogConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDatadogConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -159,9 +160,15 @@ public Builder tags(String tags) { } public DatastreamDatadogConnectorArgs build() { - $.authToken = Objects.requireNonNull($.authToken, "expected parameter 'authToken' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); + if ($.authToken == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnectorArgs", "authToken"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnectorArgs", "endpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationArgs.java index df799430444..c405579a272 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.DatastreamDeliveryConfigurationFrequencyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -125,8 +126,12 @@ public Builder uploadFileSuffix(String uploadFileSuffix) { } public DatastreamDeliveryConfigurationArgs build() { - $.format = Objects.requireNonNull($.format, "expected parameter 'format' to be non-null"); - $.frequency = Objects.requireNonNull($.frequency, "expected parameter 'frequency' to be non-null"); + if ($.format == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfigurationArgs", "format"); + } + if ($.frequency == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfigurationArgs", "frequency"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationFrequencyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationFrequencyArgs.java index f7dc1dd019c..6eb010f17a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationFrequencyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamDeliveryConfigurationFrequencyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder intervalInSecs(Integer intervalInSecs) { } public DatastreamDeliveryConfigurationFrequencyArgs build() { - $.intervalInSecs = Objects.requireNonNull($.intervalInSecs, "expected parameter 'intervalInSecs' to be non-null"); + if ($.intervalInSecs == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfigurationFrequencyArgs", "intervalInSecs"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamElasticsearchConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamElasticsearchConnectorArgs.java index fef818a9d49..225adb301fa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamElasticsearchConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamElasticsearchConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -261,11 +262,21 @@ public Builder userName(String userName) { } public DatastreamElasticsearchConnectorArgs build() { - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); - $.indexName = Objects.requireNonNull($.indexName, "expected parameter 'indexName' to be non-null"); - $.password = Objects.requireNonNull($.password, "expected parameter 'password' to be non-null"); - $.userName = Objects.requireNonNull($.userName, "expected parameter 'userName' to be non-null"); + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnectorArgs", "endpoint"); + } + if ($.indexName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnectorArgs", "indexName"); + } + if ($.password == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnectorArgs", "password"); + } + if ($.userName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnectorArgs", "userName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamGcsConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamGcsConnectorArgs.java index fbfad1aa30a..d91be50b47d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamGcsConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamGcsConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -159,11 +160,21 @@ public Builder serviceAccountName(String serviceAccountName) { } public DatastreamGcsConnectorArgs build() { - $.bucket = Objects.requireNonNull($.bucket, "expected parameter 'bucket' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.privateKey = Objects.requireNonNull($.privateKey, "expected parameter 'privateKey' to be non-null"); - $.projectId = Objects.requireNonNull($.projectId, "expected parameter 'projectId' to be non-null"); - $.serviceAccountName = Objects.requireNonNull($.serviceAccountName, "expected parameter 'serviceAccountName' to be non-null"); + if ($.bucket == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnectorArgs", "bucket"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnectorArgs", "displayName"); + } + if ($.privateKey == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnectorArgs", "privateKey"); + } + if ($.projectId == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnectorArgs", "projectId"); + } + if ($.serviceAccountName == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnectorArgs", "serviceAccountName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamHttpsConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamHttpsConnectorArgs.java index a40d86b8114..4d8351b458c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamHttpsConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamHttpsConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -278,9 +279,15 @@ public Builder userName(String userName) { } public DatastreamHttpsConnectorArgs build() { - $.authenticationType = Objects.requireNonNull($.authenticationType, "expected parameter 'authenticationType' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); + if ($.authenticationType == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnectorArgs", "authenticationType"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnectorArgs", "endpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamLogglyConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamLogglyConnectorArgs.java index c1f2075ce03..f6c851ffd8a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamLogglyConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamLogglyConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -158,9 +159,15 @@ public Builder tags(String tags) { } public DatastreamLogglyConnectorArgs build() { - $.authToken = Objects.requireNonNull($.authToken, "expected parameter 'authToken' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); + if ($.authToken == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnectorArgs", "authToken"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnectorArgs", "endpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamNewRelicConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamNewRelicConnectorArgs.java index dfe8b4036c6..ace2c6c50df 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamNewRelicConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamNewRelicConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -141,9 +142,15 @@ public Builder endpoint(String endpoint) { } public DatastreamNewRelicConnectorArgs build() { - $.authToken = Objects.requireNonNull($.authToken, "expected parameter 'authToken' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); + if ($.authToken == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnectorArgs", "authToken"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnectorArgs", "endpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamOracleConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamOracleConnectorArgs.java index f308fa42185..380d3237113 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamOracleConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamOracleConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -176,13 +177,27 @@ public Builder secretAccessKey(String secretAccessKey) { } public DatastreamOracleConnectorArgs build() { - $.accessKey = Objects.requireNonNull($.accessKey, "expected parameter 'accessKey' to be non-null"); - $.bucket = Objects.requireNonNull($.bucket, "expected parameter 'bucket' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.namespace = Objects.requireNonNull($.namespace, "expected parameter 'namespace' to be non-null"); - $.path = Objects.requireNonNull($.path, "expected parameter 'path' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); - $.secretAccessKey = Objects.requireNonNull($.secretAccessKey, "expected parameter 'secretAccessKey' to be non-null"); + if ($.accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "accessKey"); + } + if ($.bucket == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "bucket"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "displayName"); + } + if ($.namespace == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "namespace"); + } + if ($.path == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "path"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "region"); + } + if ($.secretAccessKey == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnectorArgs", "secretAccessKey"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamS3ConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamS3ConnectorArgs.java index 1ccd49d6bbe..f59426495d7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamS3ConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamS3ConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -159,12 +160,24 @@ public Builder secretAccessKey(String secretAccessKey) { } public DatastreamS3ConnectorArgs build() { - $.accessKey = Objects.requireNonNull($.accessKey, "expected parameter 'accessKey' to be non-null"); - $.bucket = Objects.requireNonNull($.bucket, "expected parameter 'bucket' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.path = Objects.requireNonNull($.path, "expected parameter 'path' to be non-null"); - $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null"); - $.secretAccessKey = Objects.requireNonNull($.secretAccessKey, "expected parameter 'secretAccessKey' to be non-null"); + if ($.accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "accessKey"); + } + if ($.bucket == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "bucket"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "displayName"); + } + if ($.path == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "path"); + } + if ($.region == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "region"); + } + if ($.secretAccessKey == null) { + throw new MissingRequiredPropertyException("DatastreamS3ConnectorArgs", "secretAccessKey"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSplunkConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSplunkConnectorArgs.java index 68f48ca03ca..b5a8c50d08d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSplunkConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSplunkConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -227,9 +228,15 @@ public Builder tlsHostname(String tlsHostname) { } public DatastreamSplunkConnectorArgs build() { - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); - $.eventCollectorToken = Objects.requireNonNull($.eventCollectorToken, "expected parameter 'eventCollectorToken' to be non-null"); + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnectorArgs", "endpoint"); + } + if ($.eventCollectorToken == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnectorArgs", "eventCollectorToken"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSumologicConnectorArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSumologicConnectorArgs.java index 4f7fb82582f..92a90b4c38c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSumologicConnectorArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DatastreamSumologicConnectorArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -159,9 +160,15 @@ public Builder endpoint(String endpoint) { } public DatastreamSumologicConnectorArgs build() { - $.collectorCode = Objects.requireNonNull($.collectorCode, "expected parameter 'collectorCode' to be non-null"); - $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); - $.endpoint = Objects.requireNonNull($.endpoint, "expected parameter 'endpoint' to be non-null"); + if ($.collectorCode == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnectorArgs", "collectorCode"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnectorArgs", "displayName"); + } + if ($.endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnectorArgs", "endpoint"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DnsZoneTsigKeyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DnsZoneTsigKeyArgs.java index b1e7000ec4b..a379832e35b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DnsZoneTsigKeyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/DnsZoneTsigKeyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder secret(String secret) { } public DnsZoneTsigKeyArgs build() { - $.algorithm = Objects.requireNonNull($.algorithm, "expected parameter 'algorithm' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + if ($.algorithm == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKeyArgs", "algorithm"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKeyArgs", "name"); + } + if ($.secret == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKeyArgs", "secret"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/EdgeKvInitialDataArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/EdgeKvInitialDataArgs.java index 39dbc81df4c..3cef9a2d57e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/EdgeKvInitialDataArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/EdgeKvInitialDataArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -90,8 +91,12 @@ public Builder value(String value) { } public EdgeKvInitialDataArgs build() { - $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.key == null) { + throw new MissingRequiredPropertyException("EdgeKvInitialDataArgs", "key"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("EdgeKvInitialDataArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchArgs.java index 10ded05dc99..e992e61e63a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecAdvancedSettingsEvasivePathMatchArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs.java index c66aad523c2..00c900f7f95 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingArgs.java index 3543a66684e..5fc4c37b74b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecAdvancedSettingsLoggingArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingPlainArgs.java index 40fe9532712..d0bc9bd8f3a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsLoggingPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppSecAdvancedSettingsLoggingPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderArgs.java index 0c8b97aeb43..e22c3914723 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecAdvancedSettingsPragmaHeaderArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderPlainArgs.java index 061d266c2bf..d43978600bf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPragmaHeaderPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppSecAdvancedSettingsPragmaHeaderPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchArgs.java index 6cc779b2a9b..b088dd117ff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecAdvancedSettingsPrefetchArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchPlainArgs.java index 3ccaca019cf..4651ae76000 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAdvancedSettingsPrefetchPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecAdvancedSettingsPrefetchPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsArgs.java index 861cb34dc0d..561b11df5c9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,7 +92,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecApiEndpointsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsPlainArgs.java index 84b82bee74a..fb29b3a3c96 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiEndpointsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,7 +79,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppSecApiEndpointsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsArgs.java index 5c28f9e21ff..d981aec56c5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecApiRequestConstraintsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsPlainArgs.java index f933609c268..57e2654533b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecApiRequestConstraintsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecApiRequestConstraintsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsArgs.java index 43d7f6bdc59..d6c41d69704 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecAttackGroupsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsPlainArgs.java index d177a536f7e..2404a674fa4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecAttackGroupsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecAttackGroupsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsArgs.java index c28c5b086a0..a5def0c656f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecBypassNetworkListsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsPlainArgs.java index 1e686d2dfab..c0f2b1d9c32 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecBypassNetworkListsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecBypassNetworkListsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionArgs.java index b564e2183e6..3a50bc53566 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder version(Integer version) { } public GetAppSecConfigurationVersionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionPlainArgs.java index 686e9caffa6..2ff1aa723ba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecConfigurationVersionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder version(@Nullable Integer version) { } public GetAppSecConfigurationVersionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyArgs.java index 4bfaaf15561..73f8a54948f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder customDenyId(String customDenyId) { } public GetAppSecCustomDenyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyPlainArgs.java index f89eac7f204..21ca007d33b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomDenyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder customDenyId(@Nullable String customDenyId) { } public GetAppSecCustomDenyPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsArgs.java index e9b7460586d..34172ccd1d4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecCustomRuleActionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsPlainArgs.java index 8ea8d8414d2..3bb270e4787 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRuleActionsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecCustomRuleActionsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesArgs.java index 49518907730..0429e6c3b74 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder customRuleId(Integer customRuleId) { } public GetAppSecCustomRulesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesPlainArgs.java index 6733da1e91d..58cfbb024e2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecCustomRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder customRuleId(@Nullable Integer customRuleId) { } public GetAppSecCustomRulesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalArgs.java index 636d12d69cd..0dbe8bf112b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsArgs.java index bf00d627e05..295307a1e1a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalGroupsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsPlainArgs.java index 98c47011f02..3cd38fce381 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalGroupsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalGroupsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxArgs.java index 4f183a53594..05e20bd7975 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalPenaltyBoxArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxPlainArgs.java index f8e24726321..300c71ea1f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPenaltyBoxPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalPenaltyBoxPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPlainArgs.java index 15a99fc3f47..80978477c3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesArgs.java index 99e8fa93c99..4c8ec0513aa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalRulesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesPlainArgs.java index ddb6bf4cea5..7115dd3475d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecEvalRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecEvalRulesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationArgs.java index e27b6cd5326..d2d410b8e60 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -96,8 +97,12 @@ public Builder version(Integer version) { } public GetAppSecExportConfigurationArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationArgs", "configId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationPlainArgs.java index 9145562b984..bebaf3645d7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecExportConfigurationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -83,8 +84,12 @@ public Builder version(Integer version) { } public GetAppSecExportConfigurationPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationPlainArgs", "configId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationPlainArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesArgs.java index f4fb1a74446..c80c3ff10a2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecFailoverHostnamesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesPlainArgs.java index c9d901de4b5..0506cd19149 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecFailoverHostnamesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecFailoverHostnamesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsArgs.java index e46195b2fca..05bae3cef5d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder hostname(String hostname) { } public GetAppSecHostnameCoverageMatchTargetsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsArgs", "configId"); + } + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsArgs", "hostname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsPlainArgs.java index 3005dcf4abe..2a1f34651d4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageMatchTargetsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder hostname(String hostname) { } public GetAppSecHostnameCoverageMatchTargetsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsPlainArgs", "configId"); + } + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsPlainArgs", "hostname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingArgs.java index 00dc551262a..9e2e09b7436 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder hostname(String hostname) { } public GetAppSecHostnameCoverageOverlappingArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingArgs", "configId"); + } + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingArgs", "hostname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingPlainArgs.java index 4c1ac0ead04..169244ef283 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecHostnameCoverageOverlappingPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder hostname(String hostname) { } public GetAppSecHostnameCoverageOverlappingPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingPlainArgs", "configId"); + } + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingPlainArgs", "hostname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoArgs.java index e0fa0094a75..4ee30a293b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecIPGeoArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoPlainArgs.java index b5abd2fc175..7e2688d64df 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecIPGeoPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecIPGeoPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesArgs.java index afba37e46fd..817bb83b10f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecMalwareContentTypesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesPlainArgs.java index 9b6a9dae7f0..9f26c6d8500 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwareContentTypesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecMalwareContentTypesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesArgs.java index 061a14c7e47..0962eb584fb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder malwarePolicyId(Integer malwarePolicyId) { } public GetAppSecMalwarePoliciesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesPlainArgs.java index f0ace763071..88be637ddf8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePoliciesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder malwarePolicyId(@Nullable Integer malwarePolicyId) { } public GetAppSecMalwarePoliciesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsArgs.java index 074fde01039..4310c898021 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecMalwarePolicyActionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsPlainArgs.java index 3672dfc1721..c9dd0c79fbd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMalwarePolicyActionsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecMalwarePolicyActionsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsArgs.java index 945485513a8..71bc8ba8344 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder matchTargetId(Integer matchTargetId) { } public GetAppSecMatchTargetsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsPlainArgs.java index aa1516fa6ce..637f6a7aeca 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecMatchTargetsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder matchTargetId(@Nullable Integer matchTargetId) { } public GetAppSecMatchTargetsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxArgs.java index 0e1e258a2a3..e8c97c1f7f3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecPenaltyBoxArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxPlainArgs.java index bd69bda6421..0e5c05127bc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecPenaltyBoxPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecPenaltyBoxPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesArgs.java index 51368d39066..366e490cdf5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder ratePolicyId(Integer ratePolicyId) { } public GetAppSecRatePoliciesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesPlainArgs.java index 7beb7378b45..416333c068e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePoliciesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder ratePolicyId(@Nullable Integer ratePolicyId) { } public GetAppSecRatePoliciesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsArgs.java index 35fd87c4641..170a4e430c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRatePolicyActionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsPlainArgs.java index 59742d369f2..ecf1ec477e4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRatePolicyActionsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRatePolicyActionsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsArgs.java index cede9b2428f..f4366d13fd8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecReputationProfileActionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsPlainArgs.java index 872e2ba4609..d6ca6027c03 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileActionsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecReputationProfileActionsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisArgs.java index 82811df7d9c..99fee6c03e7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecReputationProfileAnalysisArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisPlainArgs.java index 010a76aab2f..923ef4af36e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfileAnalysisPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecReputationProfileAnalysisPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesArgs.java index 28917e3295c..dcc6ad518e7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder reputationProfileId(Integer reputationProfileId) { } public GetAppSecReputationProfilesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesPlainArgs.java index b05193c17a3..37f5ade3ea6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecReputationProfilesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder reputationProfileId(@Nullable Integer reputationProfileId) { } public GetAppSecReputationProfilesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsArgs.java index 02dd6196eed..1f4c2d52865 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRuleUpgradeDetailsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsPlainArgs.java index 21014a4e5b7..67ac1f56de5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRuleUpgradeDetailsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRuleUpgradeDetailsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesArgs.java index 8d52bfbe860..61066a2680f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRulesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesPlainArgs.java index 15c58888c16..dbdaab30f1a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecRulesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyArgs.java index 1822244bb6e..e23e182c56d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyName(String securityPolicyName) { } public GetAppSecSecurityPolicyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyPlainArgs.java index aafb0909e58..8c334f66814 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyName(@Nullable String securityPolicyName) { } public GetAppSecSecurityPolicyPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsArgs.java index 2f4ce08bce1..6ed0f6ae1f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecSecurityPolicyProtectionsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsPlainArgs.java index c3c75141ccc..6d4d7975ac6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSecurityPolicyProtectionsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecSecurityPolicyProtectionsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesArgs.java index 0e93567ff8c..70103508735 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecSelectedHostnamesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesPlainArgs.java index fb819b6d055..cbe6131aa06 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSelectedHostnamesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecSelectedHostnamesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsArgs.java index 6a6697f19cd..29ad0014103 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecSiemSettingsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsPlainArgs.java index 0aa2f88b5c4..423389526cd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSiemSettingsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecSiemSettingsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostArgs.java index 35db6215e46..29c6a2864e8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecSlowPostArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostPlainArgs.java index 0fef2028f12..1f7e8cac4ec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecSlowPostPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecSlowPostPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelArgs.java index 16c4025d3bc..4689281fdd0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecThreatIntelArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelPlainArgs.java index 0fe4accbe2f..5e2833e4086 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecThreatIntelPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecThreatIntelPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsArgs.java index 14ec360bf59..dbd50076d36 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -125,7 +126,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecTuningRecommendationsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecTuningRecommendationsArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsPlainArgs.java index ed002af9cdb..6666987a006 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecTuningRecommendationsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -104,7 +105,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppSecTuningRecommendationsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecTuningRecommendationsPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesArgs.java index 783bed39350..8efb5b35308 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppSecVersionNotesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesPlainArgs.java index 72fa73a3daa..93dab7c46ec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecVersionNotesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppSecVersionNotesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModeArgs.java index 57479855046..e50be52fd57 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecWafModeArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModePlainArgs.java index 981299d30b3..b31d0a211cb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWafModePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecWafModePlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModePlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModePlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesArgs.java index cf14cd99334..b7e5559ab94 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecWapSelectedHostnamesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesPlainArgs.java index d8ae79fac85..eb943c6de91 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppSecWapSelectedHostnamesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppSecWapSelectedHostnamesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingArgs.java index 40293866d35..0e258f5ed7b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppsecAdvancedSettingsAttackPayloadLoggingArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs.java index 13dbdbf9af4..cb212bc1e28 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningArgs.java index fd0962f18f8..1e0b6b66f08 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetAppsecAdvancedSettingsPiiLearningArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningPlainArgs.java index 2599880f11a..0d37a6b3467 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsPiiLearningPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetAppsecAdvancedSettingsPiiLearningPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyArgs.java index f3c93af04af..6c360a34486 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetAppsecAdvancedSettingsRequestBodyArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyPlainArgs.java index a34692e129b..49468e26701 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAppsecAdvancedSettingsRequestBodyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder securityPolicyId(@Nullable String securityPolicyId) { } public GetAppsecAdvancedSettingsRequestBodyPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetArgs.java index a4cc7f7ed37..b7070bd3922 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder contract(String contract) { } public GetAuthoritiesSetArgs build() { - $.contract = Objects.requireNonNull($.contract, "expected parameter 'contract' to be non-null"); + if ($.contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetArgs", "contract"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetPlainArgs.java index fd456f396f8..795423351be 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetAuthoritiesSetPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder contract(String contract) { } public GetAuthoritiesSetPlainArgs build() { - $.contract = Objects.requireNonNull($.contract, "expected parameter 'contract' to be non-null"); + if ($.contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetPlainArgs", "contract"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionArgs.java index 0f2d26f5707..d3453fdc021 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanAkamaiBotCategoryActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionPlainArgs.java index 19f7844d68d..e80bbc59818 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanAkamaiBotCategoryActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanAkamaiBotCategoryActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookieArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookieArgs.java index 3ae259e184c..929a818cfb2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookieArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookieArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanBotAnalyticsCookieArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookiePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookiePlainArgs.java index 525622794e3..92543d759c6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookiePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotAnalyticsCookiePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanBotAnalyticsCookiePlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookiePlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionArgs.java index 16ea5de6cfe..11801fdda9e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotCategoryExceptionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionPlainArgs.java index 5b2cd6766b2..cdd9ba7627d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotCategoryExceptionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotCategoryExceptionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionArgs.java index a9deeca13b7..1fae325cc1d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotDetectionActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionPlainArgs.java index c01d23a759a..faa59ea1fc8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotDetectionActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotDetectionActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsArgs.java index 5aa55ff4693..82b747c8a89 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotManagementSettingsArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsPlainArgs.java index 3a9dee07ef3..cadb4b18311 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanBotManagementSettingsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanBotManagementSettingsPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionArgs.java index 4d329007f9e..ab130f12673 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionPlainArgs.java index c2f1356ccfb..0f0c7f5783d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeActionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesArgs.java index 4dd990ca234..8c7e201c174 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeInjectionRulesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInjectionRulesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesPlainArgs.java index cbb3d3c61da..c93cdaf9c3c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInjectionRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeInjectionRulesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInjectionRulesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesArgs.java index c30cba5374d..77176623fcb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeInterceptionRulesArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInterceptionRulesArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesPlainArgs.java index c2435a82bc0..786b0bbb539 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanChallengeInterceptionRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanChallengeInterceptionRulesPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInterceptionRulesPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityArgs.java index 8fac21e8e87..9fca2f531c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanClientSideSecurityArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanClientSideSecurityArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityPlainArgs.java index 94b290577c6..8dc407d8930 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanClientSideSecurityPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanClientSideSecurityPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanClientSideSecurityPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionArgs.java index 0b196734356..fd089408daf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanConditionalActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanConditionalActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionPlainArgs.java index bafddbb8cd3..5ba197c6f09 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanConditionalActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanConditionalActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanConditionalActionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionArgs.java index 0afb30dc1b2..28eaa13e646 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanCustomBotCategoryActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionPlainArgs.java index 9abf19e7a1a..aaa69201689 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanCustomBotCategoryActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryArgs.java index c466d532548..65aa009be34 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomBotCategoryArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryPlainArgs.java index 4af8253ee06..095722047b4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategoryPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomBotCategoryPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequenceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequenceArgs.java index 86e32a543e8..9d8250628e5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequenceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequenceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomBotCategorySequenceArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategorySequenceArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequencePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequencePlainArgs.java index b590dc7fda4..2478e2fe924 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequencePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomBotCategorySequencePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomBotCategorySequencePlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategorySequencePlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientArgs.java index c20e3878577..e6a4881348c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder customClientId(String customClientId) { } public GetBotmanCustomClientArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientPlainArgs.java index 77e6de0e235..1eef948fb34 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder customClientId(@Nullable String customClientId) { } public GetBotmanCustomClientPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequenceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequenceArgs.java index a71317616f0..36fc6589d5b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequenceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequenceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomClientSequenceArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientSequenceArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequencePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequencePlainArgs.java index e6e385035c9..be85c22f0c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequencePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomClientSequencePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomClientSequencePlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientSequencePlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotArgs.java index dd108e9f05e..29922c635e3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomDefinedBotArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDefinedBotArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotPlainArgs.java index 88d9535a5e1..9791af5f9cf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDefinedBotPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomDefinedBotPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDefinedBotPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionArgs.java index a6d082fb5bb..18c1b63ef60 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomDenyActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDenyActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionPlainArgs.java index 40b003d56bd..5651911fd81 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanCustomDenyActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanCustomDenyActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDenyActionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionArgs.java index edce0c1eec0..81c688474a9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanJavascriptInjectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionPlainArgs.java index e9a2e15849f..eeeb9e16b64 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanJavascriptInjectionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanJavascriptInjectionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotArgs.java index 48d29e3d0d9..355d75f96d7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanRecategorizedAkamaiDefinedBotArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanRecategorizedAkamaiDefinedBotArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotPlainArgs.java index 28ce9a6e3b0..53badee33c7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanRecategorizedAkamaiDefinedBotPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanRecategorizedAkamaiDefinedBotPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanRecategorizedAkamaiDefinedBotPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionArgs.java index 1183dcd599e..5712237dd20 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanResponseActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanResponseActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionPlainArgs.java index 1d871f5f6e7..c1f9c44f266 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanResponseActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanResponseActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanResponseActionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionArgs.java index 2821fed86fb..dfe08b9d0fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder configId(Integer configId) { } public GetBotmanServeAlternateActionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanServeAlternateActionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionPlainArgs.java index 04b9ce9c8f1..3430b701377 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanServeAlternateActionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder configId(Integer configId) { } public GetBotmanServeAlternateActionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanServeAlternateActionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointArgs.java index ad2a7a2637f..6a1ac155d6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanTransactionalEndpointArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointPlainArgs.java index ee42a7b57a4..1b1987342da 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder securityPolicyId(String securityPolicyId) { } public GetBotmanTransactionalEndpointPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); - $.securityPolicyId = Objects.requireNonNull($.securityPolicyId, "expected parameter 'securityPolicyId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointPlainArgs", "configId"); + } + if ($.securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointPlainArgs", "securityPolicyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionArgs.java index 00b97e8ad2a..d5bbc25b4c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder configId(Integer configId) { } public GetBotmanTransactionalEndpointProtectionArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointProtectionArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionPlainArgs.java index a3fc88269e4..e8e42df9a30 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetBotmanTransactionalEndpointProtectionPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder configId(Integer configId) { } public GetBotmanTransactionalEndpointProtectionPlainArgs build() { - $.configId = Objects.requireNonNull($.configId, "expected parameter 'configId' to be non-null"); + if ($.configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointProtectionPlainArgs", "configId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentArgs.java index 8b3e8da104e..2c5f93eaaf5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCPSEnrollmentArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentPlainArgs.java index a0ec194814b..905a977353c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCPSEnrollmentPlainArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentPlainArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsArgs.java index eee6fff25fa..9437ff07469 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder contractId(String contractId) { } public GetCPSEnrollmentsArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsArgs", "contractId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsPlainArgs.java index a0a11eb6bb4..93111b26d53 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCPSEnrollmentsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder contractId(String contractId) { } public GetCPSEnrollmentsPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsPlainArgs", "contractId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java index cc046ad0cb9..d36a99b6acd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -151,8 +152,12 @@ public Builder type(String type) { } public GetCloudletsApiPrioritizationMatchRuleMatchRule build() { - $.passThroughPercent = Objects.requireNonNull($.passThroughPercent, "expected parameter 'passThroughPercent' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRule", "passThroughPercent"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs.java index 3f0ff656043..82a49765a0b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -184,8 +185,12 @@ public Builder type(String type) { } public GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs build() { - $.passThroughPercent = Objects.requireNonNull($.passThroughPercent, "expected parameter 'passThroughPercent' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs", "passThroughPercent"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java index 83f89639d11..8a0f5e22e47 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java index c3a95aad4c1..7b8ca5cb45f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerArgs.java index 3fd21e58e02..c3026d3576f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder version(Integer version) { } public GetCloudletsApplicationLoadBalancerArgs build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerArgs", "originId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java index 39a4ed508ca..339bc49277f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting; import com.pulumi.akamai.inputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -181,8 +182,12 @@ public Builder type(String type) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRule build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRule", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs.java index 7df62f65e42..6d819c761c4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -222,8 +223,12 @@ public Builder type(String type) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java index 0baf034aa3d..6c4242749bc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder originId(String originId) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting", "originId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs.java index 34f96d242c8..78a56f20a1e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder originId(String originId) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSettingArgs", "originId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java index a6b0caa4d86..90249d2f053 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 138e860cd0d..74adc1a11dc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerPlainArgs.java index 94ebfa42319..26d87ed9ceb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsApplicationLoadBalancerPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder version(@Nullable Integer version) { } public GetCloudletsApplicationLoadBalancerPlainArgs build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerPlainArgs", "originId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java index e11cb679364..daba400e0ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.inputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -151,8 +152,12 @@ public Builder type(String type) { } public GetCloudletsAudienceSegmentationMatchRuleMatchRule build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRule", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs.java index 03c60010956..d83e5594101 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -184,8 +185,12 @@ public Builder type(String type) { } public GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java index ebba2005bc3..e852f897f0e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 039d8eb147b..e352a16820a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java index 763e2160746..51bfb70bf4b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -189,9 +190,15 @@ public Builder useRelativeUrl(@Nullable String useRelativeUrl) { } public GetCloudletsEdgeRedirectorMatchRuleMatchRule build() { - $.redirectUrl = Objects.requireNonNull($.redirectUrl, "expected parameter 'redirectUrl' to be non-null"); - $.statusCode = Objects.requireNonNull($.statusCode, "expected parameter 'statusCode' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.redirectUrl == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "redirectUrl"); + } + if ($.statusCode == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "statusCode"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs.java index b1dcff5f078..f544bec6b7f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -234,9 +235,15 @@ public Builder useRelativeUrl(String useRelativeUrl) { } public GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs build() { - $.redirectUrl = Objects.requireNonNull($.redirectUrl, "expected parameter 'redirectUrl' to be non-null"); - $.statusCode = Objects.requireNonNull($.statusCode, "expected parameter 'statusCode' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.redirectUrl == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs", "redirectUrl"); + } + if ($.statusCode == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs", "statusCode"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java index 5c10fe116d6..7d64cc02ef7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs.java index a56b5ebfdf8..589a2e1b398 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java index c3f4ed3af59..810c0959bf8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -151,8 +152,12 @@ public Builder type(String type) { } public GetCloudletsForwardRewriteMatchRuleMatchRule build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRule", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleArgs.java index 898d1db73e6..2509d747dcd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -184,8 +185,12 @@ public Builder type(String type) { } public GetCloudletsForwardRewriteMatchRuleMatchRuleArgs build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRuleArgs", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java index 52457a9f56d..38a3e501508 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 40309f5916b..f8b8f55cc6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java index 5c1c807c6db..622e059e914 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.inputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -164,8 +165,12 @@ public Builder type(String type) { } public GetCloudletsPhasedReleaseMatchRuleMatchRule build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRule", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs.java index f9d73282871..8ebfc74162a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -201,8 +202,12 @@ public Builder type(String type) { } public GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs build() { - $.forwardSettings = Objects.requireNonNull($.forwardSettings, "expected parameter 'forwardSettings' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs", "forwardSettings"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java index e8e0a1a9c31..ac6c2d3ecff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder percent(Integer percent) { } public GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.percent = Objects.requireNonNull($.percent, "expected parameter 'percent' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings", "originId"); + } + if ($.percent == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings", "percent"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs.java index 17b139f5a03..825048ed81f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder percent(Integer percent) { } public GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs build() { - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.percent = Objects.requireNonNull($.percent, "expected parameter 'percent' to be non-null"); + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs", "originId"); + } + if ($.percent == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettingsArgs", "percent"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java index 28097877cc0..7ae177dcf9a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 9d2bc30d0fa..7eedfdff046 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyArgs.java index c097b02b978..b2394830918 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -73,7 +74,9 @@ public Builder version(Integer version) { } public GetCloudletsPolicyArgs build() { - $.policyId = Objects.requireNonNull($.policyId, "expected parameter 'policyId' to be non-null"); + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyArgs", "policyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyPlainArgs.java index f44dcc328e4..f2d4f2ee677 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsPolicyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -64,7 +65,9 @@ public Builder version(@Nullable Integer version) { } public GetCloudletsPolicyPlainArgs build() { - $.policyId = Objects.requireNonNull($.policyId, "expected parameter 'policyId' to be non-null"); + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyPlainArgs", "policyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRule.java index fa23c8317dc..8ca56463cac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsRequestControlMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -150,8 +151,12 @@ public Builder type(String type) { } public GetCloudletsRequestControlMatchRuleMatchRule build() { - $.allowDeny = Objects.requireNonNull($.allowDeny, "expected parameter 'allowDeny' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.allowDeny == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRule", "allowDeny"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleArgs.java index 6b3af8cc7ea..80b6626531a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsRequestControlMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -183,8 +184,12 @@ public Builder type(String type) { } public GetCloudletsRequestControlMatchRuleMatchRuleArgs build() { - $.allowDeny = Objects.requireNonNull($.allowDeny, "expected parameter 'allowDeny' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.allowDeny == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRuleArgs", "allowDeny"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java index 95f2ae95d9a..f3bdf1e233b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 029f4cfb7aa..73a7d2b4f9e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java index 46c51924b54..52a3c81796e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -151,8 +152,12 @@ public Builder type(String type) { } public GetCloudletsVisitorPrioritizationMatchRuleMatchRule build() { - $.passThroughPercent = Objects.requireNonNull($.passThroughPercent, "expected parameter 'passThroughPercent' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRule", "passThroughPercent"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRule", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs.java index ffed07f0a8c..abd9fac74d8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -184,8 +185,12 @@ public Builder type(String type) { } public GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs build() { - $.passThroughPercent = Objects.requireNonNull($.passThroughPercent, "expected parameter 'passThroughPercent' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs", "passThroughPercent"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRuleArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java index a53505b5b7f..4c56dc63bed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -123,7 +124,9 @@ public Builder values(String... values) { } public GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java index 49d3c96e93c..0ef73d97a57 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptionsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -148,7 +149,9 @@ public Builder values(String... values) { } public GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs build() { - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacity.java index 000b53c304c..35fcc996174 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacity.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperCapacitiesCapacityAssigned; import com.pulumi.akamai.inputs.GetCloudwrapperCapacitiesCapacityUnassigned; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -131,13 +132,27 @@ public Builder unassigned(GetCloudwrapperCapacitiesCapacityUnassigned unassigned } public GetCloudwrapperCapacitiesCapacity build() { - $.approved = Objects.requireNonNull($.approved, "expected parameter 'approved' to be non-null"); - $.assigned = Objects.requireNonNull($.assigned, "expected parameter 'assigned' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); - $.unassigned = Objects.requireNonNull($.unassigned, "expected parameter 'unassigned' to be non-null"); + if ($.approved == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "approved"); + } + if ($.assigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "assigned"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "contractId"); + } + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "locationId"); + } + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "locationName"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "type"); + } + if ($.unassigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "unassigned"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApproved.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApproved.java index 10b281e2116..844ed04fce2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApproved.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApproved.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityApproved build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApproved", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApproved", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApprovedArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApprovedArgs.java index f7f36548db8..ddc48c38cfd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApprovedArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityApprovedArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityApprovedArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApprovedArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApprovedArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityArgs.java index b1b4f41bf33..1a1df75412e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityArgs.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperCapacitiesCapacityUnassignedArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -160,13 +161,27 @@ public Builder unassigned(GetCloudwrapperCapacitiesCapacityUnassignedArgs unassi } public GetCloudwrapperCapacitiesCapacityArgs build() { - $.approved = Objects.requireNonNull($.approved, "expected parameter 'approved' to be non-null"); - $.assigned = Objects.requireNonNull($.assigned, "expected parameter 'assigned' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); - $.unassigned = Objects.requireNonNull($.unassigned, "expected parameter 'unassigned' to be non-null"); + if ($.approved == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "approved"); + } + if ($.assigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "assigned"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "contractId"); + } + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "locationId"); + } + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "locationName"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "type"); + } + if ($.unassigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityArgs", "unassigned"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssigned.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssigned.java index 860546a30b2..0ef6486533a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssigned.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssigned.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityAssigned build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssigned", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssigned", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssignedArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssignedArgs.java index 293011b8425..4407c5d26b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssignedArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityAssignedArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityAssignedArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssignedArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssignedArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassigned.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassigned.java index 0aeb394d4a5..ba0005a3cb8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassigned.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassigned.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityUnassigned build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassigned", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassigned", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassignedArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassignedArgs.java index de36433a683..54346aa2fed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassignedArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperCapacitiesCapacityUnassignedArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public GetCloudwrapperCapacitiesCapacityUnassignedArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassignedArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassignedArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationArgs.java index 5b7714c5d78..daa0e27ef46 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.List; import java.util.Objects; @@ -97,7 +98,9 @@ public Builder multiCdnSettings(GetCloudwrapperConfigurationMultiCdnSettingsArgs } public GetCloudwrapperConfigurationArgs build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationArgs", "id"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocation.java index a033f57566b..1eb3366e99e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationLocationCapacity; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -90,10 +91,18 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperConfigurationLocation build() { - $.capacity = Objects.requireNonNull($.capacity, "expected parameter 'capacity' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.mapName = Objects.requireNonNull($.mapName, "expected parameter 'mapName' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "capacity"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "comments"); + } + if ($.mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "mapName"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationArgs.java index d3b611313c0..223516d24d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationLocationCapacityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -107,10 +108,18 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperConfigurationLocationArgs build() { - $.capacity = Objects.requireNonNull($.capacity, "expected parameter 'capacity' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.mapName = Objects.requireNonNull($.mapName, "expected parameter 'mapName' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationArgs", "capacity"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationArgs", "comments"); + } + if ($.mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationArgs", "mapName"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationArgs", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacity.java index d825a83c1ed..9d4318157ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacity.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder value(Integer value) { } public GetCloudwrapperConfigurationLocationCapacity build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacity", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacity", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacityArgs.java index 8f729b1b0bc..5f5fbca8059 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationLocationCapacityArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public GetCloudwrapperConfigurationLocationCapacityArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacityArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacityArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettings.java index e75d01ce990..51b98216416 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettings.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsDataStreams; import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsOrigin; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -116,7 +117,9 @@ public Builder origins(GetCloudwrapperConfigurationMultiCdnSettingsOrigin... ori } public GetCloudwrapperConfigurationMultiCdnSettings build() { - $.enableSoftAlerts = Objects.requireNonNull($.enableSoftAlerts, "expected parameter 'enableSoftAlerts' to be non-null"); + if ($.enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettings", "enableSoftAlerts"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsArgs.java index 762f3d4391e..483af4d75c8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsArgs.java @@ -9,6 +9,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -137,7 +138,9 @@ public Builder origins(GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs... } public GetCloudwrapperConfigurationMultiCdnSettingsArgs build() { - $.enableSoftAlerts = Objects.requireNonNull($.enableSoftAlerts, "expected parameter 'enableSoftAlerts' to be non-null"); + if ($.enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsArgs", "enableSoftAlerts"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java index 882c42523c3..c7aa6f84de4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -102,11 +103,21 @@ public Builder samplingFrequency(String samplingFrequency) { } public GetCloudwrapperConfigurationMultiCdnSettingsBocc build() { - $.conditionalSamplingFrequency = Objects.requireNonNull($.conditionalSamplingFrequency, "expected parameter 'conditionalSamplingFrequency' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.forwardType = Objects.requireNonNull($.forwardType, "expected parameter 'forwardType' to be non-null"); - $.requestType = Objects.requireNonNull($.requestType, "expected parameter 'requestType' to be non-null"); - $.samplingFrequency = Objects.requireNonNull($.samplingFrequency, "expected parameter 'samplingFrequency' to be non-null"); + if ($.conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "conditionalSamplingFrequency"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "enabled"); + } + if ($.forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "forwardType"); + } + if ($.requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "requestType"); + } + if ($.samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "samplingFrequency"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs.java index 8a63c8d1e25..afce12c4f3b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -123,11 +124,21 @@ public Builder samplingFrequency(String samplingFrequency) { } public GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs build() { - $.conditionalSamplingFrequency = Objects.requireNonNull($.conditionalSamplingFrequency, "expected parameter 'conditionalSamplingFrequency' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.forwardType = Objects.requireNonNull($.forwardType, "expected parameter 'forwardType' to be non-null"); - $.requestType = Objects.requireNonNull($.requestType, "expected parameter 'requestType' to be non-null"); - $.samplingFrequency = Objects.requireNonNull($.samplingFrequency, "expected parameter 'samplingFrequency' to be non-null"); + if ($.conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs", "conditionalSamplingFrequency"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs", "enabled"); + } + if ($.forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs", "forwardType"); + } + if ($.requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs", "requestType"); + } + if ($.samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBoccArgs", "samplingFrequency"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java index 4a6bacf94e8..861e4fd352e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -114,10 +115,18 @@ public Builder ipAclCidrs(String... ipAclCidrs) { } public GetCloudwrapperConfigurationMultiCdnSettingsCdn build() { - $.cdnCode = Objects.requireNonNull($.cdnCode, "expected parameter 'cdnCode' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.httpsOnly = Objects.requireNonNull($.httpsOnly, "expected parameter 'httpsOnly' to be non-null"); - $.ipAclCidrs = Objects.requireNonNull($.ipAclCidrs, "expected parameter 'ipAclCidrs' to be non-null"); + if ($.cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "cdnCode"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "enabled"); + } + if ($.httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "httpsOnly"); + } + if ($.ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "ipAclCidrs"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs.java index 07c196a2ba5..77d3a8563a5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -135,10 +136,18 @@ public Builder ipAclCidrs(String... ipAclCidrs) { } public GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs build() { - $.cdnCode = Objects.requireNonNull($.cdnCode, "expected parameter 'cdnCode' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.httpsOnly = Objects.requireNonNull($.httpsOnly, "expected parameter 'httpsOnly' to be non-null"); - $.ipAclCidrs = Objects.requireNonNull($.ipAclCidrs, "expected parameter 'ipAclCidrs' to be non-null"); + if ($.cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs", "cdnCode"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs", "enabled"); + } + if ($.httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs", "httpsOnly"); + } + if ($.ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnArgs", "ipAclCidrs"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java index 884be195100..5a302fbdd6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,10 +89,18 @@ public Builder secret(String secret) { } public GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey build() { - $.authKeyName = Objects.requireNonNull($.authKeyName, "expected parameter 'authKeyName' to be non-null"); - $.expiryDate = Objects.requireNonNull($.expiryDate, "expected parameter 'expiryDate' to be non-null"); - $.headerName = Objects.requireNonNull($.headerName, "expected parameter 'headerName' to be non-null"); - $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + if ($.authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "authKeyName"); + } + if ($.expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "expiryDate"); + } + if ($.headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "headerName"); + } + if ($.secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "secret"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java index 50a9c1a96fc..9af94828b3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -105,10 +106,18 @@ public Builder secret(String secret) { } public GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs build() { - $.authKeyName = Objects.requireNonNull($.authKeyName, "expected parameter 'authKeyName' to be non-null"); - $.expiryDate = Objects.requireNonNull($.expiryDate, "expected parameter 'expiryDate' to be non-null"); - $.headerName = Objects.requireNonNull($.headerName, "expected parameter 'headerName' to be non-null"); - $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + if ($.authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "authKeyName"); + } + if ($.expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "expiryDate"); + } + if ($.headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "headerName"); + } + if ($.secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "secret"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java index 241420cfb60..4426666dd83 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -81,9 +82,15 @@ public Builder samplingRate(Integer samplingRate) { } public GetCloudwrapperConfigurationMultiCdnSettingsDataStreams build() { - $.dataStreamIds = Objects.requireNonNull($.dataStreamIds, "expected parameter 'dataStreamIds' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.samplingRate = Objects.requireNonNull($.samplingRate, "expected parameter 'samplingRate' to be non-null"); + if ($.dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "dataStreamIds"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "enabled"); + } + if ($.samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "samplingRate"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs.java index 4347a28635b..185ee383e17 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -94,9 +95,15 @@ public Builder samplingRate(Integer samplingRate) { } public GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs build() { - $.dataStreamIds = Objects.requireNonNull($.dataStreamIds, "expected parameter 'dataStreamIds' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.samplingRate = Objects.requireNonNull($.samplingRate, "expected parameter 'samplingRate' to be non-null"); + if ($.dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs", "dataStreamIds"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs", "enabled"); + } + if ($.samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreamsArgs", "samplingRate"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java index 5aefd3ef582..86e0abd680d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -76,9 +77,15 @@ public Builder propertyId(Integer propertyId) { } public GetCloudwrapperConfigurationMultiCdnSettingsOrigin build() { - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "hostname"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "originId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs.java index 86cbc0854b4..6d664d1b77d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder propertyId(Integer propertyId) { } public GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs build() { - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs", "hostname"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs", "originId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOriginArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationPlainArgs.java index 9e33a8ae0d5..1c6d4737649 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationPlainArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationLocation; import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationMultiCdnSettings; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.List; import java.util.Objects; @@ -84,7 +85,9 @@ public Builder multiCdnSettings(@Nullable GetCloudwrapperConfigurationMultiCdnSe } public GetCloudwrapperConfigurationPlainArgs build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationPlainArgs", "id"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfiguration.java index 5a6565ce0f8..50c4650aec1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfiguration.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationLocation; import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettings; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -250,19 +251,45 @@ public Builder status(String status) { } public GetCloudwrapperConfigurationsConfiguration build() { - $.capacityAlertsThreshold = Objects.requireNonNull($.capacityAlertsThreshold, "expected parameter 'capacityAlertsThreshold' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.configName = Objects.requireNonNull($.configName, "expected parameter 'configName' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.lastActivatedBy = Objects.requireNonNull($.lastActivatedBy, "expected parameter 'lastActivatedBy' to be non-null"); - $.lastActivatedDate = Objects.requireNonNull($.lastActivatedDate, "expected parameter 'lastActivatedDate' to be non-null"); - $.lastUpdatedBy = Objects.requireNonNull($.lastUpdatedBy, "expected parameter 'lastUpdatedBy' to be non-null"); - $.lastUpdatedDate = Objects.requireNonNull($.lastUpdatedDate, "expected parameter 'lastUpdatedDate' to be non-null"); - $.notificationEmails = Objects.requireNonNull($.notificationEmails, "expected parameter 'notificationEmails' to be non-null"); - $.propertyIds = Objects.requireNonNull($.propertyIds, "expected parameter 'propertyIds' to be non-null"); - $.retainIdleObjects = Objects.requireNonNull($.retainIdleObjects, "expected parameter 'retainIdleObjects' to be non-null"); - $.status = Objects.requireNonNull($.status, "expected parameter 'status' to be non-null"); + if ($.capacityAlertsThreshold == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "capacityAlertsThreshold"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "comments"); + } + if ($.configName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "configName"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "contractId"); + } + if ($.id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "id"); + } + if ($.lastActivatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastActivatedBy"); + } + if ($.lastActivatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastActivatedDate"); + } + if ($.lastUpdatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastUpdatedBy"); + } + if ($.lastUpdatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastUpdatedDate"); + } + if ($.notificationEmails == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "notificationEmails"); + } + if ($.propertyIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "propertyIds"); + } + if ($.retainIdleObjects == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "retainIdleObjects"); + } + if ($.status == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "status"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationArgs.java index 7674f759b54..9c9b4bb2cd2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationArgs.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -311,19 +312,45 @@ public Builder status(String status) { } public GetCloudwrapperConfigurationsConfigurationArgs build() { - $.capacityAlertsThreshold = Objects.requireNonNull($.capacityAlertsThreshold, "expected parameter 'capacityAlertsThreshold' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.configName = Objects.requireNonNull($.configName, "expected parameter 'configName' to be non-null"); - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.lastActivatedBy = Objects.requireNonNull($.lastActivatedBy, "expected parameter 'lastActivatedBy' to be non-null"); - $.lastActivatedDate = Objects.requireNonNull($.lastActivatedDate, "expected parameter 'lastActivatedDate' to be non-null"); - $.lastUpdatedBy = Objects.requireNonNull($.lastUpdatedBy, "expected parameter 'lastUpdatedBy' to be non-null"); - $.lastUpdatedDate = Objects.requireNonNull($.lastUpdatedDate, "expected parameter 'lastUpdatedDate' to be non-null"); - $.notificationEmails = Objects.requireNonNull($.notificationEmails, "expected parameter 'notificationEmails' to be non-null"); - $.propertyIds = Objects.requireNonNull($.propertyIds, "expected parameter 'propertyIds' to be non-null"); - $.retainIdleObjects = Objects.requireNonNull($.retainIdleObjects, "expected parameter 'retainIdleObjects' to be non-null"); - $.status = Objects.requireNonNull($.status, "expected parameter 'status' to be non-null"); + if ($.capacityAlertsThreshold == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "capacityAlertsThreshold"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "comments"); + } + if ($.configName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "configName"); + } + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "contractId"); + } + if ($.id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "id"); + } + if ($.lastActivatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "lastActivatedBy"); + } + if ($.lastActivatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "lastActivatedDate"); + } + if ($.lastUpdatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "lastUpdatedBy"); + } + if ($.lastUpdatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "lastUpdatedDate"); + } + if ($.notificationEmails == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "notificationEmails"); + } + if ($.propertyIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "propertyIds"); + } + if ($.retainIdleObjects == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "retainIdleObjects"); + } + if ($.status == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationArgs", "status"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocation.java index a67c8973177..d0dcdc46dd5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationLocationCapacity; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -90,10 +91,18 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperConfigurationsConfigurationLocation build() { - $.capacity = Objects.requireNonNull($.capacity, "expected parameter 'capacity' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.mapName = Objects.requireNonNull($.mapName, "expected parameter 'mapName' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "capacity"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "comments"); + } + if ($.mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "mapName"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationArgs.java index 84597687c3e..850565e66f8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -107,10 +108,18 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperConfigurationsConfigurationLocationArgs build() { - $.capacity = Objects.requireNonNull($.capacity, "expected parameter 'capacity' to be non-null"); - $.comments = Objects.requireNonNull($.comments, "expected parameter 'comments' to be non-null"); - $.mapName = Objects.requireNonNull($.mapName, "expected parameter 'mapName' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationArgs", "capacity"); + } + if ($.comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationArgs", "comments"); + } + if ($.mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationArgs", "mapName"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationArgs", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java index 86a46cafe36..d65603f02ff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder value(Integer value) { } public GetCloudwrapperConfigurationsConfigurationLocationCapacity build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacity", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacity", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs.java index 7a680abd9c1..140f1fd642b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder value(Integer value) { } public GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs build() { - $.unit = Objects.requireNonNull($.unit, "expected parameter 'unit' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs", "unit"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacityArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java index a8162ad2d92..1520d3382f1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams; import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -116,7 +117,9 @@ public Builder origins(GetCloudwrapperConfigurationsConfigurationMultiCdnSetting } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettings build() { - $.enableSoftAlerts = Objects.requireNonNull($.enableSoftAlerts, "expected parameter 'enableSoftAlerts' to be non-null"); + if ($.enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettings", "enableSoftAlerts"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs.java index 1c3ef0339c7..cd697bf59ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs.java @@ -9,6 +9,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -137,7 +138,9 @@ public Builder origins(GetCloudwrapperConfigurationsConfigurationMultiCdnSetting } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs build() { - $.enableSoftAlerts = Objects.requireNonNull($.enableSoftAlerts, "expected parameter 'enableSoftAlerts' to be non-null"); + if ($.enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsArgs", "enableSoftAlerts"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java index 99572b32ed3..13c501f6a88 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -102,11 +103,21 @@ public Builder samplingFrequency(String samplingFrequency) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc build() { - $.conditionalSamplingFrequency = Objects.requireNonNull($.conditionalSamplingFrequency, "expected parameter 'conditionalSamplingFrequency' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.forwardType = Objects.requireNonNull($.forwardType, "expected parameter 'forwardType' to be non-null"); - $.requestType = Objects.requireNonNull($.requestType, "expected parameter 'requestType' to be non-null"); - $.samplingFrequency = Objects.requireNonNull($.samplingFrequency, "expected parameter 'samplingFrequency' to be non-null"); + if ($.conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "conditionalSamplingFrequency"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "enabled"); + } + if ($.forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "forwardType"); + } + if ($.requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "requestType"); + } + if ($.samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "samplingFrequency"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs.java index 389c6a4a6cd..c1202f4117a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -123,11 +124,21 @@ public Builder samplingFrequency(String samplingFrequency) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs build() { - $.conditionalSamplingFrequency = Objects.requireNonNull($.conditionalSamplingFrequency, "expected parameter 'conditionalSamplingFrequency' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.forwardType = Objects.requireNonNull($.forwardType, "expected parameter 'forwardType' to be non-null"); - $.requestType = Objects.requireNonNull($.requestType, "expected parameter 'requestType' to be non-null"); - $.samplingFrequency = Objects.requireNonNull($.samplingFrequency, "expected parameter 'samplingFrequency' to be non-null"); + if ($.conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs", "conditionalSamplingFrequency"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs", "enabled"); + } + if ($.forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs", "forwardType"); + } + if ($.requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs", "requestType"); + } + if ($.samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBoccArgs", "samplingFrequency"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java index 9dfd5bc00e6..64a35a88e65 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -114,10 +115,18 @@ public Builder ipAclCidrs(String... ipAclCidrs) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn build() { - $.cdnCode = Objects.requireNonNull($.cdnCode, "expected parameter 'cdnCode' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.httpsOnly = Objects.requireNonNull($.httpsOnly, "expected parameter 'httpsOnly' to be non-null"); - $.ipAclCidrs = Objects.requireNonNull($.ipAclCidrs, "expected parameter 'ipAclCidrs' to be non-null"); + if ($.cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "cdnCode"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "enabled"); + } + if ($.httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "httpsOnly"); + } + if ($.ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "ipAclCidrs"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs.java index ef1da656e87..ccf85e576b2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -135,10 +136,18 @@ public Builder ipAclCidrs(String... ipAclCidrs) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs build() { - $.cdnCode = Objects.requireNonNull($.cdnCode, "expected parameter 'cdnCode' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.httpsOnly = Objects.requireNonNull($.httpsOnly, "expected parameter 'httpsOnly' to be non-null"); - $.ipAclCidrs = Objects.requireNonNull($.ipAclCidrs, "expected parameter 'ipAclCidrs' to be non-null"); + if ($.cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs", "cdnCode"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs", "enabled"); + } + if ($.httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs", "httpsOnly"); + } + if ($.ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnArgs", "ipAclCidrs"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java index 18f32540688..73eea2378a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,10 +89,18 @@ public Builder secret(String secret) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey build() { - $.authKeyName = Objects.requireNonNull($.authKeyName, "expected parameter 'authKeyName' to be non-null"); - $.expiryDate = Objects.requireNonNull($.expiryDate, "expected parameter 'expiryDate' to be non-null"); - $.headerName = Objects.requireNonNull($.headerName, "expected parameter 'headerName' to be non-null"); - $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + if ($.authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "authKeyName"); + } + if ($.expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "expiryDate"); + } + if ($.headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "headerName"); + } + if ($.secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "secret"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java index 033d66decd2..31303eb6213 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -105,10 +106,18 @@ public Builder secret(String secret) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs build() { - $.authKeyName = Objects.requireNonNull($.authKeyName, "expected parameter 'authKeyName' to be non-null"); - $.expiryDate = Objects.requireNonNull($.expiryDate, "expected parameter 'expiryDate' to be non-null"); - $.headerName = Objects.requireNonNull($.headerName, "expected parameter 'headerName' to be non-null"); - $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + if ($.authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "authKeyName"); + } + if ($.expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "expiryDate"); + } + if ($.headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "headerName"); + } + if ($.secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKeyArgs", "secret"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java index 7f9c3991898..7d60e5c38bf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -81,9 +82,15 @@ public Builder samplingRate(Integer samplingRate) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams build() { - $.dataStreamIds = Objects.requireNonNull($.dataStreamIds, "expected parameter 'dataStreamIds' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.samplingRate = Objects.requireNonNull($.samplingRate, "expected parameter 'samplingRate' to be non-null"); + if ($.dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "dataStreamIds"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "enabled"); + } + if ($.samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "samplingRate"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs.java index 625714e47d6..e48bd10856e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -94,9 +95,15 @@ public Builder samplingRate(Integer samplingRate) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs build() { - $.dataStreamIds = Objects.requireNonNull($.dataStreamIds, "expected parameter 'dataStreamIds' to be non-null"); - $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); - $.samplingRate = Objects.requireNonNull($.samplingRate, "expected parameter 'samplingRate' to be non-null"); + if ($.dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs", "dataStreamIds"); + } + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs", "enabled"); + } + if ($.samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreamsArgs", "samplingRate"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java index 8739cd59d66..c42a48a27fb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -76,9 +77,15 @@ public Builder propertyId(Integer propertyId) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin build() { - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "hostname"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "originId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs.java index 8d488d8d07b..40b04159ae6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder propertyId(Integer propertyId) { } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs build() { - $.hostname = Objects.requireNonNull($.hostname, "expected parameter 'hostname' to be non-null"); - $.originId = Objects.requireNonNull($.originId, "expected parameter 'originId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs", "hostname"); + } + if ($.originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs", "originId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOriginArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationArgs.java index 74b3d15cfff..d4e57ea0a61 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder trafficType(String trafficType) { } public GetCloudwrapperLocationArgs build() { - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.trafficType = Objects.requireNonNull($.trafficType, "expected parameter 'trafficType' to be non-null"); + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationArgs", "locationName"); + } + if ($.trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationArgs", "trafficType"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationPlainArgs.java index c58c3046ce6..17a2f58240a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder trafficType(String trafficType) { } public GetCloudwrapperLocationPlainArgs build() { - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.trafficType = Objects.requireNonNull($.trafficType, "expected parameter 'trafficType' to be non-null"); + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationPlainArgs", "locationName"); + } + if ($.trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationPlainArgs", "trafficType"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocation.java index a0bd8725735..6fd60da6982 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperLocationsLocationTrafficType; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -97,9 +98,15 @@ public Builder trafficTypes(GetCloudwrapperLocationsLocationTrafficType... traff } public GetCloudwrapperLocationsLocation build() { - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.multiCdnLocationId = Objects.requireNonNull($.multiCdnLocationId, "expected parameter 'multiCdnLocationId' to be non-null"); + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "locationId"); + } + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "locationName"); + } + if ($.multiCdnLocationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "multiCdnLocationId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationArgs.java index 477c190f272..53274572c55 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetCloudwrapperLocationsLocationTrafficTypeArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -114,9 +115,15 @@ public Builder trafficTypes(GetCloudwrapperLocationsLocationTrafficTypeArgs... t } public GetCloudwrapperLocationsLocationArgs build() { - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.locationName = Objects.requireNonNull($.locationName, "expected parameter 'locationName' to be non-null"); - $.multiCdnLocationId = Objects.requireNonNull($.multiCdnLocationId, "expected parameter 'multiCdnLocationId' to be non-null"); + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationArgs", "locationId"); + } + if ($.locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationArgs", "locationName"); + } + if ($.multiCdnLocationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationArgs", "multiCdnLocationId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficType.java index 9d101438dc9..b06feaaeeea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficType.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -76,9 +77,15 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperLocationsLocationTrafficType build() { - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.trafficType = Objects.requireNonNull($.trafficType, "expected parameter 'trafficType' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "locationId"); + } + if ($.trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "trafficType"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficTypeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficTypeArgs.java index edfccfbb5f1..ed7e1106bbd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficTypeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperLocationsLocationTrafficTypeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,9 +90,15 @@ public Builder trafficTypeId(Integer trafficTypeId) { } public GetCloudwrapperLocationsLocationTrafficTypeArgs build() { - $.locationId = Objects.requireNonNull($.locationId, "expected parameter 'locationId' to be non-null"); - $.trafficType = Objects.requireNonNull($.trafficType, "expected parameter 'trafficType' to be non-null"); - $.trafficTypeId = Objects.requireNonNull($.trafficTypeId, "expected parameter 'trafficTypeId' to be non-null"); + if ($.locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficTypeArgs", "locationId"); + } + if ($.trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficTypeArgs", "trafficType"); + } + if ($.trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficTypeArgs", "trafficTypeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesProperty.java index 04ad64effe4..6a2f553d77b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -102,11 +103,21 @@ public Builder type(String type) { } public GetCloudwrapperPropertiesProperty build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.propertyName = Objects.requireNonNull($.propertyName, "expected parameter 'propertyName' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "groupId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "propertyId"); + } + if ($.propertyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "propertyName"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesPropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesPropertyArgs.java index 37d1a87ca7b..44e81891f16 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesPropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCloudwrapperPropertiesPropertyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -123,11 +124,21 @@ public Builder type(String type) { } public GetCloudwrapperPropertiesPropertyArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.propertyName = Objects.requireNonNull($.propertyName, "expected parameter 'propertyName' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesPropertyArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesPropertyArgs", "groupId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesPropertyArgs", "propertyId"); + } + if ($.propertyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesPropertyArgs", "propertyName"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesPropertyArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodeArgs.java index 4e530dfda59..f6627d93098 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder name(String name) { } public GetCpCodeArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "groupId"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodePlainArgs.java index a3fe83e017a..46a21449b8d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpCodePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder name(String name) { } public GetCpCodePlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "groupId"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrArgs.java index ea5ee4f0626..1ca796bac2f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCpsCsrArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsCsrArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrPlainArgs.java index d2c0ab5212a..c7de3228aee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsCsrPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCpsCsrPlainArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsCsrPlainArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsArgs.java index 8eff67d8436..59d70883308 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCpsDeploymentsArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsPlainArgs.java index 3b60746864b..e74afd08407 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetCpsDeploymentsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder enrollmentId(Integer enrollmentId) { } public GetCpsDeploymentsPlainArgs build() { - $.enrollmentId = Objects.requireNonNull($.enrollmentId, "expected parameter 'enrollmentId' to be non-null"); + if ($.enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsPlainArgs", "enrollmentId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryArgs.java index b0f7b012e59..8c374dfe438 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder streamId(Integer streamId) { } public GetDatastreamActivationHistoryArgs build() { - $.streamId = Objects.requireNonNull($.streamId, "expected parameter 'streamId' to be non-null"); + if ($.streamId == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryArgs", "streamId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryPlainArgs.java index f16b5baa393..0d115eda064 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDatastreamActivationHistoryPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder streamId(Integer streamId) { } public GetDatastreamActivationHistoryPlainArgs build() { - $.streamId = Objects.requireNonNull($.streamId, "expected parameter 'streamId' to be non-null"); + if ($.streamId == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryPlainArgs", "streamId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetArgs.java index 6b67546e71f..1454a582781 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder zone(String zone) { } public GetDnsRecordSetArgs build() { - $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); - $.recordType = Objects.requireNonNull($.recordType, "expected parameter 'recordType' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "host"); + } + if ($.recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "recordType"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetPlainArgs.java index 40a0601e836..b7f0c96f27e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetDnsRecordSetPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder zone(String zone) { } public GetDnsRecordSetPlainArgs build() { - $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); - $.recordType = Objects.requireNonNull($.recordType, "expected parameter 'recordType' to be non-null"); - $.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null"); + if ($.host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "host"); + } + if ($.recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "recordType"); + } + if ($.zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetPlainArgs", "zone"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationArgs.java index 4e452dd32ab..3709ad2d10a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder network(String network) { } public GetEdgeWorkerActivationArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationArgs", "edgeworkerId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationPlainArgs.java index 0c43a927bc7..d7c5afd2b1c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerActivationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder network(String network) { } public GetEdgeWorkerActivationPlainArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationPlainArgs", "edgeworkerId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationPlainArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerArgs.java index 216b0972d02..3329e2a58bf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder localBundle(String localBundle) { } public GetEdgeWorkerArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerArgs", "edgeworkerId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerPlainArgs.java index 5633d161913..c470e366f0a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkerPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder localBundle(@Nullable String localBundle) { } public GetEdgeWorkerPlainArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerPlainArgs", "edgeworkerId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesArgs.java index 93ef3794bd9..1cedb17bdc8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder edgeworkerId(Integer edgeworkerId) { } public GetEdgeWorkersPropertyRulesArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersPropertyRulesArgs", "edgeworkerId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesPlainArgs.java index c8e7134e026..c5f23935982 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersPropertyRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder edgeworkerId(Integer edgeworkerId) { } public GetEdgeWorkersPropertyRulesPlainArgs build() { - $.edgeworkerId = Objects.requireNonNull($.edgeworkerId, "expected parameter 'edgeworkerId' to be non-null"); + if ($.edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersPropertyRulesPlainArgs", "edgeworkerId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierArgs.java index a8b380bbff3..1bdd4f2cec9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder resourceTierName(String resourceTierName) { } public GetEdgeWorkersResourceTierArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.resourceTierName = Objects.requireNonNull($.resourceTierName, "expected parameter 'resourceTierName' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierArgs", "contractId"); + } + if ($.resourceTierName == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierArgs", "resourceTierName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierPlainArgs.java index b5e26210024..bcc7f764295 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgeWorkersResourceTierPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder resourceTierName(String resourceTierName) { } public GetEdgeWorkersResourceTierPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.resourceTierName = Objects.requireNonNull($.resourceTierName, "expected parameter 'resourceTierName' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierPlainArgs", "contractId"); + } + if ($.resourceTierName == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierPlainArgs", "resourceTierName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsArgs.java index 63957cc668a..3cbd857c4c4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder network(String network) { } public GetEdgekvGroupItemsArgs build() { - $.groupName = Objects.requireNonNull($.groupName, "expected parameter 'groupName' to be non-null"); - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.groupName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsArgs", "groupName"); + } + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsPlainArgs.java index ae6345a9829..724a61703e4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupItemsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder network(String network) { } public GetEdgekvGroupItemsPlainArgs build() { - $.groupName = Objects.requireNonNull($.groupName, "expected parameter 'groupName' to be non-null"); - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.groupName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsPlainArgs", "groupName"); + } + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsPlainArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsPlainArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsArgs.java index b17eaaeff94..69b22d075a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder network(String network) { } public GetEdgekvGroupsArgs build() { - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsPlainArgs.java index 134bfe589bd..987ba5d9851 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetEdgekvGroupsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder network(String network) { } public GetEdgekvGroupsPlainArgs build() { - $.namespaceName = Objects.requireNonNull($.namespaceName, "expected parameter 'namespaceName' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsPlainArgs", "namespaceName"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsPlainArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupArgs.java index 6aba7c8f1f6..1b1eb496c64 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder groupName(String groupName) { } public GetGroupArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupName = Objects.requireNonNull($.groupName, "expected parameter 'groupName' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetGroupArgs", "contractId"); + } + if ($.groupName == null) { + throw new MissingRequiredPropertyException("GetGroupArgs", "groupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupPlainArgs.java index 3940b43df0f..178b4529a8c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGroupPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder groupName(String groupName) { } public GetGroupPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupName = Objects.requireNonNull($.groupName, "expected parameter 'groupName' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetGroupPlainArgs", "contractId"); + } + if ($.groupName == null) { + throw new MissingRequiredPropertyException("GetGroupPlainArgs", "groupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterArgs.java index 62b91212376..df00b6437cc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder domain(String domain) { } public GetGtmDatacenterArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterArgs", "datacenterId"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterPlainArgs.java index 6867f495e63..ade17cb5bb0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacenterPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder domain(String domain) { } public GetGtmDatacenterPlainArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterPlainArgs", "datacenterId"); + } + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterPlainArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersArgs.java index 09400e1e929..9d228c7cca0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder domain(String domain) { } public GetGtmDatacentersArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersPlainArgs.java index 5d130f27a45..7babd18efd2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDatacentersPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder domain(String domain) { } public GetGtmDatacentersPlainArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersPlainArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterArgs.java index 5ec11507f6d..271a6cfb869 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder domain(String domain) { } public GetGtmDefaultDatacenterArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterPlainArgs.java index c4517f13115..6903e91ebd6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetGtmDefaultDatacenterPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder domain(String domain) { } public GetGtmDefaultDatacenterPlainArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterPlainArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesArgs.java index dd47edb480e..9646c0b2211 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder country(String country) { } public GetIamStatesArgs build() { - $.country = Objects.requireNonNull($.country, "expected parameter 'country' to be non-null"); + if ($.country == null) { + throw new MissingRequiredPropertyException("GetIamStatesArgs", "country"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesPlainArgs.java index ce0bd7cf93c..75758008980 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetIamStatesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder country(String country) { } public GetIamStatesPlainArgs build() { - $.country = Objects.requireNonNull($.country, "expected parameter 'country' to be non-null"); + if ($.country == null) { + throw new MissingRequiredPropertyException("GetIamStatesPlainArgs", "country"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImageArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImageArgs.java index f239be5e9ea..a08c7c10513 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImageArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImageArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder policy(GetImagingPolicyImagePolicyArgs policy) { } public GetImagingPolicyImageArgs build() { - $.policy = Objects.requireNonNull($.policy, "expected parameter 'policy' to be non-null"); + if ($.policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImageArgs", "policy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePlainArgs.java index e438e18b07c..394db94e0f8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicy; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder policy(GetImagingPolicyImagePolicy policy) { } public GetImagingPolicyImagePlainArgs build() { - $.policy = Objects.requireNonNull($.policy, "expected parameter 'policy' to be non-null"); + if ($.policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePlainArgs", "policy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java index 8298f4e5f48..ee056abc5ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -208,7 +209,9 @@ public Builder yPositionVar(@Nullable String yPositionVar) { } public GetImagingPolicyImagePolicyPostBreakpointTransformationComposite build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyPostBreakpointTransformationComposite", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs.java index 779f71021f3..a908abbfa72 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -261,7 +262,9 @@ public Builder yPositionVar(String yPositionVar) { } public GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeArgs", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppend.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppend.java index 4214adac8fb..b96fde16ee1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppend.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppend.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationAppendImage; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -130,7 +131,9 @@ public Builder preserveMinorDimensionVar(@Nullable String preserveMinorDimension } public GetImagingPolicyImagePolicyTransformationAppend build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationAppend", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppendArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppendArgs.java index df6c71e9c6f..cd01234c189 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppendArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationAppendArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationAppendImageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -159,7 +160,9 @@ public Builder preserveMinorDimensionVar(String preserveMinorDimensionVar) { } public GetImagingPolicyImagePolicyTransformationAppendArgs build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationAppendArgs", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationComposite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationComposite.java index d32ea0494be..33629dea78c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationComposite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationComposite.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationCompositeImage; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -208,7 +209,9 @@ public Builder yPositionVar(@Nullable String yPositionVar) { } public GetImagingPolicyImagePolicyTransformationComposite build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationComposite", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationCompositeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationCompositeArgs.java index 61621fc3e6c..c179c3e0c22 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationCompositeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationCompositeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationCompositeImageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -261,7 +262,9 @@ public Builder yPositionVar(String yPositionVar) { } public GetImagingPolicyImagePolicyTransformationCompositeArgs build() { - $.image = Objects.requireNonNull($.image, "expected parameter 'image' to be non-null"); + if ($.image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationCompositeArgs", "image"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQuery.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQuery.java index 5afde8c2199..e4139359136 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQuery.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQuery.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,8 +68,12 @@ public Builder queryVar(String queryVar) { } public GetImagingPolicyImagePolicyTransformationImQuery build() { - $.allowedTransformations = Objects.requireNonNull($.allowedTransformations, "expected parameter 'allowedTransformations' to be non-null"); - $.queryVar = Objects.requireNonNull($.queryVar, "expected parameter 'queryVar' to be non-null"); + if ($.allowedTransformations == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQuery", "allowedTransformations"); + } + if ($.queryVar == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQuery", "queryVar"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQueryArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQueryArgs.java index 5822e20fff4..bc1e7b412c9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQueryArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationImQueryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -76,8 +77,12 @@ public Builder queryVar(String queryVar) { } public GetImagingPolicyImagePolicyTransformationImQueryArgs build() { - $.allowedTransformations = Objects.requireNonNull($.allowedTransformations, "expected parameter 'allowedTransformations' to be non-null"); - $.queryVar = Objects.requireNonNull($.queryVar, "expected parameter 'queryVar' to be non-null"); + if ($.allowedTransformations == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQueryArgs", "allowedTransformations"); + } + if ($.queryVar == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQueryArgs", "queryVar"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java index b7adb0ccb18..b19a7671a1e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -156,7 +157,9 @@ public Builder widthVar(@Nullable String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop build() { - $.regionOfInterest = Objects.requireNonNull($.regionOfInterest, "expected parameter 'regionOfInterest' to be non-null"); + if ($.regionOfInterest == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop", "regionOfInterest"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs.java index 63302ebcc3a..3482be0af01 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -193,7 +194,9 @@ public Builder widthVar(String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs build() { - $.regionOfInterest = Objects.requireNonNull($.regionOfInterest, "expected parameter 'regionOfInterest' to be non-null"); + if ($.regionOfInterest == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropArgs", "regionOfInterest"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java index 8911d743e7e..49394a463e0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -78,7 +79,9 @@ public Builder radiusVar(@Nullable String radiusVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape build() { - $.center = Objects.requireNonNull($.center, "expected parameter 'center' to be non-null"); + if ($.center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape", "center"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs.java index 657f3afa7ff..e2aa459a05e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenterArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -91,7 +92,9 @@ public Builder radiusVar(String radiusVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs build() { - $.center = Objects.requireNonNull($.center, "expected parameter 'center' to be non-null"); + if ($.center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeArgs", "center"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java index ff7ac4f1ed4..e61b934c70a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape build() { - $.points = Objects.requireNonNull($.points, "expected parameter 'points' to be non-null"); + if ($.points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape", "points"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs.java index 748ba3ed02e..e9e366db66c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePointArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -59,7 +60,9 @@ public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs build() { - $.points = Objects.requireNonNull($.points, "expected parameter 'points' to be non-null"); + if ($.points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapeArgs", "points"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java index 5812c2b6944..30bf882aaf1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -104,7 +105,9 @@ public Builder widthVar(@Nullable String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape build() { - $.anchor = Objects.requireNonNull($.anchor, "expected parameter 'anchor' to be non-null"); + if ($.anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape", "anchor"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs.java index 3457e7c6226..e9542bddbf7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchorArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -125,7 +126,9 @@ public Builder widthVar(String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs build() { - $.anchor = Objects.requireNonNull($.anchor, "expected parameter 'anchor' to be non-null"); + if ($.anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeArgs", "anchor"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java index cdf0eaf2487..cc00cb8b0e3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape build() { - $.shapes = Objects.requireNonNull($.shapes, "expected parameter 'shapes' to be non-null"); + if ($.shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape", "shapes"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs.java index 9e7aef36c4a..6616ee62446 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -59,7 +60,9 @@ public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs build() { - $.shapes = Objects.requireNonNull($.shapes, "expected parameter 'shapes' to be non-null"); + if ($.shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeArgs", "shapes"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java index 41d2806d15e..486dd99d114 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -78,7 +79,9 @@ public Builder radiusVar(@Nullable String radiusVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape build() { - $.center = Objects.requireNonNull($.center, "expected parameter 'center' to be non-null"); + if ($.center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape", "center"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs.java index 9610ef2cdb7..d39128f9b0f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenterArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -91,7 +92,9 @@ public Builder radiusVar(String radiusVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs build() { - $.center = Objects.requireNonNull($.center, "expected parameter 'center' to be non-null"); + if ($.center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeArgs", "center"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java index 6c43b9d6a20..4dfabd4e06f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape build() { - $.points = Objects.requireNonNull($.points, "expected parameter 'points' to be non-null"); + if ($.points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape", "points"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs.java index c39e19b3a9b..23369f0a277 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePointArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -59,7 +60,9 @@ public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs build() { - $.points = Objects.requireNonNull($.points, "expected parameter 'points' to be non-null"); + if ($.points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapeArgs", "points"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java index a850ccdff82..e49efb38f68 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -104,7 +105,9 @@ public Builder widthVar(@Nullable String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape build() { - $.anchor = Objects.requireNonNull($.anchor, "expected parameter 'anchor' to be non-null"); + if ($.anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape", "anchor"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs.java index 2ae0bbbc421..5ad4f224b03 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchorArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -125,7 +126,9 @@ public Builder widthVar(String widthVar) { } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs build() { - $.anchor = Objects.requireNonNull($.anchor, "expected parameter 'anchor' to be non-null"); + if ($.anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeArgs", "anchor"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java index 81b2a877f5d..55e2cd9e7c4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeShape; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape build() { - $.shapes = Objects.requireNonNull($.shapes, "expected parameter 'shapes' to be non-null"); + if ($.shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape", "shapes"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs.java index 14c90672140..df9da7d1e92 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeShapeArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -59,7 +60,9 @@ public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestC } public GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs build() { - $.shapes = Objects.requireNonNull($.shapes, "expected parameter 'shapes' to be non-null"); + if ($.shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeArgs", "shapes"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariable.java index adc505bd5ea..52d28b7ea6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariable.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyVariableEnumOption; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -122,9 +123,15 @@ public Builder type(String type) { } public GetImagingPolicyImagePolicyVariable build() { - $.defaultValue = Objects.requireNonNull($.defaultValue, "expected parameter 'defaultValue' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "defaultValue"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableArgs.java index cd2227a0708..46679d04fa0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyImagePolicyVariableEnumOptionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -147,9 +148,15 @@ public Builder type(String type) { } public GetImagingPolicyImagePolicyVariableArgs build() { - $.defaultValue = Objects.requireNonNull($.defaultValue, "expected parameter 'defaultValue' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableArgs", "defaultValue"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableArgs", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOption.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOption.java index 6142b18bb82..e957d937920 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOption.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOption.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder value(String value) { } public GetImagingPolicyImagePolicyVariableEnumOption build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOption", "id"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOption", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOptionArgs.java index d9e505fdf6f..1c31913c92c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyImagePolicyVariableEnumOptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder value(String value) { } public GetImagingPolicyImagePolicyVariableEnumOptionArgs build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOptionArgs", "id"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOptionArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoArgs.java index a682e9fc131..1657df42ee2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyVideoPolicyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder policy(GetImagingPolicyVideoPolicyArgs policy) { } public GetImagingPolicyVideoArgs build() { - $.policy = Objects.requireNonNull($.policy, "expected parameter 'policy' to be non-null"); + if ($.policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoArgs", "policy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPlainArgs.java index 0124030ada9..7b5d5199275 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyVideoPolicy; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder policy(GetImagingPolicyVideoPolicy policy) { } public GetImagingPolicyVideoPlainArgs build() { - $.policy = Objects.requireNonNull($.policy, "expected parameter 'policy' to be non-null"); + if ($.policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPlainArgs", "policy"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariable.java index 5b712f3b19c..15957f7059d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariable.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyVideoPolicyVariableEnumOption; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -122,9 +123,15 @@ public Builder type(String type) { } public GetImagingPolicyVideoPolicyVariable build() { - $.defaultValue = Objects.requireNonNull($.defaultValue, "expected parameter 'defaultValue' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "defaultValue"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableArgs.java index f56f7c94c94..9b4dd61bc9e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetImagingPolicyVideoPolicyVariableEnumOptionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -147,9 +148,15 @@ public Builder type(String type) { } public GetImagingPolicyVideoPolicyVariableArgs build() { - $.defaultValue = Objects.requireNonNull($.defaultValue, "expected parameter 'defaultValue' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableArgs", "defaultValue"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableArgs", "name"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOption.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOption.java index 51563e80931..2060bbbd172 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOption.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOption.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder value(String value) { } public GetImagingPolicyVideoPolicyVariableEnumOption build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOption", "id"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOption", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOptionArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOptionArgs.java index 163282ad0d0..b22871935c4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOptionArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetImagingPolicyVideoPolicyVariableEnumOptionArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder value(String value) { } public GetImagingPolicyVideoPolicyVariableEnumOptionArgs build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOptionArgs", "id"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOptionArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesArgs.java index 3438938bdbe..83c54bd0df7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder groupId(String groupId) { } public GetPropertiesArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertiesArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertiesArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesPlainArgs.java index 71fd4fe5693..e695cba0459 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder groupId(String groupId) { } public GetPropertiesPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertiesPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertiesPlainArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchArgs.java index ddbd1b2930e..ec480e23e5d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder value(String value) { } public GetPropertiesSearchArgs build() { - $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.key == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchArgs", "key"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchPlainArgs.java index c170ef25e98..3a87b828844 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertiesSearchPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder value(String value) { } public GetPropertiesSearchPlainArgs build() { - $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.key == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchPlainArgs", "key"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchPlainArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationArgs.java index e4accbb0fc5..1b1305718ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder version(Integer version) { } public GetPropertyActivationArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationArgs", "propertyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationPlainArgs.java index 2e130617dfc..9b336bea109 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyActivationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder version(Integer version) { } public GetPropertyActivationPlainArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationPlainArgs", "propertyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationPlainArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyArgs.java index d690ee5db98..10d4431d5fd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder version(Integer version) { } public GetPropertyArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesArgs.java index b5d4b505b55..44dbbbc00b0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder propertyId(String propertyId) { } public GetPropertyHostnamesArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesArgs", "groupId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesPlainArgs.java index b0044726681..db848d3a1f9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyHostnamesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder propertyId(String propertyId) { } public GetPropertyHostnamesPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesPlainArgs", "groupId"); + } + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesPlainArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationArgs.java index 290122c9139..80d502e4d78 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -105,10 +106,18 @@ public Builder network(String network) { } public GetPropertyIncludeActivationArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationArgs", "includeId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationPlainArgs.java index b1f99c6ca97..fab0fde3f44 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeActivationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,10 +89,18 @@ public Builder network(String network) { } public GetPropertyIncludeActivationPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); - $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationPlainArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationPlainArgs", "includeId"); + } + if ($.network == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationPlainArgs", "network"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeArgs.java index 88478ba7690..6bbf724b4f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder includeId(String includeId) { } public GetPropertyIncludeArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeArgs", "includeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsArgs.java index 7c539dd13e3..e179d276cc0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder includeId(String includeId) { } public GetPropertyIncludeParentsArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsArgs", "includeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsPlainArgs.java index 4d0f1675bff..f7ecbf4706a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeParentsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder includeId(String includeId) { } public GetPropertyIncludeParentsPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsPlainArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsPlainArgs", "includeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludePlainArgs.java index c7101ed6adf..93ac08da350 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder includeId(String includeId) { } public GetPropertyIncludePlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludePlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludePlainArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludePlainArgs", "includeId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesArgs.java index a93b7e5d199..15160070766 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -106,10 +107,18 @@ public Builder version(Integer version) { } public GetPropertyIncludeRulesArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesArgs", "includeId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesPlainArgs.java index aaa907cd83d..83220bbfbb0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludeRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,10 +90,18 @@ public Builder version(Integer version) { } public GetPropertyIncludeRulesPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.includeId = Objects.requireNonNull($.includeId, "expected parameter 'includeId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesPlainArgs", "groupId"); + } + if ($.includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesPlainArgs", "includeId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesPlainArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesArgs.java index c50cd0efd62..6e7c691841a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GetPropertyIncludesParentPropertyArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -108,8 +109,12 @@ public Builder type(String type) { } public GetPropertyIncludesArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentProperty.java index d792fb85c16..b0fecba7033 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,8 +64,12 @@ public Builder version(Integer version) { } public GetPropertyIncludesParentProperty build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentProperty", "id"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentProperty", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentPropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentPropertyArgs.java index d98a9262948..6b32445247f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentPropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesParentPropertyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -72,8 +73,12 @@ public Builder version(Integer version) { } public GetPropertyIncludesParentPropertyArgs build() { - $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentPropertyArgs", "id"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentPropertyArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesPlainArgs.java index 9c7f39deb98..46cfe95f050 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyIncludesPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.inputs.GetPropertyIncludesParentProperty; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -91,8 +92,12 @@ public Builder type(@Nullable String type) { } public GetPropertyIncludesPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesPlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesPlainArgs", "groupId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyPlainArgs.java index b61d5fa0927..c80bcd4758f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder version(@Nullable Integer version) { } public GetPropertyPlainArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyPlainArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsArgs.java index 01861e8635e..95a4b26f840 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder contractId(String contractId) { } public GetPropertyProductsArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsArgs", "contractId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsPlainArgs.java index 389bc448230..41be9fb43b1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyProductsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder contractId(String contractId) { } public GetPropertyProductsPlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsPlainArgs", "contractId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesArgs.java index 78e1739178d..c3d7ad429d2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -125,7 +126,9 @@ public Builder version(Integer version) { } public GetPropertyRulesArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105.java index afb0982b045..f91646b19aa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230105CustomOverride; import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230105Variable; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -242,7 +243,9 @@ public Builder variables(GetPropertyRulesBuilderRulesV20230105Variable... variab } public GetPropertyRulesBuilderRulesV20230105 build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Args.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Args.java index da7b06c8240..f96841e95bc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Args.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Args.java @@ -9,6 +9,7 @@ import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230105VariableArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -299,7 +300,9 @@ public Builder variables(GetPropertyRulesBuilderRulesV20230105VariableArgs... va } public GetPropertyRulesBuilderRulesV20230105Args build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Args", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Variable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Variable.java index 02851e0c7f4..60e4d61c2b4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Variable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105Variable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -102,11 +103,21 @@ public Builder value(String value) { } public GetPropertyRulesBuilderRulesV20230105Variable build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.hidden = Objects.requireNonNull($.hidden, "expected parameter 'hidden' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.sensitive = Objects.requireNonNull($.sensitive, "expected parameter 'sensitive' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "description"); + } + if ($.hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "hidden"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "name"); + } + if ($.sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "sensitive"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105VariableArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105VariableArgs.java index 80b0364af60..035655057d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105VariableArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230105VariableArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -123,11 +124,21 @@ public Builder value(String value) { } public GetPropertyRulesBuilderRulesV20230105VariableArgs build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.hidden = Objects.requireNonNull($.hidden, "expected parameter 'hidden' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.sensitive = Objects.requireNonNull($.sensitive, "expected parameter 'sensitive' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105VariableArgs", "description"); + } + if ($.hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105VariableArgs", "hidden"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105VariableArgs", "name"); + } + if ($.sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105VariableArgs", "sensitive"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105VariableArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530.java index f008a824e27..3989044cec9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230530CustomOverride; import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230530Variable; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -242,7 +243,9 @@ public Builder variables(GetPropertyRulesBuilderRulesV20230530Variable... variab } public GetPropertyRulesBuilderRulesV20230530 build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Args.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Args.java index e47a89b1c4b..abc29c77bdd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Args.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Args.java @@ -9,6 +9,7 @@ import com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230530VariableArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -299,7 +300,9 @@ public Builder variables(GetPropertyRulesBuilderRulesV20230530VariableArgs... va } public GetPropertyRulesBuilderRulesV20230530Args build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Args", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Variable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Variable.java index 9b8527ed96b..9e2ce351e8c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Variable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530Variable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -102,11 +103,21 @@ public Builder value(String value) { } public GetPropertyRulesBuilderRulesV20230530Variable build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.hidden = Objects.requireNonNull($.hidden, "expected parameter 'hidden' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.sensitive = Objects.requireNonNull($.sensitive, "expected parameter 'sensitive' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "description"); + } + if ($.hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "hidden"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "name"); + } + if ($.sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "sensitive"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530VariableArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530VariableArgs.java index f761968656b..1b52baf901a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530VariableArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesBuilderRulesV20230530VariableArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -123,11 +124,21 @@ public Builder value(String value) { } public GetPropertyRulesBuilderRulesV20230530VariableArgs build() { - $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); - $.hidden = Objects.requireNonNull($.hidden, "expected parameter 'hidden' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.sensitive = Objects.requireNonNull($.sensitive, "expected parameter 'sensitive' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530VariableArgs", "description"); + } + if ($.hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530VariableArgs", "hidden"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530VariableArgs", "name"); + } + if ($.sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530VariableArgs", "sensitive"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530VariableArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesPlainArgs.java index 2c755be2961..d5986a7d525 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -104,7 +105,9 @@ public Builder version(@Nullable Integer version) { } public GetPropertyRulesPlainArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesPlainArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplate.java index dc4a5f3f3f9..aaa94429aec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplate.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder templateDir(String templateDir) { } public GetPropertyRulesTemplateTemplate build() { - $.templateData = Objects.requireNonNull($.templateData, "expected parameter 'templateData' to be non-null"); - $.templateDir = Objects.requireNonNull($.templateDir, "expected parameter 'templateDir' to be non-null"); + if ($.templateData == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplate", "templateData"); + } + if ($.templateDir == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplate", "templateDir"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplateArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplateArgs.java index 9ccedac1102..a9a9d7623fd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplateArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateTemplateArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder templateDir(String templateDir) { } public GetPropertyRulesTemplateTemplateArgs build() { - $.templateData = Objects.requireNonNull($.templateData, "expected parameter 'templateData' to be non-null"); - $.templateDir = Objects.requireNonNull($.templateDir, "expected parameter 'templateDir' to be non-null"); + if ($.templateData == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplateArgs", "templateData"); + } + if ($.templateDir == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplateArgs", "templateDir"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariable.java index 3e28e2f8b84..29fa59dde33 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -77,8 +78,12 @@ public Builder value(String value) { } public GetPropertyRulesTemplateVariable build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariable", "name"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariable", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariableArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariableArgs.java index c351b5fe52a..1a175fbe7c3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariableArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GetPropertyRulesTemplateVariableArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -90,8 +91,12 @@ public Builder value(String value) { } public GetPropertyRulesTemplateVariableArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariableArgs", "name"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariableArgs", "value"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapAssignmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapAssignmentArgs.java index 41618ad3616..4205ee24b57 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapAssignmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapAssignmentArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -94,9 +95,15 @@ public Builder nickname(String nickname) { } public GtmAsmapAssignmentArgs build() { - $.asNumbers = Objects.requireNonNull($.asNumbers, "expected parameter 'asNumbers' to be non-null"); - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); - $.nickname = Objects.requireNonNull($.nickname, "expected parameter 'nickname' to be non-null"); + if ($.asNumbers == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignmentArgs", "asNumbers"); + } + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignmentArgs", "datacenterId"); + } + if ($.nickname == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignmentArgs", "nickname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapDefaultDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapDefaultDatacenterArgs.java index f74ccb506b0..78591a86688 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapDefaultDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmAsmapDefaultDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder nickname(String nickname) { } public GtmAsmapDefaultDatacenterArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmAsmapDefaultDatacenterArgs", "datacenterId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapAssignmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapAssignmentArgs.java index c44f1c412c6..c1347020581 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapAssignmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapAssignmentArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -96,8 +97,12 @@ public Builder nickname(String nickname) { } public GtmCidrmapAssignmentArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); - $.nickname = Objects.requireNonNull($.nickname, "expected parameter 'nickname' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmCidrmapAssignmentArgs", "datacenterId"); + } + if ($.nickname == null) { + throw new MissingRequiredPropertyException("GtmCidrmapAssignmentArgs", "nickname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapDefaultDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapDefaultDatacenterArgs.java index 311ef1d1c68..7dcaa4db0f7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapDefaultDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmCidrmapDefaultDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder nickname(String nickname) { } public GtmCidrmapDefaultDatacenterArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmCidrmapDefaultDatacenterArgs", "datacenterId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapAssignmentArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapAssignmentArgs.java index 82d4c428d41..b2a790f4d99 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapAssignmentArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapAssignmentArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -96,8 +97,12 @@ public Builder nickname(String nickname) { } public GtmGeomapAssignmentArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); - $.nickname = Objects.requireNonNull($.nickname, "expected parameter 'nickname' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmGeomapAssignmentArgs", "datacenterId"); + } + if ($.nickname == null) { + throw new MissingRequiredPropertyException("GtmGeomapAssignmentArgs", "nickname"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapDefaultDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapDefaultDatacenterArgs.java index ad1f9370184..d9385e11c16 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapDefaultDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmGeomapDefaultDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder nickname(String nickname) { } public GtmGeomapDefaultDatacenterArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmGeomapDefaultDatacenterArgs", "datacenterId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmPropertyLivenessTestArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmPropertyLivenessTestArgs.java index dd81e0f49d6..2935271266e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmPropertyLivenessTestArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmPropertyLivenessTestArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.GtmPropertyLivenessTestHttpHeaderArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -456,10 +457,18 @@ public Builder timeoutPenalty(Double timeoutPenalty) { } public GtmPropertyLivenessTestArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.testInterval = Objects.requireNonNull($.testInterval, "expected parameter 'testInterval' to be non-null"); - $.testObjectProtocol = Objects.requireNonNull($.testObjectProtocol, "expected parameter 'testObjectProtocol' to be non-null"); - $.testTimeout = Objects.requireNonNull($.testTimeout, "expected parameter 'testTimeout' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTestArgs", "name"); + } + if ($.testInterval == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTestArgs", "testInterval"); + } + if ($.testObjectProtocol == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTestArgs", "testObjectProtocol"); + } + if ($.testTimeout == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTestArgs", "testTimeout"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmResourceResourceInstanceArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmResourceResourceInstanceArgs.java index 40c5385b85a..2209cc22fc6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmResourceResourceInstanceArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/GtmResourceResourceInstanceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -131,7 +132,9 @@ public Builder useDefaultLoadObject(Boolean useDefaultLoadObject) { } public GtmResourceResourceInstanceArgs build() { - $.datacenterId = Objects.requireNonNull($.datacenterId, "expected parameter 'datacenterId' to be non-null"); + if ($.datacenterId == null) { + throw new MissingRequiredPropertyException("GtmResourceResourceInstanceArgs", "datacenterId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/PropertyHostnameArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/PropertyHostnameArgs.java index d3ada66bbf4..7b2b57be785 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/PropertyHostnameArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/PropertyHostnameArgs.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.inputs.PropertyHostnameCertStatusArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -147,9 +148,15 @@ public Builder edgeHostnameId(String edgeHostnameId) { } public PropertyHostnameArgs build() { - $.certProvisioningType = Objects.requireNonNull($.certProvisioningType, "expected parameter 'certProvisioningType' to be non-null"); - $.cnameFrom = Objects.requireNonNull($.cnameFrom, "expected parameter 'cnameFrom' to be non-null"); - $.cnameTo = Objects.requireNonNull($.cnameTo, "expected parameter 'cnameTo' to be non-null"); + if ($.certProvisioningType == null) { + throw new MissingRequiredPropertyException("PropertyHostnameArgs", "certProvisioningType"); + } + if ($.cnameFrom == null) { + throw new MissingRequiredPropertyException("PropertyHostnameArgs", "cnameFrom"); + } + if ($.cnameTo == null) { + throw new MissingRequiredPropertyException("PropertyHostnameArgs", "cnameTo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ProviderConfigArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ProviderConfigArgs.java index d0fc6f4a3c7..a6b9c04cec2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ProviderConfigArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/inputs/ProviderConfigArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -142,10 +143,18 @@ public Builder maxBody(Integer maxBody) { } public ProviderConfigArgs build() { - $.accessToken = Objects.requireNonNull($.accessToken, "expected parameter 'accessToken' to be non-null"); - $.clientSecret = Objects.requireNonNull($.clientSecret, "expected parameter 'clientSecret' to be non-null"); - $.clientToken = Objects.requireNonNull($.clientToken, "expected parameter 'clientToken' to be non-null"); - $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); + if ($.accessToken == null) { + throw new MissingRequiredPropertyException("ProviderConfigArgs", "accessToken"); + } + if ($.clientSecret == null) { + throw new MissingRequiredPropertyException("ProviderConfigArgs", "clientSecret"); + } + if ($.clientToken == null) { + throw new MissingRequiredPropertyException("ProviderConfigArgs", "clientToken"); + } + if ($.host == null) { + throw new MissingRequiredPropertyException("ProviderConfigArgs", "host"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/ClientlistListItem.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/ClientlistListItem.java index 93ceeda2327..392affa45aa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/ClientlistListItem.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/ClientlistListItem.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,16 +56,19 @@ public Builder(ClientlistListItem defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder expirationDate(@Nullable String expirationDate) { + this.expirationDate = expirationDate; return this; } @CustomType.Setter public Builder tags(@Nullable List tags) { + this.tags = tags; return this; } @@ -73,7 +77,10 @@ public Builder tags(String... tags) { } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("ClientlistListItem", "value"); + } + this.value = value; return this; } public ClientlistListItem build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerDataCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerDataCenter.java index a76a4d58741..32388480a15 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerDataCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerDataCenter.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.String; @@ -105,41 +106,55 @@ public Builder(CloudletsApplicationLoadBalancerDataCenter defaults) { @CustomType.Setter public Builder city(@Nullable String city) { + this.city = city; return this; } @CustomType.Setter public Builder cloudServerHostHeaderOverride(@Nullable Boolean cloudServerHostHeaderOverride) { + this.cloudServerHostHeaderOverride = cloudServerHostHeaderOverride; return this; } @CustomType.Setter public Builder cloudService(@Nullable Boolean cloudService) { + this.cloudService = cloudService; return this; } @CustomType.Setter public Builder continent(String continent) { - this.continent = Objects.requireNonNull(continent); + if (continent == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "continent"); + } + this.continent = continent; return this; } @CustomType.Setter public Builder country(String country) { - this.country = Objects.requireNonNull(country); + if (country == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "country"); + } + this.country = country; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder latitude(Double latitude) { - this.latitude = Objects.requireNonNull(latitude); + if (latitude == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "latitude"); + } + this.latitude = latitude; return this; } @CustomType.Setter public Builder livenessHosts(@Nullable List livenessHosts) { + this.livenessHosts = livenessHosts; return this; } @@ -148,21 +163,31 @@ public Builder livenessHosts(String... livenessHosts) { } @CustomType.Setter public Builder longitude(Double longitude) { - this.longitude = Objects.requireNonNull(longitude); + if (longitude == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "longitude"); + } + this.longitude = longitude; return this; } @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder percent(Double percent) { - this.percent = Objects.requireNonNull(percent); + if (percent == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerDataCenter", "percent"); + } + this.percent = percent; return this; } @CustomType.Setter public Builder stateOrProvince(@Nullable String stateOrProvince) { + this.stateOrProvince = stateOrProvince; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerLivenessSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerLivenessSettings.java index ce0ea336916..d6767a2eea4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerLivenessSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudletsApplicationLoadBalancerLivenessSettings.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -112,66 +113,85 @@ public Builder(CloudletsApplicationLoadBalancerLivenessSettings defaults) { @CustomType.Setter public Builder additionalHeaders(@Nullable Map additionalHeaders) { + this.additionalHeaders = additionalHeaders; return this; } @CustomType.Setter public Builder hostHeader(@Nullable String hostHeader) { + this.hostHeader = hostHeader; return this; } @CustomType.Setter public Builder interval(@Nullable Integer interval) { + this.interval = interval; return this; } @CustomType.Setter public Builder path(String path) { - this.path = Objects.requireNonNull(path); + if (path == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettings", "path"); + } + this.path = path; return this; } @CustomType.Setter public Builder peerCertificateVerification(@Nullable Boolean peerCertificateVerification) { + this.peerCertificateVerification = peerCertificateVerification; return this; } @CustomType.Setter public Builder port(Integer port) { - this.port = Objects.requireNonNull(port); + if (port == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettings", "port"); + } + this.port = port; return this; } @CustomType.Setter public Builder protocol(String protocol) { - this.protocol = Objects.requireNonNull(protocol); + if (protocol == null) { + throw new MissingRequiredPropertyException("CloudletsApplicationLoadBalancerLivenessSettings", "protocol"); + } + this.protocol = protocol; return this; } @CustomType.Setter public Builder requestString(@Nullable String requestString) { + this.requestString = requestString; return this; } @CustomType.Setter public Builder responseString(@Nullable String responseString) { + this.responseString = responseString; return this; } @CustomType.Setter public Builder status3xxFailure(@Nullable Boolean status3xxFailure) { + this.status3xxFailure = status3xxFailure; return this; } @CustomType.Setter public Builder status4xxFailure(@Nullable Boolean status4xxFailure) { + this.status4xxFailure = status4xxFailure; return this; } @CustomType.Setter public Builder status5xxFailure(@Nullable Boolean status5xxFailure) { + this.status5xxFailure = status5xxFailure; return this; } @CustomType.Setter public Builder timeout(@Nullable Double timeout) { + this.timeout = timeout; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperActivationTimeouts.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperActivationTimeouts.java index 19c5dc8b4d2..8f32e1ad9f2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperActivationTimeouts.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperActivationTimeouts.java @@ -42,11 +42,13 @@ public Builder(CloudwrapperActivationTimeouts defaults) { @CustomType.Setter public Builder create(@Nullable String create) { + this.create = create; return this; } @CustomType.Setter public Builder update(@Nullable String update) { + this.update = update; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocation.java index 9f85e8a5e33..729f216e940 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.CloudwrapperConfigurationLocationCapacity; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -50,17 +51,24 @@ public Builder(CloudwrapperConfigurationLocation defaults) { @CustomType.Setter public Builder capacity(@Nullable CloudwrapperConfigurationLocationCapacity capacity) { + this.capacity = capacity; return this; } @CustomType.Setter public Builder comments(String comments) { - this.comments = Objects.requireNonNull(comments); + if (comments == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocation", "comments"); + } + this.comments = comments; return this; } @CustomType.Setter public Builder trafficTypeId(Integer trafficTypeId) { - this.trafficTypeId = Objects.requireNonNull(trafficTypeId); + if (trafficTypeId == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocation", "trafficTypeId"); + } + this.trafficTypeId = trafficTypeId; return this; } public CloudwrapperConfigurationLocation build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocationCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocationCapacity.java index 9d8418fcc77..6c13e04ca40 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocationCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationLocationCapacity.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(CloudwrapperConfigurationLocationCapacity defaults) { @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationCapacity", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("CloudwrapperConfigurationLocationCapacity", "value"); + } + this.value = value; return this; } public CloudwrapperConfigurationLocationCapacity build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationTimeouts.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationTimeouts.java index 90c3710b373..d5978e20bab 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationTimeouts.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CloudwrapperConfigurationTimeouts.java @@ -36,6 +36,7 @@ public Builder(CloudwrapperConfigurationTimeouts defaults) { @CustomType.Setter public Builder delete(@Nullable String delete) { + this.delete = delete; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentAdminContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentAdminContact.java index 875e7f80a7e..62e1d396e28 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentAdminContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentAdminContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(CpsDvEnrollmentAdminContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentAdminContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentCsr.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentCsr.java index 64f57f88f6e..7a9a89e91f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentCsr.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentCsr.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -66,32 +67,48 @@ public Builder(CpsDvEnrollmentCsr defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsr", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsr", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsr", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder organizationalUnit(String organizationalUnit) { - this.organizationalUnit = Objects.requireNonNull(organizationalUnit); + if (organizationalUnit == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsr", "organizationalUnit"); + } + this.organizationalUnit = organizationalUnit; return this; } @CustomType.Setter public Builder preferredTrustChain(@Nullable String preferredTrustChain) { + this.preferredTrustChain = preferredTrustChain; return this; } @CustomType.Setter public Builder state(String state) { - this.state = Objects.requireNonNull(state); + if (state == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentCsr", "state"); + } + this.state = state; return this; } public CpsDvEnrollmentCsr build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentDnsChallenge.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentDnsChallenge.java index 5379266b0f7..7c6f3adacb5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentDnsChallenge.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentDnsChallenge.java @@ -48,16 +48,19 @@ public Builder(CpsDvEnrollmentDnsChallenge defaults) { @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder fullPath(@Nullable String fullPath) { + this.fullPath = fullPath; return this; } @CustomType.Setter public Builder responseBody(@Nullable String responseBody) { + this.responseBody = responseBody; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentHttpChallenge.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentHttpChallenge.java index 0ebab0cdfc9..e5d6bf37f2f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentHttpChallenge.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentHttpChallenge.java @@ -48,16 +48,19 @@ public Builder(CpsDvEnrollmentHttpChallenge defaults) { @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder fullPath(@Nullable String fullPath) { + this.fullPath = fullPath; return this; } @CustomType.Setter public Builder responseBody(@Nullable String responseBody) { + this.responseBody = responseBody; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfiguration.java index bfa2a982124..021d1acd768 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfiguration.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -81,16 +82,19 @@ public Builder(CpsDvEnrollmentNetworkConfiguration defaults) { @CustomType.Setter public Builder clientMutualAuthentication(@Nullable CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication clientMutualAuthentication) { + this.clientMutualAuthentication = clientMutualAuthentication; return this; } @CustomType.Setter public Builder cloneDnsNames(@Nullable Boolean cloneDnsNames) { + this.cloneDnsNames = cloneDnsNames; return this; } @CustomType.Setter public Builder disallowedTlsVersions(@Nullable List disallowedTlsVersions) { + this.disallowedTlsVersions = disallowedTlsVersions; return this; } @@ -99,26 +103,33 @@ public Builder disallowedTlsVersions(String... disallowedTlsVersions) { } @CustomType.Setter public Builder geography(String geography) { - this.geography = Objects.requireNonNull(geography); + if (geography == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentNetworkConfiguration", "geography"); + } + this.geography = geography; return this; } @CustomType.Setter public Builder mustHaveCiphers(@Nullable String mustHaveCiphers) { + this.mustHaveCiphers = mustHaveCiphers; return this; } @CustomType.Setter public Builder ocspStapling(@Nullable String ocspStapling) { + this.ocspStapling = ocspStapling; return this; } @CustomType.Setter public Builder preferredCiphers(@Nullable String preferredCiphers) { + this.preferredCiphers = preferredCiphers; return this; } @CustomType.Setter public Builder quicEnabled(@Nullable Boolean quicEnabled) { + this.quicEnabled = quicEnabled; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication.java index b3060297ba9..2314bc32abe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication.java @@ -49,16 +49,19 @@ public Builder(CpsDvEnrollmentNetworkConfigurationClientMutualAuthentication def @CustomType.Setter public Builder ocspEnabled(@Nullable Boolean ocspEnabled) { + this.ocspEnabled = ocspEnabled; return this; } @CustomType.Setter public Builder sendCaListToClient(@Nullable Boolean sendCaListToClient) { + this.sendCaListToClient = sendCaListToClient; return this; } @CustomType.Setter public Builder setId(@Nullable String setId) { + this.setId = setId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentOrganization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentOrganization.java index 57270ea3380..4982a02db54 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentOrganization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentOrganization.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -78,42 +79,64 @@ public Builder(CpsDvEnrollmentOrganization defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentOrganization", "region"); + } + this.region = region; return this; } public CpsDvEnrollmentOrganization build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentTechContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentTechContact.java index 2dfd9dc7fa3..7e4225fcad9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentTechContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsDvEnrollmentTechContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(CpsDvEnrollmentTechContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsDvEnrollmentTechContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentAdminContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentAdminContact.java index c8fcbcaa3e5..abb49eab912 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentAdminContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentAdminContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(CpsThirdPartyEnrollmentAdminContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentAdminContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentCsr.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentCsr.java index 5bc003ccac1..3ea8bd1168a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentCsr.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentCsr.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -66,32 +67,48 @@ public Builder(CpsThirdPartyEnrollmentCsr defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsr", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsr", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsr", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder organizationalUnit(String organizationalUnit) { - this.organizationalUnit = Objects.requireNonNull(organizationalUnit); + if (organizationalUnit == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsr", "organizationalUnit"); + } + this.organizationalUnit = organizationalUnit; return this; } @CustomType.Setter public Builder preferredTrustChain(@Nullable String preferredTrustChain) { + this.preferredTrustChain = preferredTrustChain; return this; } @CustomType.Setter public Builder state(String state) { - this.state = Objects.requireNonNull(state); + if (state == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentCsr", "state"); + } + this.state = state; return this; } public CpsThirdPartyEnrollmentCsr build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfiguration.java index 28cb869e84b..44deada81bf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfiguration.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -81,16 +82,19 @@ public Builder(CpsThirdPartyEnrollmentNetworkConfiguration defaults) { @CustomType.Setter public Builder clientMutualAuthentication(@Nullable CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication clientMutualAuthentication) { + this.clientMutualAuthentication = clientMutualAuthentication; return this; } @CustomType.Setter public Builder cloneDnsNames(@Nullable Boolean cloneDnsNames) { + this.cloneDnsNames = cloneDnsNames; return this; } @CustomType.Setter public Builder disallowedTlsVersions(@Nullable List disallowedTlsVersions) { + this.disallowedTlsVersions = disallowedTlsVersions; return this; } @@ -99,26 +103,33 @@ public Builder disallowedTlsVersions(String... disallowedTlsVersions) { } @CustomType.Setter public Builder geography(String geography) { - this.geography = Objects.requireNonNull(geography); + if (geography == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentNetworkConfiguration", "geography"); + } + this.geography = geography; return this; } @CustomType.Setter public Builder mustHaveCiphers(@Nullable String mustHaveCiphers) { + this.mustHaveCiphers = mustHaveCiphers; return this; } @CustomType.Setter public Builder ocspStapling(@Nullable String ocspStapling) { + this.ocspStapling = ocspStapling; return this; } @CustomType.Setter public Builder preferredCiphers(@Nullable String preferredCiphers) { + this.preferredCiphers = preferredCiphers; return this; } @CustomType.Setter public Builder quicEnabled(@Nullable Boolean quicEnabled) { + this.quicEnabled = quicEnabled; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication.java index 08c851c06d3..94d15e3a675 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentication.java @@ -49,16 +49,19 @@ public Builder(CpsThirdPartyEnrollmentNetworkConfigurationClientMutualAuthentica @CustomType.Setter public Builder ocspEnabled(@Nullable Boolean ocspEnabled) { + this.ocspEnabled = ocspEnabled; return this; } @CustomType.Setter public Builder sendCaListToClient(@Nullable Boolean sendCaListToClient) { + this.sendCaListToClient = sendCaListToClient; return this; } @CustomType.Setter public Builder setId(@Nullable String setId) { + this.setId = setId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentOrganization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentOrganization.java index dbe81adb4a9..d9a53f18be5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentOrganization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentOrganization.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -78,42 +79,64 @@ public Builder(CpsThirdPartyEnrollmentOrganization defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentOrganization", "region"); + } + this.region = region; return this; } public CpsThirdPartyEnrollmentOrganization build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentTechContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentTechContact.java index 46bd08708f4..3978fecb373 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentTechContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/CpsThirdPartyEnrollmentTechContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(CpsThirdPartyEnrollmentTechContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("CpsThirdPartyEnrollmentTechContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamAzureConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamAzureConnector.java index 24c90ef9032..2a9e1eaedd9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamAzureConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamAzureConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -67,32 +68,48 @@ public Builder(DatastreamAzureConnector defaults) { @CustomType.Setter public Builder accessKey(String accessKey) { - this.accessKey = Objects.requireNonNull(accessKey); + if (accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnector", "accessKey"); + } + this.accessKey = accessKey; return this; } @CustomType.Setter public Builder accountName(String accountName) { - this.accountName = Objects.requireNonNull(accountName); + if (accountName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnector", "accountName"); + } + this.accountName = accountName; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder containerName(String containerName) { - this.containerName = Objects.requireNonNull(containerName); + if (containerName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnector", "containerName"); + } + this.containerName = containerName; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder path(String path) { - this.path = Objects.requireNonNull(path); + if (path == null) { + throw new MissingRequiredPropertyException("DatastreamAzureConnector", "path"); + } + this.path = path; return this; } public DatastreamAzureConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDatadogConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDatadogConnector.java index c580ddb1470..fc5817ee320 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDatadogConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDatadogConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -73,36 +74,49 @@ public Builder(DatastreamDatadogConnector defaults) { @CustomType.Setter public Builder authToken(String authToken) { - this.authToken = Objects.requireNonNull(authToken); + if (authToken == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnector", "authToken"); + } + this.authToken = authToken; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamDatadogConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } @CustomType.Setter public Builder service(@Nullable String service) { + this.service = service; return this; } @CustomType.Setter public Builder source(@Nullable String source) { + this.source = source; return this; } @CustomType.Setter public Builder tags(@Nullable String tags) { + this.tags = tags; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfiguration.java index 5d71c6933b7..5209ba3a8ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfiguration.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.DatastreamDeliveryConfigurationFrequency; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -61,26 +62,35 @@ public Builder(DatastreamDeliveryConfiguration defaults) { @CustomType.Setter public Builder fieldDelimiter(@Nullable String fieldDelimiter) { + this.fieldDelimiter = fieldDelimiter; return this; } @CustomType.Setter public Builder format(String format) { - this.format = Objects.requireNonNull(format); + if (format == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfiguration", "format"); + } + this.format = format; return this; } @CustomType.Setter public Builder frequency(DatastreamDeliveryConfigurationFrequency frequency) { - this.frequency = Objects.requireNonNull(frequency); + if (frequency == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfiguration", "frequency"); + } + this.frequency = frequency; return this; } @CustomType.Setter public Builder uploadFilePrefix(@Nullable String uploadFilePrefix) { + this.uploadFilePrefix = uploadFilePrefix; return this; } @CustomType.Setter public Builder uploadFileSuffix(@Nullable String uploadFileSuffix) { + this.uploadFileSuffix = uploadFileSuffix; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfigurationFrequency.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfigurationFrequency.java index 6b9251ffbdc..b4c5a0f789d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfigurationFrequency.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamDeliveryConfigurationFrequency.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(DatastreamDeliveryConfigurationFrequency defaults) { @CustomType.Setter public Builder intervalInSecs(Integer intervalInSecs) { - this.intervalInSecs = Objects.requireNonNull(intervalInSecs); + if (intervalInSecs == null) { + throw new MissingRequiredPropertyException("DatastreamDeliveryConfigurationFrequency", "intervalInSecs"); + } + this.intervalInSecs = intervalInSecs; return this; } public DatastreamDeliveryConfigurationFrequency build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamElasticsearchConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamElasticsearchConnector.java index 5aa75e3cd1f..e257d949ec5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamElasticsearchConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamElasticsearchConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -109,67 +110,90 @@ public Builder(DatastreamElasticsearchConnector defaults) { @CustomType.Setter public Builder caCert(@Nullable String caCert) { + this.caCert = caCert; return this; } @CustomType.Setter public Builder clientCert(@Nullable String clientCert) { + this.clientCert = clientCert; return this; } @CustomType.Setter public Builder clientKey(@Nullable String clientKey) { + this.clientKey = clientKey; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } @CustomType.Setter public Builder indexName(String indexName) { - this.indexName = Objects.requireNonNull(indexName); + if (indexName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnector", "indexName"); + } + this.indexName = indexName; return this; } @CustomType.Setter public Builder mTls(@Nullable Boolean mTls) { + this.mTls = mTls; return this; } @CustomType.Setter public Builder password(String password) { - this.password = Objects.requireNonNull(password); + if (password == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnector", "password"); + } + this.password = password; return this; } @CustomType.Setter public Builder tlsHostname(@Nullable String tlsHostname) { + this.tlsHostname = tlsHostname; return this; } @CustomType.Setter public Builder userName(String userName) { - this.userName = Objects.requireNonNull(userName); + if (userName == null) { + throw new MissingRequiredPropertyException("DatastreamElasticsearchConnector", "userName"); + } + this.userName = userName; return this; } public DatastreamElasticsearchConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamGcsConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamGcsConnector.java index 55a563fdc6b..d22a1384c76 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamGcsConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamGcsConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -73,37 +74,54 @@ public Builder(DatastreamGcsConnector defaults) { @CustomType.Setter public Builder bucket(String bucket) { - this.bucket = Objects.requireNonNull(bucket); + if (bucket == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnector", "bucket"); + } + this.bucket = bucket; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } @CustomType.Setter public Builder privateKey(String privateKey) { - this.privateKey = Objects.requireNonNull(privateKey); + if (privateKey == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnector", "privateKey"); + } + this.privateKey = privateKey; return this; } @CustomType.Setter public Builder projectId(String projectId) { - this.projectId = Objects.requireNonNull(projectId); + if (projectId == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnector", "projectId"); + } + this.projectId = projectId; return this; } @CustomType.Setter public Builder serviceAccountName(String serviceAccountName) { - this.serviceAccountName = Objects.requireNonNull(serviceAccountName); + if (serviceAccountName == null) { + throw new MissingRequiredPropertyException("DatastreamGcsConnector", "serviceAccountName"); + } + this.serviceAccountName = serviceAccountName; return this; } public DatastreamGcsConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamHttpsConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamHttpsConnector.java index 63edc3671b3..86855a63799 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamHttpsConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamHttpsConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -115,71 +116,91 @@ public Builder(DatastreamHttpsConnector defaults) { @CustomType.Setter public Builder authenticationType(String authenticationType) { - this.authenticationType = Objects.requireNonNull(authenticationType); + if (authenticationType == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnector", "authenticationType"); + } + this.authenticationType = authenticationType; return this; } @CustomType.Setter public Builder caCert(@Nullable String caCert) { + this.caCert = caCert; return this; } @CustomType.Setter public Builder clientCert(@Nullable String clientCert) { + this.clientCert = clientCert; return this; } @CustomType.Setter public Builder clientKey(@Nullable String clientKey) { + this.clientKey = clientKey; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamHttpsConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } @CustomType.Setter public Builder mTls(@Nullable Boolean mTls) { + this.mTls = mTls; return this; } @CustomType.Setter public Builder password(@Nullable String password) { + this.password = password; return this; } @CustomType.Setter public Builder tlsHostname(@Nullable String tlsHostname) { + this.tlsHostname = tlsHostname; return this; } @CustomType.Setter public Builder userName(@Nullable String userName) { + this.userName = userName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamLogglyConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamLogglyConnector.java index 7a0b975f2ac..e0679fc228d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamLogglyConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamLogglyConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -72,36 +73,49 @@ public Builder(DatastreamLogglyConnector defaults) { @CustomType.Setter public Builder authToken(String authToken) { - this.authToken = Objects.requireNonNull(authToken); + if (authToken == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnector", "authToken"); + } + this.authToken = authToken; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamLogglyConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } @CustomType.Setter public Builder tags(@Nullable String tags) { + this.tags = tags; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamNewRelicConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamNewRelicConnector.java index 538e25ee2fb..833480f9833 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamNewRelicConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamNewRelicConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -66,32 +67,44 @@ public Builder(DatastreamNewRelicConnector defaults) { @CustomType.Setter public Builder authToken(String authToken) { - this.authToken = Objects.requireNonNull(authToken); + if (authToken == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnector", "authToken"); + } + this.authToken = authToken; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamNewRelicConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } public DatastreamNewRelicConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamOracleConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamOracleConnector.java index d9f5b39d942..80d588374ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamOracleConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamOracleConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -79,42 +80,64 @@ public Builder(DatastreamOracleConnector defaults) { @CustomType.Setter public Builder accessKey(String accessKey) { - this.accessKey = Objects.requireNonNull(accessKey); + if (accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "accessKey"); + } + this.accessKey = accessKey; return this; } @CustomType.Setter public Builder bucket(String bucket) { - this.bucket = Objects.requireNonNull(bucket); + if (bucket == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "bucket"); + } + this.bucket = bucket; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder namespace(String namespace) { - this.namespace = Objects.requireNonNull(namespace); + if (namespace == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "namespace"); + } + this.namespace = namespace; return this; } @CustomType.Setter public Builder path(String path) { - this.path = Objects.requireNonNull(path); + if (path == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "path"); + } + this.path = path; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder secretAccessKey(String secretAccessKey) { - this.secretAccessKey = Objects.requireNonNull(secretAccessKey); + if (secretAccessKey == null) { + throw new MissingRequiredPropertyException("DatastreamOracleConnector", "secretAccessKey"); + } + this.secretAccessKey = secretAccessKey; return this; } public DatastreamOracleConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamS3Connector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamS3Connector.java index a53e82844f1..695355aa825 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamS3Connector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamS3Connector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -73,37 +74,56 @@ public Builder(DatastreamS3Connector defaults) { @CustomType.Setter public Builder accessKey(String accessKey) { - this.accessKey = Objects.requireNonNull(accessKey); + if (accessKey == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "accessKey"); + } + this.accessKey = accessKey; return this; } @CustomType.Setter public Builder bucket(String bucket) { - this.bucket = Objects.requireNonNull(bucket); + if (bucket == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "bucket"); + } + this.bucket = bucket; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder path(String path) { - this.path = Objects.requireNonNull(path); + if (path == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "path"); + } + this.path = path; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder secretAccessKey(String secretAccessKey) { - this.secretAccessKey = Objects.requireNonNull(secretAccessKey); + if (secretAccessKey == null) { + throw new MissingRequiredPropertyException("DatastreamS3Connector", "secretAccessKey"); + } + this.secretAccessKey = secretAccessKey; return this; } public DatastreamS3Connector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSplunkConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSplunkConnector.java index 5c47df64dc1..48e7eb17daa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSplunkConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSplunkConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -97,56 +98,73 @@ public Builder(DatastreamSplunkConnector defaults) { @CustomType.Setter public Builder caCert(@Nullable String caCert) { + this.caCert = caCert; return this; } @CustomType.Setter public Builder clientCert(@Nullable String clientCert) { + this.clientCert = clientCert; return this; } @CustomType.Setter public Builder clientKey(@Nullable String clientKey) { + this.clientKey = clientKey; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } @CustomType.Setter public Builder eventCollectorToken(String eventCollectorToken) { - this.eventCollectorToken = Objects.requireNonNull(eventCollectorToken); + if (eventCollectorToken == null) { + throw new MissingRequiredPropertyException("DatastreamSplunkConnector", "eventCollectorToken"); + } + this.eventCollectorToken = eventCollectorToken; return this; } @CustomType.Setter public Builder mTls(@Nullable Boolean mTls) { + this.mTls = mTls; return this; } @CustomType.Setter public Builder tlsHostname(@Nullable String tlsHostname) { + this.tlsHostname = tlsHostname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSumologicConnector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSumologicConnector.java index 605fd18e994..9693429bd7b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSumologicConnector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DatastreamSumologicConnector.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -73,37 +74,50 @@ public Builder(DatastreamSumologicConnector defaults) { @CustomType.Setter public Builder collectorCode(String collectorCode) { - this.collectorCode = Objects.requireNonNull(collectorCode); + if (collectorCode == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnector", "collectorCode"); + } + this.collectorCode = collectorCode; return this; } @CustomType.Setter public Builder compressLogs(@Nullable Boolean compressLogs) { + this.compressLogs = compressLogs; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder customHeaderValue(@Nullable String customHeaderValue) { + this.customHeaderValue = customHeaderValue; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnector", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder endpoint(String endpoint) { - this.endpoint = Objects.requireNonNull(endpoint); + if (endpoint == null) { + throw new MissingRequiredPropertyException("DatastreamSumologicConnector", "endpoint"); + } + this.endpoint = endpoint; return this; } public DatastreamSumologicConnector build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DnsZoneTsigKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DnsZoneTsigKey.java index 5f39841b663..10ac2026747 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DnsZoneTsigKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/DnsZoneTsigKey.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -46,17 +47,26 @@ public Builder(DnsZoneTsigKey defaults) { @CustomType.Setter public Builder algorithm(String algorithm) { - this.algorithm = Objects.requireNonNull(algorithm); + if (algorithm == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKey", "algorithm"); + } + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKey", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder secret(String secret) { - this.secret = Objects.requireNonNull(secret); + if (secret == null) { + throw new MissingRequiredPropertyException("DnsZoneTsigKey", "secret"); + } + this.secret = secret; return this; } public DnsZoneTsigKey build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/EdgeKvInitialData.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/EdgeKvInitialData.java index e9a8b181d85..24a24f962a4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/EdgeKvInitialData.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/EdgeKvInitialData.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -48,17 +49,24 @@ public Builder(EdgeKvInitialData defaults) { @CustomType.Setter public Builder group(@Nullable String group) { + this.group = group; return this; } @CustomType.Setter public Builder key(String key) { - this.key = Objects.requireNonNull(key); + if (key == null) { + throw new MissingRequiredPropertyException("EdgeKvInitialData", "key"); + } + this.key = key; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("EdgeKvInitialData", "value"); + } + this.value = value; return this; } public EdgeKvInitialData build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsEvasivePathMatchResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsEvasivePathMatchResult.java index 6658f97b990..348246d2102 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsEvasivePathMatchResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsEvasivePathMatchResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppSecAdvancedSettingsEvasivePathMatchResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsEvasivePathMatchResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsLoggingResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsLoggingResult.java index c0e2fc29b4c..258aeee55a1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsLoggingResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsLoggingResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppSecAdvancedSettingsLoggingResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsLoggingResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPragmaHeaderResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPragmaHeaderResult.java index dfc2190e430..492d6f23ba3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPragmaHeaderResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPragmaHeaderResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppSecAdvancedSettingsPragmaHeaderResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPragmaHeaderResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPrefetchResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPrefetchResult.java index db8c38c1d55..9f7dae03c73 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPrefetchResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAdvancedSettingsPrefetchResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppSecAdvancedSettingsPrefetchResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecAdvancedSettingsPrefetchResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecAdvancedSettingsPrefetchResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiEndpointsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiEndpointsResult.java index e34f5865e74..892a505d93c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiEndpointsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiEndpointsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -82,22 +83,32 @@ public Builder(GetAppSecApiEndpointsResult defaults) { @CustomType.Setter public Builder apiName(@Nullable String apiName) { + this.apiName = apiName; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder idLists(List idLists) { - this.idLists = Objects.requireNonNull(idLists); + if (idLists == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsResult", "idLists"); + } + this.idLists = idLists; return this; } public Builder idLists(Integer... idLists) { @@ -105,16 +116,23 @@ public Builder idLists(Integer... idLists) { } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecApiEndpointsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiRequestConstraintsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiRequestConstraintsResult.java index de41f84facc..82c44425bc0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiRequestConstraintsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecApiRequestConstraintsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -75,32 +76,48 @@ public Builder(GetAppSecApiRequestConstraintsResult defaults) { @CustomType.Setter public Builder apiId(@Nullable Integer apiId) { + this.apiId = apiId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecApiRequestConstraintsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecApiRequestConstraintsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAttackGroupsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAttackGroupsResult.java index a0f3aefdc3b..a1baf0a03e9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAttackGroupsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecAttackGroupsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetAppSecAttackGroupsResult defaults) { @CustomType.Setter public Builder attackGroup(@Nullable String attackGroup) { + this.attackGroup = attackGroup; return this; } @CustomType.Setter public Builder attackGroupAction(String attackGroupAction) { - this.attackGroupAction = Objects.requireNonNull(attackGroupAction); + if (attackGroupAction == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "attackGroupAction"); + } + this.attackGroupAction = attackGroupAction; return this; } @CustomType.Setter public Builder conditionException(String conditionException) { - this.conditionException = Objects.requireNonNull(conditionException); + if (conditionException == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "conditionException"); + } + this.conditionException = conditionException; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecAttackGroupsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecAttackGroupsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecBypassNetworkListsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecBypassNetworkListsResult.java index cb3ad5de19b..0c0960dd337 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecBypassNetworkListsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecBypassNetworkListsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -74,7 +75,10 @@ public Builder(GetAppSecBypassNetworkListsResult defaults) { @CustomType.Setter public Builder bypassNetworkLists(List bypassNetworkLists) { - this.bypassNetworkLists = Objects.requireNonNull(bypassNetworkLists); + if (bypassNetworkLists == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "bypassNetworkLists"); + } + this.bypassNetworkLists = bypassNetworkLists; return this; } public Builder bypassNetworkLists(String... bypassNetworkLists) { @@ -82,27 +86,42 @@ public Builder bypassNetworkLists(String... bypassNetworkLists) { } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecBypassNetworkListsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecBypassNetworkListsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationResult.java index 9ce2f212935..73d7404803d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -81,37 +82,56 @@ public Builder(GetAppSecConfigurationResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder productionVersion(Integer productionVersion) { - this.productionVersion = Objects.requireNonNull(productionVersion); + if (productionVersion == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "productionVersion"); + } + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingVersion(Integer stagingVersion) { - this.stagingVersion = Objects.requireNonNull(stagingVersion); + if (stagingVersion == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationResult", "stagingVersion"); + } + this.stagingVersion = stagingVersion; return this; } public GetAppSecConfigurationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationVersionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationVersionResult.java index 7160ad07142..e9e3e9a32c5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationVersionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecConfigurationVersionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -81,36 +82,55 @@ public Builder(GetAppSecConfigurationVersionResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder productionStatus(String productionStatus) { - this.productionStatus = Objects.requireNonNull(productionStatus); + if (productionStatus == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "productionStatus"); + } + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder stagingStatus(String stagingStatus) { - this.stagingStatus = Objects.requireNonNull(stagingStatus); + if (stagingStatus == null) { + throw new MissingRequiredPropertyException("GetAppSecConfigurationVersionResult", "stagingStatus"); + } + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecContractsGroupsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecContractsGroupsResult.java index 344af058c39..7cd5f59f8d3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecContractsGroupsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecContractsGroupsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -81,37 +82,54 @@ public Builder(GetAppSecContractsGroupsResult defaults) { @CustomType.Setter public Builder contractid(@Nullable String contractid) { + this.contractid = contractid; return this; } @CustomType.Setter public Builder defaultContractid(String defaultContractid) { - this.defaultContractid = Objects.requireNonNull(defaultContractid); + if (defaultContractid == null) { + throw new MissingRequiredPropertyException("GetAppSecContractsGroupsResult", "defaultContractid"); + } + this.defaultContractid = defaultContractid; return this; } @CustomType.Setter public Builder defaultGroupid(Integer defaultGroupid) { - this.defaultGroupid = Objects.requireNonNull(defaultGroupid); + if (defaultGroupid == null) { + throw new MissingRequiredPropertyException("GetAppSecContractsGroupsResult", "defaultGroupid"); + } + this.defaultGroupid = defaultGroupid; return this; } @CustomType.Setter public Builder groupid(@Nullable Integer groupid) { + this.groupid = groupid; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecContractsGroupsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecContractsGroupsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecContractsGroupsResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecContractsGroupsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomDenyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomDenyResult.java index 2cf777dd3fd..76d345b1eb1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomDenyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomDenyResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecCustomDenyResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder customDenyId(@Nullable String customDenyId) { + this.customDenyId = customDenyId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomDenyResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecCustomDenyResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRuleActionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRuleActionsResult.java index 393b5d6c26d..9939aef2e11 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRuleActionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRuleActionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecCustomRuleActionsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder customRuleId(@Nullable Integer customRuleId) { + this.customRuleId = customRuleId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRuleActionsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecCustomRuleActionsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRulesResult.java index 93a2591399b..52dcaac87b0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecCustomRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecCustomRulesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder customRuleId(@Nullable Integer customRuleId) { + this.customRuleId = customRuleId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecCustomRulesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecCustomRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalGroupsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalGroupsResult.java index b15a903e4b4..7253cf39a81 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalGroupsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalGroupsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetAppSecEvalGroupsResult defaults) { @CustomType.Setter public Builder attackGroup(@Nullable String attackGroup) { + this.attackGroup = attackGroup; return this; } @CustomType.Setter public Builder attackGroupAction(String attackGroupAction) { - this.attackGroupAction = Objects.requireNonNull(attackGroupAction); + if (attackGroupAction == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "attackGroupAction"); + } + this.attackGroupAction = attackGroupAction; return this; } @CustomType.Setter public Builder conditionException(String conditionException) { - this.conditionException = Objects.requireNonNull(conditionException); + if (conditionException == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "conditionException"); + } + this.conditionException = conditionException; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalGroupsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecEvalGroupsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalPenaltyBoxResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalPenaltyBoxResult.java index 0fb561383f0..a7d4be5eea6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalPenaltyBoxResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalPenaltyBoxResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -74,32 +75,50 @@ public Builder(GetAppSecEvalPenaltyBoxResult defaults) { @CustomType.Setter public Builder action(String action) { - this.action = Objects.requireNonNull(action); + if (action == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "action"); + } + this.action = action; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalPenaltyBoxResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecEvalPenaltyBoxResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalResult.java index ec2b71b33d4..53286094f50 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppSecEvalResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecEvalResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalRulesResult.java index 7ba34168839..196ba968184 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecEvalRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetAppSecEvalRulesResult defaults) { @CustomType.Setter public Builder conditionException(String conditionException) { - this.conditionException = Objects.requireNonNull(conditionException); + if (conditionException == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "conditionException"); + } + this.conditionException = conditionException; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder evalRuleAction(String evalRuleAction) { - this.evalRuleAction = Objects.requireNonNull(evalRuleAction); + if (evalRuleAction == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "evalRuleAction"); + } + this.evalRuleAction = evalRuleAction; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder ruleId(@Nullable Integer ruleId) { + this.ruleId = ruleId; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecEvalRulesResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecEvalRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecExportConfigurationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecExportConfigurationResult.java index a4a3bba78d0..b8076a1e9a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecExportConfigurationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecExportConfigurationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -75,26 +76,39 @@ public Builder(GetAppSecExportConfigurationResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder searches(@Nullable List searches) { + this.searches = searches; return this; } @@ -103,7 +117,10 @@ public Builder searches(String... searches) { } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetAppSecExportConfigurationResult", "version"); + } + this.version = version; return this; } public GetAppSecExportConfigurationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecFailoverHostnamesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecFailoverHostnamesResult.java index 746b7d5769c..15a0f8b3f28 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecFailoverHostnamesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecFailoverHostnamesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -68,12 +69,18 @@ public Builder(GetAppSecFailoverHostnamesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder hostnames(List hostnames) { - this.hostnames = Objects.requireNonNull(hostnames); + if (hostnames == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesResult", "hostnames"); + } + this.hostnames = hostnames; return this; } public Builder hostnames(String... hostnames) { @@ -81,17 +88,26 @@ public Builder hostnames(String... hostnames) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecFailoverHostnamesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecFailoverHostnamesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageMatchTargetsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageMatchTargetsResult.java index 22ef1282833..92d170a5a3b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageMatchTargetsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageMatchTargetsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetAppSecHostnameCoverageMatchTargetsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsResult", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageMatchTargetsResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecHostnameCoverageMatchTargetsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageOverlappingResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageOverlappingResult.java index 51dc6f2cc61..cd94cd49b4b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageOverlappingResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageOverlappingResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetAppSecHostnameCoverageOverlappingResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingResult", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageOverlappingResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecHostnameCoverageOverlappingResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageResult.java index 63043d5b3e6..cf3f98aa796 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecHostnameCoverageResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,17 +55,26 @@ public Builder(GetAppSecHostnameCoverageResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecHostnameCoverageResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecHostnameCoverageResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecIPGeoResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecIPGeoResult.java index e4a8b9b3f62..13d0677cc85 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecIPGeoResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecIPGeoResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -92,12 +93,18 @@ public Builder(GetAppSecIPGeoResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder exceptionIpNetworkLists(List exceptionIpNetworkLists) { - this.exceptionIpNetworkLists = Objects.requireNonNull(exceptionIpNetworkLists); + if (exceptionIpNetworkLists == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "exceptionIpNetworkLists"); + } + this.exceptionIpNetworkLists = exceptionIpNetworkLists; return this; } public Builder exceptionIpNetworkLists(String... exceptionIpNetworkLists) { @@ -105,7 +112,10 @@ public Builder exceptionIpNetworkLists(String... exceptionIpNetworkLists) { } @CustomType.Setter public Builder geoNetworkLists(List geoNetworkLists) { - this.geoNetworkLists = Objects.requireNonNull(geoNetworkLists); + if (geoNetworkLists == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "geoNetworkLists"); + } + this.geoNetworkLists = geoNetworkLists; return this; } public Builder geoNetworkLists(String... geoNetworkLists) { @@ -113,12 +123,18 @@ public Builder geoNetworkLists(String... geoNetworkLists) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder ipNetworkLists(List ipNetworkLists) { - this.ipNetworkLists = Objects.requireNonNull(ipNetworkLists); + if (ipNetworkLists == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "ipNetworkLists"); + } + this.ipNetworkLists = ipNetworkLists; return this; } public Builder ipNetworkLists(String... ipNetworkLists) { @@ -126,22 +142,34 @@ public Builder ipNetworkLists(String... ipNetworkLists) { } @CustomType.Setter public Builder mode(String mode) { - this.mode = Objects.requireNonNull(mode); + if (mode == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "mode"); + } + this.mode = mode; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } @CustomType.Setter public Builder ukraineGeoControlAction(String ukraineGeoControlAction) { - this.ukraineGeoControlAction = Objects.requireNonNull(ukraineGeoControlAction); + if (ukraineGeoControlAction == null) { + throw new MissingRequiredPropertyException("GetAppSecIPGeoResult", "ukraineGeoControlAction"); + } + this.ukraineGeoControlAction = ukraineGeoControlAction; return this; } public GetAppSecIPGeoResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwareContentTypesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwareContentTypesResult.java index 7edb89bad94..464821f75ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwareContentTypesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwareContentTypesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppSecMalwareContentTypesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwareContentTypesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecMalwareContentTypesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePoliciesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePoliciesResult.java index 3a24e82bcd1..a48557be72b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePoliciesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePoliciesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecMalwarePoliciesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder malwarePolicyId(@Nullable Integer malwarePolicyId) { + this.malwarePolicyId = malwarePolicyId; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePoliciesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecMalwarePoliciesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePolicyActionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePolicyActionsResult.java index d7fb2273f03..8a3b7f6b9b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePolicyActionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMalwarePolicyActionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecMalwarePolicyActionsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder malwarePolicyId(@Nullable Integer malwarePolicyId) { + this.malwarePolicyId = malwarePolicyId; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecMalwarePolicyActionsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecMalwarePolicyActionsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMatchTargetsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMatchTargetsResult.java index fc835a900d8..6971d0f290e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMatchTargetsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecMatchTargetsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecMatchTargetsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchTargetId(@Nullable Integer matchTargetId) { + this.matchTargetId = matchTargetId; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecMatchTargetsResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecMatchTargetsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecPenaltyBoxResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecPenaltyBoxResult.java index df76edd31f8..bcd470c0cb3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecPenaltyBoxResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecPenaltyBoxResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -74,32 +75,50 @@ public Builder(GetAppSecPenaltyBoxResult defaults) { @CustomType.Setter public Builder action(String action) { - this.action = Objects.requireNonNull(action); + if (action == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "action"); + } + this.action = action; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecPenaltyBoxResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecPenaltyBoxResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePoliciesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePoliciesResult.java index 5e5aec0b22b..f37bc012459 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePoliciesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePoliciesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppSecRatePoliciesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePoliciesResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder ratePolicyId(@Nullable Integer ratePolicyId) { + this.ratePolicyId = ratePolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePolicyActionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePolicyActionsResult.java index 08568b8e754..6c0573e4a08 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePolicyActionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRatePolicyActionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetAppSecRatePolicyActionsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder ratePolicyId(@Nullable Integer ratePolicyId) { + this.ratePolicyId = ratePolicyId; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRatePolicyActionsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecRatePolicyActionsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileActionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileActionsResult.java index 6357bdfe663..153e8917255 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileActionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileActionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -81,37 +82,56 @@ public Builder(GetAppSecReputationProfileActionsResult defaults) { @CustomType.Setter public Builder action(String action) { - this.action = Objects.requireNonNull(action); + if (action == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "action"); + } + this.action = action; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder reputationProfileId(@Nullable Integer reputationProfileId) { + this.reputationProfileId = reputationProfileId; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileActionsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecReputationProfileActionsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileAnalysisResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileAnalysisResult.java index 4fbc80cf024..f3cb3022a62 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileAnalysisResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfileAnalysisResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetAppSecReputationProfileAnalysisResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfileAnalysisResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecReputationProfileAnalysisResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfilesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfilesResult.java index 84b1ea16ad8..9f0b8d3fd0b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfilesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecReputationProfilesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppSecReputationProfilesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecReputationProfilesResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder reputationProfileId(@Nullable Integer reputationProfileId) { + this.reputationProfileId = reputationProfileId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRuleUpgradeDetailsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRuleUpgradeDetailsResult.java index c6ecef9bb5f..9d074431359 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRuleUpgradeDetailsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRuleUpgradeDetailsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetAppSecRuleUpgradeDetailsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRuleUpgradeDetailsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecRuleUpgradeDetailsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRulesResult.java index 11f88b2c038..7166ae2ef20 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetAppSecRulesResult defaults) { @CustomType.Setter public Builder conditionException(String conditionException) { - this.conditionException = Objects.requireNonNull(conditionException); + if (conditionException == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "conditionException"); + } + this.conditionException = conditionException; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder ruleAction(String ruleAction) { - this.ruleAction = Objects.requireNonNull(ruleAction); + if (ruleAction == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "ruleAction"); + } + this.ruleAction = ruleAction; return this; } @CustomType.Setter public Builder ruleId(@Nullable Integer ruleId) { + this.ruleId = ruleId; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecRulesResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyProtectionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyProtectionsResult.java index 7dca6624c52..3ae04c3f261 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyProtectionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyProtectionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -116,67 +117,106 @@ public Builder(GetAppSecSecurityPolicyProtectionsResult defaults) { @CustomType.Setter public Builder applyApiConstraints(Boolean applyApiConstraints) { - this.applyApiConstraints = Objects.requireNonNull(applyApiConstraints); + if (applyApiConstraints == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyApiConstraints"); + } + this.applyApiConstraints = applyApiConstraints; return this; } @CustomType.Setter public Builder applyApplicationLayerControls(Boolean applyApplicationLayerControls) { - this.applyApplicationLayerControls = Objects.requireNonNull(applyApplicationLayerControls); + if (applyApplicationLayerControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyApplicationLayerControls"); + } + this.applyApplicationLayerControls = applyApplicationLayerControls; return this; } @CustomType.Setter public Builder applyBotmanControls(Boolean applyBotmanControls) { - this.applyBotmanControls = Objects.requireNonNull(applyBotmanControls); + if (applyBotmanControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyBotmanControls"); + } + this.applyBotmanControls = applyBotmanControls; return this; } @CustomType.Setter public Builder applyMalwareControls(Boolean applyMalwareControls) { - this.applyMalwareControls = Objects.requireNonNull(applyMalwareControls); + if (applyMalwareControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyMalwareControls"); + } + this.applyMalwareControls = applyMalwareControls; return this; } @CustomType.Setter public Builder applyNetworkLayerControls(Boolean applyNetworkLayerControls) { - this.applyNetworkLayerControls = Objects.requireNonNull(applyNetworkLayerControls); + if (applyNetworkLayerControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyNetworkLayerControls"); + } + this.applyNetworkLayerControls = applyNetworkLayerControls; return this; } @CustomType.Setter public Builder applyRateControls(Boolean applyRateControls) { - this.applyRateControls = Objects.requireNonNull(applyRateControls); + if (applyRateControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyRateControls"); + } + this.applyRateControls = applyRateControls; return this; } @CustomType.Setter public Builder applyReputationControls(Boolean applyReputationControls) { - this.applyReputationControls = Objects.requireNonNull(applyReputationControls); + if (applyReputationControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applyReputationControls"); + } + this.applyReputationControls = applyReputationControls; return this; } @CustomType.Setter public Builder applySlowPostControls(Boolean applySlowPostControls) { - this.applySlowPostControls = Objects.requireNonNull(applySlowPostControls); + if (applySlowPostControls == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "applySlowPostControls"); + } + this.applySlowPostControls = applySlowPostControls; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyProtectionsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecSecurityPolicyProtectionsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyResult.java index 30e95a1e392..ea6a1bdc466 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSecurityPolicyResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -82,32 +83,50 @@ public Builder(GetAppSecSecurityPolicyResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } @CustomType.Setter public Builder securityPolicyIdLists(List securityPolicyIdLists) { - this.securityPolicyIdLists = Objects.requireNonNull(securityPolicyIdLists); + if (securityPolicyIdLists == null) { + throw new MissingRequiredPropertyException("GetAppSecSecurityPolicyResult", "securityPolicyIdLists"); + } + this.securityPolicyIdLists = securityPolicyIdLists; return this; } public Builder securityPolicyIdLists(String... securityPolicyIdLists) { @@ -115,6 +134,7 @@ public Builder securityPolicyIdLists(String... securityPolicyIdLists) { } @CustomType.Setter public Builder securityPolicyName(@Nullable String securityPolicyName) { + this.securityPolicyName = securityPolicyName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectableHostnamesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectableHostnamesResult.java index a26c25ad9e5..125526e956a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectableHostnamesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectableHostnamesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -95,32 +96,40 @@ public Builder(GetAppSecSelectableHostnamesResult defaults) { @CustomType.Setter public Builder activeInProduction(@Nullable Boolean activeInProduction) { + this.activeInProduction = activeInProduction; return this; } @CustomType.Setter public Builder activeInStaging(@Nullable Boolean activeInStaging) { + this.activeInStaging = activeInStaging; return this; } @CustomType.Setter public Builder configId(@Nullable Integer configId) { + this.configId = configId; return this; } @CustomType.Setter public Builder contractid(@Nullable String contractid) { + this.contractid = contractid; return this; } @CustomType.Setter public Builder groupid(@Nullable Integer groupid) { + this.groupid = groupid; return this; } @CustomType.Setter public Builder hostnames(List hostnames) { - this.hostnames = Objects.requireNonNull(hostnames); + if (hostnames == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectableHostnamesResult", "hostnames"); + } + this.hostnames = hostnames; return this; } public Builder hostnames(String... hostnames) { @@ -128,17 +137,26 @@ public Builder hostnames(String... hostnames) { } @CustomType.Setter public Builder hostnamesJson(String hostnamesJson) { - this.hostnamesJson = Objects.requireNonNull(hostnamesJson); + if (hostnamesJson == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectableHostnamesResult", "hostnamesJson"); + } + this.hostnamesJson = hostnamesJson; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectableHostnamesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectableHostnamesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecSelectableHostnamesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectedHostnamesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectedHostnamesResult.java index 1e3ea096fbb..335b5d4c6da 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectedHostnamesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSelectedHostnamesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -68,12 +69,18 @@ public Builder(GetAppSecSelectedHostnamesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder hostnames(List hostnames) { - this.hostnames = Objects.requireNonNull(hostnames); + if (hostnames == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesResult", "hostnames"); + } + this.hostnames = hostnames; return this; } public Builder hostnames(String... hostnames) { @@ -81,17 +88,26 @@ public Builder hostnames(String... hostnames) { } @CustomType.Setter public Builder hostnamesJson(String hostnamesJson) { - this.hostnamesJson = Objects.requireNonNull(hostnamesJson); + if (hostnamesJson == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesResult", "hostnamesJson"); + } + this.hostnamesJson = hostnamesJson; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSelectedHostnamesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecSelectedHostnamesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemDefinitionsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemDefinitionsResult.java index 9cfc621a3fa..a9858d099c6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemDefinitionsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemDefinitionsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -62,21 +63,31 @@ public Builder(GetAppSecSiemDefinitionsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemDefinitionsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemDefinitionsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemDefinitionsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder siemDefinitionName(@Nullable String siemDefinitionName) { + this.siemDefinitionName = siemDefinitionName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemSettingsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemSettingsResult.java index 9d430be2ace..43c5a2fb747 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemSettingsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSiemSettingsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppSecSiemSettingsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSiemSettingsResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecSiemSettingsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSlowPostResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSlowPostResult.java index 01a84209e5e..721f63170ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSlowPostResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecSlowPostResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetAppSecSlowPostResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecSlowPostResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecSlowPostResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecThreatIntelResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecThreatIntelResult.java index ffb94471199..da7852b76e6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecThreatIntelResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecThreatIntelResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -73,32 +74,50 @@ public Builder(GetAppSecThreatIntelResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } @CustomType.Setter public Builder threatIntel(String threatIntel) { - this.threatIntel = Objects.requireNonNull(threatIntel); + if (threatIntel == null) { + throw new MissingRequiredPropertyException("GetAppSecThreatIntelResult", "threatIntel"); + } + this.threatIntel = threatIntel; return this; } public GetAppSecThreatIntelResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecTuningRecommendationsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecTuningRecommendationsResult.java index 1a520516ba2..2956c96bea1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecTuningRecommendationsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecTuningRecommendationsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -81,36 +82,49 @@ public Builder(GetAppSecTuningRecommendationsResult defaults) { @CustomType.Setter public Builder attackGroup(@Nullable String attackGroup) { + this.attackGroup = attackGroup; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecTuningRecommendationsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecTuningRecommendationsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecTuningRecommendationsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder ruleId(@Nullable Integer ruleId) { + this.ruleId = ruleId; return this; } @CustomType.Setter public Builder rulesetType(@Nullable String rulesetType) { + this.rulesetType = rulesetType; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecVersionNotesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecVersionNotesResult.java index 44f66da4d91..ca3d32a8b2a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecVersionNotesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecVersionNotesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppSecVersionNotesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecVersionNotesResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppSecVersionNotesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWafModeResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWafModeResult.java index 4086edc44ee..e0a44ce014d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWafModeResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWafModeResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -97,52 +98,82 @@ public Builder(GetAppSecWafModeResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder currentRuleset(String currentRuleset) { - this.currentRuleset = Objects.requireNonNull(currentRuleset); + if (currentRuleset == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "currentRuleset"); + } + this.currentRuleset = currentRuleset; return this; } @CustomType.Setter public Builder evalExpirationDate(String evalExpirationDate) { - this.evalExpirationDate = Objects.requireNonNull(evalExpirationDate); + if (evalExpirationDate == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "evalExpirationDate"); + } + this.evalExpirationDate = evalExpirationDate; return this; } @CustomType.Setter public Builder evalRuleset(String evalRuleset) { - this.evalRuleset = Objects.requireNonNull(evalRuleset); + if (evalRuleset == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "evalRuleset"); + } + this.evalRuleset = evalRuleset; return this; } @CustomType.Setter public Builder evalStatus(String evalStatus) { - this.evalStatus = Objects.requireNonNull(evalStatus); + if (evalStatus == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "evalStatus"); + } + this.evalStatus = evalStatus; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder mode(String mode) { - this.mode = Objects.requireNonNull(mode); + if (mode == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "mode"); + } + this.mode = mode; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWafModeResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetAppSecWafModeResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWapSelectedHostnamesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWapSelectedHostnamesResult.java index a2f49b74e64..a347ddd4183 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWapSelectedHostnamesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppSecWapSelectedHostnamesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -92,12 +93,18 @@ public Builder(GetAppSecWapSelectedHostnamesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder evaluatedHosts(List evaluatedHosts) { - this.evaluatedHosts = Objects.requireNonNull(evaluatedHosts); + if (evaluatedHosts == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "evaluatedHosts"); + } + this.evaluatedHosts = evaluatedHosts; return this; } public Builder evaluatedHosts(String... evaluatedHosts) { @@ -105,27 +112,42 @@ public Builder evaluatedHosts(String... evaluatedHosts) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchTargets(String matchTargets) { - this.matchTargets = Objects.requireNonNull(matchTargets); + if (matchTargets == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "matchTargets"); + } + this.matchTargets = matchTargets; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder protectedHosts(List protectedHosts) { - this.protectedHosts = Objects.requireNonNull(protectedHosts); + if (protectedHosts == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "protectedHosts"); + } + this.protectedHosts = protectedHosts; return this; } public Builder protectedHosts(String... protectedHosts) { @@ -133,12 +155,18 @@ public Builder protectedHosts(String... protectedHosts) { } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } @CustomType.Setter public Builder selectedHosts(List selectedHosts) { - this.selectedHosts = Objects.requireNonNull(selectedHosts); + if (selectedHosts == null) { + throw new MissingRequiredPropertyException("GetAppSecWapSelectedHostnamesResult", "selectedHosts"); + } + this.selectedHosts = selectedHosts; return this; } public Builder selectedHosts(String... selectedHosts) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsAttackPayloadLoggingResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsAttackPayloadLoggingResult.java index d6a59372679..4b545b3dacb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsAttackPayloadLoggingResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsAttackPayloadLoggingResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppsecAdvancedSettingsAttackPayloadLoggingResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsAttackPayloadLoggingResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsPiiLearningResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsPiiLearningResult.java index c3498cddb6f..cd3faa08082 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsPiiLearningResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsPiiLearningResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetAppsecAdvancedSettingsPiiLearningResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsPiiLearningResult", "outputText"); + } + this.outputText = outputText; return this; } public GetAppsecAdvancedSettingsPiiLearningResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsRequestBodyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsRequestBodyResult.java index fc12ad4ecef..4e2c851b94e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsRequestBodyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAppsecAdvancedSettingsRequestBodyResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,26 +70,39 @@ public Builder(GetAppsecAdvancedSettingsRequestBodyResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetAppsecAdvancedSettingsRequestBodyResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder securityPolicyId(@Nullable String securityPolicyId) { + this.securityPolicyId = securityPolicyId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAuthoritiesSetResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAuthoritiesSetResult.java index 5d8c917aebe..4a76381c134 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAuthoritiesSetResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetAuthoritiesSetResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,7 +56,10 @@ public Builder(GetAuthoritiesSetResult defaults) { @CustomType.Setter public Builder authorities(List authorities) { - this.authorities = Objects.requireNonNull(authorities); + if (authorities == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "authorities"); + } + this.authorities = authorities; return this; } public Builder authorities(String... authorities) { @@ -63,12 +67,18 @@ public Builder authorities(String... authorities) { } @CustomType.Setter public Builder contract(String contract) { - this.contract = Objects.requireNonNull(contract); + if (contract == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "contract"); + } + this.contract = contract; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthoritiesSetResult", "id"); + } + this.id = id; return this; } public GetAuthoritiesSetResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryActionResult.java index 7d325d22f88..d1c521881f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetBotmanAkamaiBotCategoryActionResult defaults) { @CustomType.Setter public Builder categoryId(@Nullable String categoryId) { + this.categoryId = categoryId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryActionResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanAkamaiBotCategoryActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryResult.java index d0c8978c0cb..03f38923be2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiBotCategoryResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -56,17 +57,24 @@ public Builder(GetBotmanAkamaiBotCategoryResult defaults) { @CustomType.Setter public Builder categoryName(@Nullable String categoryName) { + this.categoryName = categoryName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiBotCategoryResult", "json"); + } + this.json = json; return this; } public GetBotmanAkamaiBotCategoryResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiDefinedBotResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiDefinedBotResult.java index 9c1b492b357..2e395779da3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiDefinedBotResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanAkamaiDefinedBotResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -56,17 +57,24 @@ public Builder(GetBotmanAkamaiDefinedBotResult defaults) { @CustomType.Setter public Builder botName(@Nullable String botName) { + this.botName = botName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiDefinedBotResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanAkamaiDefinedBotResult", "json"); + } + this.json = json; return this; } public GetBotmanAkamaiDefinedBotResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieResult.java index 46560161ec4..fa712122fee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetBotmanBotAnalyticsCookieResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieResult", "json"); + } + this.json = json; return this; } public GetBotmanBotAnalyticsCookieResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieValuesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieValuesResult.java index fe6d14eb701..28df4a89866 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieValuesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotAnalyticsCookieValuesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -48,12 +49,18 @@ public Builder(GetBotmanBotAnalyticsCookieValuesResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieValuesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotAnalyticsCookieValuesResult", "json"); + } + this.json = json; return this; } public GetBotmanBotAnalyticsCookieValuesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotCategoryExceptionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotCategoryExceptionResult.java index 7c49e5adbdb..5ec6e4a81a6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotCategoryExceptionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotCategoryExceptionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetBotmanBotCategoryExceptionResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotCategoryExceptionResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanBotCategoryExceptionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionActionResult.java index 7a834e11b4e..acb6cae5899 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetBotmanBotDetectionActionResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder detectionId(@Nullable String detectionId) { + this.detectionId = detectionId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionActionResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanBotDetectionActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionResult.java index 90bc0f92110..8e9052bdfb3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotDetectionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -56,17 +57,24 @@ public Builder(GetBotmanBotDetectionResult defaults) { @CustomType.Setter public Builder detectionName(@Nullable String detectionName) { + this.detectionName = detectionName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotDetectionResult", "json"); + } + this.json = json; return this; } public GetBotmanBotDetectionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotEndpointCoverageReportResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotEndpointCoverageReportResult.java index 807c76ad3a3..2e8fd959ea1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotEndpointCoverageReportResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotEndpointCoverageReportResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,21 +64,29 @@ public Builder(GetBotmanBotEndpointCoverageReportResult defaults) { @CustomType.Setter public Builder configId(@Nullable Integer configId) { + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotEndpointCoverageReportResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotEndpointCoverageReportResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder operationId(@Nullable String operationId) { + this.operationId = operationId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotManagementSettingsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotManagementSettingsResult.java index 7514ce8367a..4814e223c7a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotManagementSettingsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanBotManagementSettingsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetBotmanBotManagementSettingsResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanBotManagementSettingsResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanBotManagementSettingsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeActionResult.java index 81bcfd3ebd9..7e185dd34cb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanChallengeActionResult defaults) { @CustomType.Setter public Builder actionId(@Nullable String actionId) { + this.actionId = actionId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeActionResult", "json"); + } + this.json = json; return this; } public GetBotmanChallengeActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInjectionRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInjectionRulesResult.java index 78672d34149..a2a5261f868 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInjectionRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInjectionRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetBotmanChallengeInjectionRulesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInjectionRulesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInjectionRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInjectionRulesResult", "json"); + } + this.json = json; return this; } public GetBotmanChallengeInjectionRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInterceptionRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInterceptionRulesResult.java index 58c20fedabd..7d7ed4b5340 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInterceptionRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanChallengeInterceptionRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetBotmanChallengeInterceptionRulesResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInterceptionRulesResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInterceptionRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanChallengeInterceptionRulesResult", "json"); + } + this.json = json; return this; } public GetBotmanChallengeInterceptionRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanClientSideSecurityResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanClientSideSecurityResult.java index 3322d9c3b11..60d3843e114 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanClientSideSecurityResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanClientSideSecurityResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetBotmanClientSideSecurityResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanClientSideSecurityResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanClientSideSecurityResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanClientSideSecurityResult", "json"); + } + this.json = json; return this; } public GetBotmanClientSideSecurityResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanConditionalActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanConditionalActionResult.java index 31507deed6a..8a8df4bbaf1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanConditionalActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanConditionalActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanConditionalActionResult defaults) { @CustomType.Setter public Builder actionId(@Nullable String actionId) { + this.actionId = actionId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanConditionalActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanConditionalActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanConditionalActionResult", "json"); + } + this.json = json; return this; } public GetBotmanConditionalActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryActionResult.java index 280e0e0eb0f..e354cf007c9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetBotmanCustomBotCategoryActionResult defaults) { @CustomType.Setter public Builder categoryId(@Nullable String categoryId) { + this.categoryId = categoryId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryActionResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanCustomBotCategoryActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryResult.java index 263c6d57cd6..7d6fc6d4536 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategoryResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanCustomBotCategoryResult defaults) { @CustomType.Setter public Builder categoryId(@Nullable String categoryId) { + this.categoryId = categoryId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategoryResult", "json"); + } + this.json = json; return this; } public GetBotmanCustomBotCategoryResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategorySequenceResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategorySequenceResult.java index 6b1d259bfe6..f503a6e75d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategorySequenceResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomBotCategorySequenceResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -56,7 +57,10 @@ public Builder(GetBotmanCustomBotCategorySequenceResult defaults) { @CustomType.Setter public Builder categoryIds(List categoryIds) { - this.categoryIds = Objects.requireNonNull(categoryIds); + if (categoryIds == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategorySequenceResult", "categoryIds"); + } + this.categoryIds = categoryIds; return this; } public Builder categoryIds(String... categoryIds) { @@ -64,12 +68,18 @@ public Builder categoryIds(String... categoryIds) { } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategorySequenceResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomBotCategorySequenceResult", "id"); + } + this.id = id; return this; } public GetBotmanCustomBotCategorySequenceResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientResult.java index a8ebb75aea8..62615c7dbf7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanCustomClientResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder customClientId(@Nullable String customClientId) { + this.customClientId = customClientId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientResult", "json"); + } + this.json = json; return this; } public GetBotmanCustomClientResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientSequenceResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientSequenceResult.java index 7d9885ecec7..0c2484b54c3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientSequenceResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomClientSequenceResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -56,12 +57,18 @@ public Builder(GetBotmanCustomClientSequenceResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientSequenceResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder customClientIds(List customClientIds) { - this.customClientIds = Objects.requireNonNull(customClientIds); + if (customClientIds == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientSequenceResult", "customClientIds"); + } + this.customClientIds = customClientIds; return this; } public Builder customClientIds(String... customClientIds) { @@ -69,7 +76,10 @@ public Builder customClientIds(String... customClientIds) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomClientSequenceResult", "id"); + } + this.id = id; return this; } public GetBotmanCustomClientSequenceResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDefinedBotResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDefinedBotResult.java index 2151cc6ee09..9da912c8913 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDefinedBotResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDefinedBotResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanCustomDefinedBotResult defaults) { @CustomType.Setter public Builder botId(@Nullable String botId) { + this.botId = botId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDefinedBotResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDefinedBotResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDefinedBotResult", "json"); + } + this.json = json; return this; } public GetBotmanCustomDefinedBotResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDenyActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDenyActionResult.java index e2a87f7c23d..9b5ec0f529b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDenyActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanCustomDenyActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanCustomDenyActionResult defaults) { @CustomType.Setter public Builder actionId(@Nullable String actionId) { + this.actionId = actionId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDenyActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDenyActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanCustomDenyActionResult", "json"); + } + this.json = json; return this; } public GetBotmanCustomDenyActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanJavascriptInjectionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanJavascriptInjectionResult.java index df51cec9c90..46c04220bc8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanJavascriptInjectionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanJavascriptInjectionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetBotmanJavascriptInjectionResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanJavascriptInjectionResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanJavascriptInjectionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanRecategorizedAkamaiDefinedBotResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanRecategorizedAkamaiDefinedBotResult.java index 8e428ec36f2..59e17049b40 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanRecategorizedAkamaiDefinedBotResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanRecategorizedAkamaiDefinedBotResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanRecategorizedAkamaiDefinedBotResult defaults) { @CustomType.Setter public Builder botId(@Nullable String botId) { + this.botId = botId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanRecategorizedAkamaiDefinedBotResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanRecategorizedAkamaiDefinedBotResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanRecategorizedAkamaiDefinedBotResult", "json"); + } + this.json = json; return this; } public GetBotmanRecategorizedAkamaiDefinedBotResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanResponseActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanResponseActionResult.java index 02c2034619d..8d4cf9c82b0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanResponseActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanResponseActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanResponseActionResult defaults) { @CustomType.Setter public Builder actionId(@Nullable String actionId) { + this.actionId = actionId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanResponseActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanResponseActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanResponseActionResult", "json"); + } + this.json = json; return this; } public GetBotmanResponseActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanServeAlternateActionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanServeAlternateActionResult.java index 070b5268130..6b4ef66a595 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanServeAlternateActionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanServeAlternateActionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,22 +64,32 @@ public Builder(GetBotmanServeAlternateActionResult defaults) { @CustomType.Setter public Builder actionId(@Nullable String actionId) { + this.actionId = actionId; return this; } @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanServeAlternateActionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanServeAlternateActionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanServeAlternateActionResult", "json"); + } + this.json = json; return this; } public GetBotmanServeAlternateActionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointProtectionResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointProtectionResult.java index e20ca839d55..702b2180cba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointProtectionResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointProtectionResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetBotmanTransactionalEndpointProtectionResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointProtectionResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointProtectionResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointProtectionResult", "json"); + } + this.json = json; return this; } public GetBotmanTransactionalEndpointProtectionResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointResult.java index 41b5177bc0e..48c7f7366b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetBotmanTransactionalEndpointResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetBotmanTransactionalEndpointResult defaults) { @CustomType.Setter public Builder configId(Integer configId) { - this.configId = Objects.requireNonNull(configId); + if (configId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointResult", "configId"); + } + this.configId = configId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder operationId(@Nullable String operationId) { + this.operationId = operationId; return this; } @CustomType.Setter public Builder securityPolicyId(String securityPolicyId) { - this.securityPolicyId = Objects.requireNonNull(securityPolicyId); + if (securityPolicyId == null) { + throw new MissingRequiredPropertyException("GetBotmanTransactionalEndpointResult", "securityPolicyId"); + } + this.securityPolicyId = securityPolicyId; return this; } public GetBotmanTransactionalEndpointResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentAdminContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentAdminContact.java index 7d4fa0f8c4d..2d9c4a17a7c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentAdminContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentAdminContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(GetCPSEnrollmentAdminContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentAdminContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentCsr.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentCsr.java index bcb7292a077..cdc5627c144 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentCsr.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentCsr.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -64,32 +65,50 @@ public Builder(GetCPSEnrollmentCsr defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder organizationalUnit(String organizationalUnit) { - this.organizationalUnit = Objects.requireNonNull(organizationalUnit); + if (organizationalUnit == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "organizationalUnit"); + } + this.organizationalUnit = organizationalUnit; return this; } @CustomType.Setter public Builder preferredTrustChain(String preferredTrustChain) { - this.preferredTrustChain = Objects.requireNonNull(preferredTrustChain); + if (preferredTrustChain == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "preferredTrustChain"); + } + this.preferredTrustChain = preferredTrustChain; return this; } @CustomType.Setter public Builder state(String state) { - this.state = Objects.requireNonNull(state); + if (state == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentCsr", "state"); + } + this.state = state; return this; } public GetCPSEnrollmentCsr build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentDnsChallenge.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentDnsChallenge.java index b4563fd0bb6..fd3ec140a91 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentDnsChallenge.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentDnsChallenge.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -46,17 +47,26 @@ public Builder(GetCPSEnrollmentDnsChallenge defaults) { @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentDnsChallenge", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder fullPath(String fullPath) { - this.fullPath = Objects.requireNonNull(fullPath); + if (fullPath == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentDnsChallenge", "fullPath"); + } + this.fullPath = fullPath; return this; } @CustomType.Setter public Builder responseBody(String responseBody) { - this.responseBody = Objects.requireNonNull(responseBody); + if (responseBody == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentDnsChallenge", "responseBody"); + } + this.responseBody = responseBody; return this; } public GetCPSEnrollmentDnsChallenge build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentHttpChallenge.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentHttpChallenge.java index d6e5774e562..bd09729d5d4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentHttpChallenge.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentHttpChallenge.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -46,17 +47,26 @@ public Builder(GetCPSEnrollmentHttpChallenge defaults) { @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentHttpChallenge", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder fullPath(String fullPath) { - this.fullPath = Objects.requireNonNull(fullPath); + if (fullPath == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentHttpChallenge", "fullPath"); + } + this.fullPath = fullPath; return this; } @CustomType.Setter public Builder responseBody(String responseBody) { - this.responseBody = Objects.requireNonNull(responseBody); + if (responseBody == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentHttpChallenge", "responseBody"); + } + this.responseBody = responseBody; return this; } public GetCPSEnrollmentHttpChallenge build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfiguration.java index da32fda92be..2d988bd9cb7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfiguration.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -79,7 +80,10 @@ public Builder(GetCPSEnrollmentNetworkConfiguration defaults) { @CustomType.Setter public Builder clientMutualAuthentications(List clientMutualAuthentications) { - this.clientMutualAuthentications = Objects.requireNonNull(clientMutualAuthentications); + if (clientMutualAuthentications == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "clientMutualAuthentications"); + } + this.clientMutualAuthentications = clientMutualAuthentications; return this; } public Builder clientMutualAuthentications(GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication... clientMutualAuthentications) { @@ -87,12 +91,18 @@ public Builder clientMutualAuthentications(GetCPSEnrollmentNetworkConfigurationC } @CustomType.Setter public Builder cloneDnsNames(Boolean cloneDnsNames) { - this.cloneDnsNames = Objects.requireNonNull(cloneDnsNames); + if (cloneDnsNames == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "cloneDnsNames"); + } + this.cloneDnsNames = cloneDnsNames; return this; } @CustomType.Setter public Builder disallowedTlsVersions(List disallowedTlsVersions) { - this.disallowedTlsVersions = Objects.requireNonNull(disallowedTlsVersions); + if (disallowedTlsVersions == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "disallowedTlsVersions"); + } + this.disallowedTlsVersions = disallowedTlsVersions; return this; } public Builder disallowedTlsVersions(String... disallowedTlsVersions) { @@ -100,27 +110,42 @@ public Builder disallowedTlsVersions(String... disallowedTlsVersions) { } @CustomType.Setter public Builder geography(String geography) { - this.geography = Objects.requireNonNull(geography); + if (geography == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "geography"); + } + this.geography = geography; return this; } @CustomType.Setter public Builder mustHaveCiphers(String mustHaveCiphers) { - this.mustHaveCiphers = Objects.requireNonNull(mustHaveCiphers); + if (mustHaveCiphers == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "mustHaveCiphers"); + } + this.mustHaveCiphers = mustHaveCiphers; return this; } @CustomType.Setter public Builder ocspStapling(String ocspStapling) { - this.ocspStapling = Objects.requireNonNull(ocspStapling); + if (ocspStapling == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "ocspStapling"); + } + this.ocspStapling = ocspStapling; return this; } @CustomType.Setter public Builder preferredCiphers(String preferredCiphers) { - this.preferredCiphers = Objects.requireNonNull(preferredCiphers); + if (preferredCiphers == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "preferredCiphers"); + } + this.preferredCiphers = preferredCiphers; return this; } @CustomType.Setter public Builder quicEnabled(Boolean quicEnabled) { - this.quicEnabled = Objects.requireNonNull(quicEnabled); + if (quicEnabled == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfiguration", "quicEnabled"); + } + this.quicEnabled = quicEnabled; return this; } public GetCPSEnrollmentNetworkConfiguration build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication.java index 800fd68498d..6a336964892 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication de @CustomType.Setter public Builder ocspEnabled(Boolean ocspEnabled) { - this.ocspEnabled = Objects.requireNonNull(ocspEnabled); + if (ocspEnabled == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication", "ocspEnabled"); + } + this.ocspEnabled = ocspEnabled; return this; } @CustomType.Setter public Builder sendCaListToClient(Boolean sendCaListToClient) { - this.sendCaListToClient = Objects.requireNonNull(sendCaListToClient); + if (sendCaListToClient == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication", "sendCaListToClient"); + } + this.sendCaListToClient = sendCaListToClient; return this; } @CustomType.Setter public Builder setId(String setId) { - this.setId = Objects.requireNonNull(setId); + if (setId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication", "setId"); + } + this.setId = setId; return this; } public GetCPSEnrollmentNetworkConfigurationClientMutualAuthentication build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentOrganization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentOrganization.java index 91c2af23451..575718c3f9a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentOrganization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentOrganization.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -76,42 +77,66 @@ public Builder(GetCPSEnrollmentOrganization defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(String addressLineTwo) { - this.addressLineTwo = Objects.requireNonNull(addressLineTwo); + if (addressLineTwo == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "addressLineTwo"); + } + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentOrganization", "region"); + } + this.region = region; return this; } public GetCPSEnrollmentOrganization build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentResult.java index 075a50ea731..5dcc89e2060 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentResult.java @@ -11,6 +11,7 @@ import com.pulumi.akamai.outputs.GetCPSEnrollmentOrganization; import com.pulumi.akamai.outputs.GetCPSEnrollmentTechContact; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -172,7 +173,10 @@ public Builder(GetCPSEnrollmentResult defaults) { @CustomType.Setter public Builder adminContacts(List adminContacts) { - this.adminContacts = Objects.requireNonNull(adminContacts); + if (adminContacts == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "adminContacts"); + } + this.adminContacts = adminContacts; return this; } public Builder adminContacts(GetCPSEnrollmentAdminContact... adminContacts) { @@ -180,27 +184,42 @@ public Builder adminContacts(GetCPSEnrollmentAdminContact... adminContacts) { } @CustomType.Setter public Builder certificateChainType(String certificateChainType) { - this.certificateChainType = Objects.requireNonNull(certificateChainType); + if (certificateChainType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "certificateChainType"); + } + this.certificateChainType = certificateChainType; return this; } @CustomType.Setter public Builder certificateType(String certificateType) { - this.certificateType = Objects.requireNonNull(certificateType); + if (certificateType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "certificateType"); + } + this.certificateType = certificateType; return this; } @CustomType.Setter public Builder commonName(String commonName) { - this.commonName = Objects.requireNonNull(commonName); + if (commonName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "commonName"); + } + this.commonName = commonName; return this; } @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder csrs(List csrs) { - this.csrs = Objects.requireNonNull(csrs); + if (csrs == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "csrs"); + } + this.csrs = csrs; return this; } public Builder csrs(GetCPSEnrollmentCsr... csrs) { @@ -208,7 +227,10 @@ public Builder csrs(GetCPSEnrollmentCsr... csrs) { } @CustomType.Setter public Builder dnsChallenges(List dnsChallenges) { - this.dnsChallenges = Objects.requireNonNull(dnsChallenges); + if (dnsChallenges == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "dnsChallenges"); + } + this.dnsChallenges = dnsChallenges; return this; } public Builder dnsChallenges(GetCPSEnrollmentDnsChallenge... dnsChallenges) { @@ -216,17 +238,26 @@ public Builder dnsChallenges(GetCPSEnrollmentDnsChallenge... dnsChallenges) { } @CustomType.Setter public Builder enableMultiStackedCertificates(Boolean enableMultiStackedCertificates) { - this.enableMultiStackedCertificates = Objects.requireNonNull(enableMultiStackedCertificates); + if (enableMultiStackedCertificates == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "enableMultiStackedCertificates"); + } + this.enableMultiStackedCertificates = enableMultiStackedCertificates; return this; } @CustomType.Setter public Builder enrollmentId(Integer enrollmentId) { - this.enrollmentId = Objects.requireNonNull(enrollmentId); + if (enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "enrollmentId"); + } + this.enrollmentId = enrollmentId; return this; } @CustomType.Setter public Builder httpChallenges(List httpChallenges) { - this.httpChallenges = Objects.requireNonNull(httpChallenges); + if (httpChallenges == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "httpChallenges"); + } + this.httpChallenges = httpChallenges; return this; } public Builder httpChallenges(GetCPSEnrollmentHttpChallenge... httpChallenges) { @@ -234,12 +265,18 @@ public Builder httpChallenges(GetCPSEnrollmentHttpChallenge... httpChallenges) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder networkConfigurations(List networkConfigurations) { - this.networkConfigurations = Objects.requireNonNull(networkConfigurations); + if (networkConfigurations == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "networkConfigurations"); + } + this.networkConfigurations = networkConfigurations; return this; } public Builder networkConfigurations(GetCPSEnrollmentNetworkConfiguration... networkConfigurations) { @@ -247,7 +284,10 @@ public Builder networkConfigurations(GetCPSEnrollmentNetworkConfiguration... net } @CustomType.Setter public Builder organizations(List organizations) { - this.organizations = Objects.requireNonNull(organizations); + if (organizations == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "organizations"); + } + this.organizations = organizations; return this; } public Builder organizations(GetCPSEnrollmentOrganization... organizations) { @@ -255,17 +295,26 @@ public Builder organizations(GetCPSEnrollmentOrganization... organizations) { } @CustomType.Setter public Builder pendingChanges(Boolean pendingChanges) { - this.pendingChanges = Objects.requireNonNull(pendingChanges); + if (pendingChanges == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "pendingChanges"); + } + this.pendingChanges = pendingChanges; return this; } @CustomType.Setter public Builder registrationAuthority(String registrationAuthority) { - this.registrationAuthority = Objects.requireNonNull(registrationAuthority); + if (registrationAuthority == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "registrationAuthority"); + } + this.registrationAuthority = registrationAuthority; return this; } @CustomType.Setter public Builder sans(List sans) { - this.sans = Objects.requireNonNull(sans); + if (sans == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "sans"); + } + this.sans = sans; return this; } public Builder sans(String... sans) { @@ -273,22 +322,34 @@ public Builder sans(String... sans) { } @CustomType.Setter public Builder secureNetwork(String secureNetwork) { - this.secureNetwork = Objects.requireNonNull(secureNetwork); + if (secureNetwork == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "secureNetwork"); + } + this.secureNetwork = secureNetwork; return this; } @CustomType.Setter public Builder signatureAlgorithm(String signatureAlgorithm) { - this.signatureAlgorithm = Objects.requireNonNull(signatureAlgorithm); + if (signatureAlgorithm == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "signatureAlgorithm"); + } + this.signatureAlgorithm = signatureAlgorithm; return this; } @CustomType.Setter public Builder sniOnly(Boolean sniOnly) { - this.sniOnly = Objects.requireNonNull(sniOnly); + if (sniOnly == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "sniOnly"); + } + this.sniOnly = sniOnly; return this; } @CustomType.Setter public Builder techContacts(List techContacts) { - this.techContacts = Objects.requireNonNull(techContacts); + if (techContacts == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "techContacts"); + } + this.techContacts = techContacts; return this; } public Builder techContacts(GetCPSEnrollmentTechContact... techContacts) { @@ -296,7 +357,10 @@ public Builder techContacts(GetCPSEnrollmentTechContact... techContacts) { } @CustomType.Setter public Builder validationType(String validationType) { - this.validationType = Objects.requireNonNull(validationType); + if (validationType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentResult", "validationType"); + } + this.validationType = validationType; return this; } public GetCPSEnrollmentResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentTechContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentTechContact.java index 9808d27afbb..d7c2b52c54c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentTechContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentTechContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(GetCPSEnrollmentTechContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentTechContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollment.java index 3edfd67b86b..059ab7f4b0a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollment.java @@ -9,6 +9,7 @@ import com.pulumi.akamai.outputs.GetCPSEnrollmentsEnrollmentOrganization; import com.pulumi.akamai.outputs.GetCPSEnrollmentsEnrollmentTechContact; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -138,7 +139,10 @@ public Builder(GetCPSEnrollmentsEnrollment defaults) { @CustomType.Setter public Builder adminContacts(List adminContacts) { - this.adminContacts = Objects.requireNonNull(adminContacts); + if (adminContacts == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "adminContacts"); + } + this.adminContacts = adminContacts; return this; } public Builder adminContacts(GetCPSEnrollmentsEnrollmentAdminContact... adminContacts) { @@ -146,22 +150,34 @@ public Builder adminContacts(GetCPSEnrollmentsEnrollmentAdminContact... adminCon } @CustomType.Setter public Builder certificateChainType(String certificateChainType) { - this.certificateChainType = Objects.requireNonNull(certificateChainType); + if (certificateChainType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "certificateChainType"); + } + this.certificateChainType = certificateChainType; return this; } @CustomType.Setter public Builder certificateType(String certificateType) { - this.certificateType = Objects.requireNonNull(certificateType); + if (certificateType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "certificateType"); + } + this.certificateType = certificateType; return this; } @CustomType.Setter public Builder commonName(String commonName) { - this.commonName = Objects.requireNonNull(commonName); + if (commonName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "commonName"); + } + this.commonName = commonName; return this; } @CustomType.Setter public Builder csrs(List csrs) { - this.csrs = Objects.requireNonNull(csrs); + if (csrs == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "csrs"); + } + this.csrs = csrs; return this; } public Builder csrs(GetCPSEnrollmentsEnrollmentCsr... csrs) { @@ -169,17 +185,26 @@ public Builder csrs(GetCPSEnrollmentsEnrollmentCsr... csrs) { } @CustomType.Setter public Builder enableMultiStackedCertificates(Boolean enableMultiStackedCertificates) { - this.enableMultiStackedCertificates = Objects.requireNonNull(enableMultiStackedCertificates); + if (enableMultiStackedCertificates == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "enableMultiStackedCertificates"); + } + this.enableMultiStackedCertificates = enableMultiStackedCertificates; return this; } @CustomType.Setter public Builder enrollmentId(Integer enrollmentId) { - this.enrollmentId = Objects.requireNonNull(enrollmentId); + if (enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "enrollmentId"); + } + this.enrollmentId = enrollmentId; return this; } @CustomType.Setter public Builder networkConfigurations(List networkConfigurations) { - this.networkConfigurations = Objects.requireNonNull(networkConfigurations); + if (networkConfigurations == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "networkConfigurations"); + } + this.networkConfigurations = networkConfigurations; return this; } public Builder networkConfigurations(GetCPSEnrollmentsEnrollmentNetworkConfiguration... networkConfigurations) { @@ -187,7 +212,10 @@ public Builder networkConfigurations(GetCPSEnrollmentsEnrollmentNetworkConfigura } @CustomType.Setter public Builder organizations(List organizations) { - this.organizations = Objects.requireNonNull(organizations); + if (organizations == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "organizations"); + } + this.organizations = organizations; return this; } public Builder organizations(GetCPSEnrollmentsEnrollmentOrganization... organizations) { @@ -195,17 +223,26 @@ public Builder organizations(GetCPSEnrollmentsEnrollmentOrganization... organiza } @CustomType.Setter public Builder pendingChanges(Boolean pendingChanges) { - this.pendingChanges = Objects.requireNonNull(pendingChanges); + if (pendingChanges == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "pendingChanges"); + } + this.pendingChanges = pendingChanges; return this; } @CustomType.Setter public Builder registrationAuthority(String registrationAuthority) { - this.registrationAuthority = Objects.requireNonNull(registrationAuthority); + if (registrationAuthority == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "registrationAuthority"); + } + this.registrationAuthority = registrationAuthority; return this; } @CustomType.Setter public Builder sans(List sans) { - this.sans = Objects.requireNonNull(sans); + if (sans == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "sans"); + } + this.sans = sans; return this; } public Builder sans(String... sans) { @@ -213,22 +250,34 @@ public Builder sans(String... sans) { } @CustomType.Setter public Builder secureNetwork(String secureNetwork) { - this.secureNetwork = Objects.requireNonNull(secureNetwork); + if (secureNetwork == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "secureNetwork"); + } + this.secureNetwork = secureNetwork; return this; } @CustomType.Setter public Builder signatureAlgorithm(String signatureAlgorithm) { - this.signatureAlgorithm = Objects.requireNonNull(signatureAlgorithm); + if (signatureAlgorithm == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "signatureAlgorithm"); + } + this.signatureAlgorithm = signatureAlgorithm; return this; } @CustomType.Setter public Builder sniOnly(Boolean sniOnly) { - this.sniOnly = Objects.requireNonNull(sniOnly); + if (sniOnly == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "sniOnly"); + } + this.sniOnly = sniOnly; return this; } @CustomType.Setter public Builder techContacts(List techContacts) { - this.techContacts = Objects.requireNonNull(techContacts); + if (techContacts == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "techContacts"); + } + this.techContacts = techContacts; return this; } public Builder techContacts(GetCPSEnrollmentsEnrollmentTechContact... techContacts) { @@ -236,7 +285,10 @@ public Builder techContacts(GetCPSEnrollmentsEnrollmentTechContact... techContac } @CustomType.Setter public Builder validationType(String validationType) { - this.validationType = Objects.requireNonNull(validationType); + if (validationType == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollment", "validationType"); + } + this.validationType = validationType; return this; } public GetCPSEnrollmentsEnrollment build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentAdminContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentAdminContact.java index b9e90d34b31..a0627c5138e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentAdminContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentAdminContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(GetCPSEnrollmentsEnrollmentAdminContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentAdminContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentCsr.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentCsr.java index 5dcd83ab852..cf4421c7384 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentCsr.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentCsr.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -64,32 +65,50 @@ public Builder(GetCPSEnrollmentsEnrollmentCsr defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder organizationalUnit(String organizationalUnit) { - this.organizationalUnit = Objects.requireNonNull(organizationalUnit); + if (organizationalUnit == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "organizationalUnit"); + } + this.organizationalUnit = organizationalUnit; return this; } @CustomType.Setter public Builder preferredTrustChain(String preferredTrustChain) { - this.preferredTrustChain = Objects.requireNonNull(preferredTrustChain); + if (preferredTrustChain == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "preferredTrustChain"); + } + this.preferredTrustChain = preferredTrustChain; return this; } @CustomType.Setter public Builder state(String state) { - this.state = Objects.requireNonNull(state); + if (state == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentCsr", "state"); + } + this.state = state; return this; } public GetCPSEnrollmentsEnrollmentCsr build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfiguration.java index 91adeb436f1..1c26d8cde70 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfiguration.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -79,7 +80,10 @@ public Builder(GetCPSEnrollmentsEnrollmentNetworkConfiguration defaults) { @CustomType.Setter public Builder clientMutualAuthentications(List clientMutualAuthentications) { - this.clientMutualAuthentications = Objects.requireNonNull(clientMutualAuthentications); + if (clientMutualAuthentications == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "clientMutualAuthentications"); + } + this.clientMutualAuthentications = clientMutualAuthentications; return this; } public Builder clientMutualAuthentications(GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication... clientMutualAuthentications) { @@ -87,12 +91,18 @@ public Builder clientMutualAuthentications(GetCPSEnrollmentsEnrollmentNetworkCon } @CustomType.Setter public Builder cloneDnsNames(Boolean cloneDnsNames) { - this.cloneDnsNames = Objects.requireNonNull(cloneDnsNames); + if (cloneDnsNames == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "cloneDnsNames"); + } + this.cloneDnsNames = cloneDnsNames; return this; } @CustomType.Setter public Builder disallowedTlsVersions(List disallowedTlsVersions) { - this.disallowedTlsVersions = Objects.requireNonNull(disallowedTlsVersions); + if (disallowedTlsVersions == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "disallowedTlsVersions"); + } + this.disallowedTlsVersions = disallowedTlsVersions; return this; } public Builder disallowedTlsVersions(String... disallowedTlsVersions) { @@ -100,27 +110,42 @@ public Builder disallowedTlsVersions(String... disallowedTlsVersions) { } @CustomType.Setter public Builder geography(String geography) { - this.geography = Objects.requireNonNull(geography); + if (geography == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "geography"); + } + this.geography = geography; return this; } @CustomType.Setter public Builder mustHaveCiphers(String mustHaveCiphers) { - this.mustHaveCiphers = Objects.requireNonNull(mustHaveCiphers); + if (mustHaveCiphers == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "mustHaveCiphers"); + } + this.mustHaveCiphers = mustHaveCiphers; return this; } @CustomType.Setter public Builder ocspStapling(String ocspStapling) { - this.ocspStapling = Objects.requireNonNull(ocspStapling); + if (ocspStapling == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "ocspStapling"); + } + this.ocspStapling = ocspStapling; return this; } @CustomType.Setter public Builder preferredCiphers(String preferredCiphers) { - this.preferredCiphers = Objects.requireNonNull(preferredCiphers); + if (preferredCiphers == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "preferredCiphers"); + } + this.preferredCiphers = preferredCiphers; return this; } @CustomType.Setter public Builder quicEnabled(Boolean quicEnabled) { - this.quicEnabled = Objects.requireNonNull(quicEnabled); + if (quicEnabled == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfiguration", "quicEnabled"); + } + this.quicEnabled = quicEnabled; return this; } public GetCPSEnrollmentsEnrollmentNetworkConfiguration build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication.java index b0a795eb450..ce7181ece30 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthen @CustomType.Setter public Builder ocspEnabled(Boolean ocspEnabled) { - this.ocspEnabled = Objects.requireNonNull(ocspEnabled); + if (ocspEnabled == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication", "ocspEnabled"); + } + this.ocspEnabled = ocspEnabled; return this; } @CustomType.Setter public Builder sendCaListToClient(Boolean sendCaListToClient) { - this.sendCaListToClient = Objects.requireNonNull(sendCaListToClient); + if (sendCaListToClient == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication", "sendCaListToClient"); + } + this.sendCaListToClient = sendCaListToClient; return this; } @CustomType.Setter public Builder setId(String setId) { - this.setId = Objects.requireNonNull(setId); + if (setId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication", "setId"); + } + this.setId = setId; return this; } public GetCPSEnrollmentsEnrollmentNetworkConfigurationClientMutualAuthentication build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentOrganization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentOrganization.java index d45f688c7af..330d446b76b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentOrganization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentOrganization.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -76,42 +77,66 @@ public Builder(GetCPSEnrollmentsEnrollmentOrganization defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(String addressLineTwo) { - this.addressLineTwo = Objects.requireNonNull(addressLineTwo); + if (addressLineTwo == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "addressLineTwo"); + } + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentOrganization", "region"); + } + this.region = region; return this; } public GetCPSEnrollmentsEnrollmentOrganization build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentTechContact.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentTechContact.java index 69f0776d696..00ef9402640 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentTechContact.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsEnrollmentTechContact.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -102,61 +103,93 @@ public Builder(GetCPSEnrollmentsEnrollmentTechContact defaults) { @CustomType.Setter public Builder addressLineOne(String addressLineOne) { - this.addressLineOne = Objects.requireNonNull(addressLineOne); + if (addressLineOne == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "addressLineOne"); + } + this.addressLineOne = addressLineOne; return this; } @CustomType.Setter public Builder addressLineTwo(@Nullable String addressLineTwo) { + this.addressLineTwo = addressLineTwo; return this; } @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder countryCode(String countryCode) { - this.countryCode = Objects.requireNonNull(countryCode); + if (countryCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "countryCode"); + } + this.countryCode = countryCode; return this; } @CustomType.Setter public Builder email(String email) { - this.email = Objects.requireNonNull(email); + if (email == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "email"); + } + this.email = email; return this; } @CustomType.Setter public Builder firstName(String firstName) { - this.firstName = Objects.requireNonNull(firstName); + if (firstName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "firstName"); + } + this.firstName = firstName; return this; } @CustomType.Setter public Builder lastName(String lastName) { - this.lastName = Objects.requireNonNull(lastName); + if (lastName == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "lastName"); + } + this.lastName = lastName; return this; } @CustomType.Setter public Builder organization(String organization) { - this.organization = Objects.requireNonNull(organization); + if (organization == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "organization"); + } + this.organization = organization; return this; } @CustomType.Setter public Builder phone(String phone) { - this.phone = Objects.requireNonNull(phone); + if (phone == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "phone"); + } + this.phone = phone; return this; } @CustomType.Setter public Builder postalCode(String postalCode) { - this.postalCode = Objects.requireNonNull(postalCode); + if (postalCode == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "postalCode"); + } + this.postalCode = postalCode; return this; } @CustomType.Setter public Builder region(String region) { - this.region = Objects.requireNonNull(region); + if (region == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsEnrollmentTechContact", "region"); + } + this.region = region; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsResult.java index 5855a4f5b7b..d9aa9059cf4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCPSEnrollmentsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCPSEnrollmentsEnrollment; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -56,12 +57,18 @@ public Builder(GetCPSEnrollmentsResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder enrollments(List enrollments) { - this.enrollments = Objects.requireNonNull(enrollments); + if (enrollments == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsResult", "enrollments"); + } + this.enrollments = enrollments; return this; } public Builder enrollments(GetCPSEnrollmentsEnrollment... enrollments) { @@ -69,7 +76,10 @@ public Builder enrollments(GetCPSEnrollmentsEnrollment... enrollments) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCPSEnrollmentsResult", "id"); + } + this.id = id; return this; } public GetCPSEnrollmentsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsList.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsList.java index b3450aea243..d3814cccb42 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsList.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsList.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -135,67 +136,104 @@ public Builder(GetClientlistListsList defaults) { @CustomType.Setter public Builder createDate(String createDate) { - this.createDate = Objects.requireNonNull(createDate); + if (createDate == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "createDate"); + } + this.createDate = createDate; return this; } @CustomType.Setter public Builder createdBy(String createdBy) { - this.createdBy = Objects.requireNonNull(createdBy); + if (createdBy == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "createdBy"); + } + this.createdBy = createdBy; return this; } @CustomType.Setter public Builder deprecated(Boolean deprecated) { - this.deprecated = Objects.requireNonNull(deprecated); + if (deprecated == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "deprecated"); + } + this.deprecated = deprecated; return this; } @CustomType.Setter public Builder itemsCount(Integer itemsCount) { - this.itemsCount = Objects.requireNonNull(itemsCount); + if (itemsCount == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "itemsCount"); + } + this.itemsCount = itemsCount; return this; } @CustomType.Setter public Builder listId(String listId) { - this.listId = Objects.requireNonNull(listId); + if (listId == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "listId"); + } + this.listId = listId; return this; } @CustomType.Setter public Builder listType(String listType) { - this.listType = Objects.requireNonNull(listType); + if (listType == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "listType"); + } + this.listType = listType; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder notes(String notes) { - this.notes = Objects.requireNonNull(notes); + if (notes == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "notes"); + } + this.notes = notes; return this; } @CustomType.Setter public Builder productionActivationStatus(String productionActivationStatus) { - this.productionActivationStatus = Objects.requireNonNull(productionActivationStatus); + if (productionActivationStatus == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "productionActivationStatus"); + } + this.productionActivationStatus = productionActivationStatus; return this; } @CustomType.Setter public Builder readOnly(Boolean readOnly) { - this.readOnly = Objects.requireNonNull(readOnly); + if (readOnly == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "readOnly"); + } + this.readOnly = readOnly; return this; } @CustomType.Setter public Builder shared(Boolean shared) { - this.shared = Objects.requireNonNull(shared); + if (shared == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "shared"); + } + this.shared = shared; return this; } @CustomType.Setter public Builder stagingActivationStatus(String stagingActivationStatus) { - this.stagingActivationStatus = Objects.requireNonNull(stagingActivationStatus); + if (stagingActivationStatus == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "stagingActivationStatus"); + } + this.stagingActivationStatus = stagingActivationStatus; return this; } @CustomType.Setter public Builder tags(List tags) { - this.tags = Objects.requireNonNull(tags); + if (tags == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "tags"); + } + this.tags = tags; return this; } public Builder tags(String... tags) { @@ -203,22 +241,32 @@ public Builder tags(String... tags) { } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder updateDate(String updateDate) { - this.updateDate = Objects.requireNonNull(updateDate); + if (updateDate == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "updateDate"); + } + this.updateDate = updateDate; return this; } @CustomType.Setter public Builder updatedBy(String updatedBy) { - this.updatedBy = Objects.requireNonNull(updatedBy); + if (updatedBy == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "updatedBy"); + } + this.updatedBy = updatedBy; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetClientlistListsList", "version"); + } + this.version = version; return this; } public GetClientlistListsList build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsResult.java index 8852f83bce6..f704e4e453c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetClientlistListsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetClientlistListsList; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -82,17 +83,26 @@ public Builder(GetClientlistListsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetClientlistListsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetClientlistListsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder listIds(List listIds) { - this.listIds = Objects.requireNonNull(listIds); + if (listIds == null) { + throw new MissingRequiredPropertyException("GetClientlistListsResult", "listIds"); + } + this.listIds = listIds; return this; } public Builder listIds(String... listIds) { @@ -100,7 +110,10 @@ public Builder listIds(String... listIds) { } @CustomType.Setter public Builder lists(List lists) { - this.lists = Objects.requireNonNull(lists); + if (lists == null) { + throw new MissingRequiredPropertyException("GetClientlistListsResult", "lists"); + } + this.lists = lists; return this; } public Builder lists(GetClientlistListsList... lists) { @@ -108,16 +121,21 @@ public Builder lists(GetClientlistListsList... lists) { } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetClientlistListsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder types(@Nullable List types) { + this.types = types; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java index b08a39af92f..945e4c5a4f3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -83,21 +84,25 @@ public Builder(GetCloudletsApiPrioritizationMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -106,22 +111,30 @@ public Builder matches(GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch... m } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder passThroughPercent(Double passThroughPercent) { - this.passThroughPercent = Objects.requireNonNull(passThroughPercent); + if (passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRule", "passThroughPercent"); + } + this.passThroughPercent = passThroughPercent; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsApiPrioritizationMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch.java index 0b907174efd..47d30e10592 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsApiPrioritizationMatchRuleMatchRuleMatch defaults) { @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java index 73b9cf36da7..88629be227a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchVa @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 8b4c3548097..979eb1e72d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsApiPrioritizationMatchRuleMatchRuleMatchObjectMatchVa @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleResult.java index 4d79027a22b..48d8b15a5b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApiPrioritizationMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApiPrioritizationMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsApiPrioritizationMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsApiPrioritizationMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerDataCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerDataCenter.java index 85f3f72c6d0..365beead442 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerDataCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerDataCenter.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.String; @@ -103,42 +104,66 @@ public Builder(GetCloudletsApplicationLoadBalancerDataCenter defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder cloudServerHostHeaderOverride(Boolean cloudServerHostHeaderOverride) { - this.cloudServerHostHeaderOverride = Objects.requireNonNull(cloudServerHostHeaderOverride); + if (cloudServerHostHeaderOverride == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "cloudServerHostHeaderOverride"); + } + this.cloudServerHostHeaderOverride = cloudServerHostHeaderOverride; return this; } @CustomType.Setter public Builder cloudService(Boolean cloudService) { - this.cloudService = Objects.requireNonNull(cloudService); + if (cloudService == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "cloudService"); + } + this.cloudService = cloudService; return this; } @CustomType.Setter public Builder continent(String continent) { - this.continent = Objects.requireNonNull(continent); + if (continent == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "continent"); + } + this.continent = continent; return this; } @CustomType.Setter public Builder country(String country) { - this.country = Objects.requireNonNull(country); + if (country == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "country"); + } + this.country = country; return this; } @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder latitude(Double latitude) { - this.latitude = Objects.requireNonNull(latitude); + if (latitude == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "latitude"); + } + this.latitude = latitude; return this; } @CustomType.Setter public Builder livenessHosts(List livenessHosts) { - this.livenessHosts = Objects.requireNonNull(livenessHosts); + if (livenessHosts == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "livenessHosts"); + } + this.livenessHosts = livenessHosts; return this; } public Builder livenessHosts(String... livenessHosts) { @@ -146,22 +171,34 @@ public Builder livenessHosts(String... livenessHosts) { } @CustomType.Setter public Builder longitude(Double longitude) { - this.longitude = Objects.requireNonNull(longitude); + if (longitude == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "longitude"); + } + this.longitude = longitude; return this; } @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder percent(Double percent) { - this.percent = Objects.requireNonNull(percent); + if (percent == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "percent"); + } + this.percent = percent; return this; } @CustomType.Setter public Builder stateOrProvince(String stateOrProvince) { - this.stateOrProvince = Objects.requireNonNull(stateOrProvince); + if (stateOrProvince == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerDataCenter", "stateOrProvince"); + } + this.stateOrProvince = stateOrProvince; return this; } public GetCloudletsApplicationLoadBalancerDataCenter build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerLivenessSetting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerLivenessSetting.java index f38e60412bc..110e1992555 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerLivenessSetting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerLivenessSetting.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -110,67 +111,106 @@ public Builder(GetCloudletsApplicationLoadBalancerLivenessSetting defaults) { @CustomType.Setter public Builder additionalHeaders(Map additionalHeaders) { - this.additionalHeaders = Objects.requireNonNull(additionalHeaders); + if (additionalHeaders == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "additionalHeaders"); + } + this.additionalHeaders = additionalHeaders; return this; } @CustomType.Setter public Builder hostHeader(String hostHeader) { - this.hostHeader = Objects.requireNonNull(hostHeader); + if (hostHeader == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "hostHeader"); + } + this.hostHeader = hostHeader; return this; } @CustomType.Setter public Builder interval(Integer interval) { - this.interval = Objects.requireNonNull(interval); + if (interval == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "interval"); + } + this.interval = interval; return this; } @CustomType.Setter public Builder path(String path) { - this.path = Objects.requireNonNull(path); + if (path == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "path"); + } + this.path = path; return this; } @CustomType.Setter public Builder peerCertificateVerification(Boolean peerCertificateVerification) { - this.peerCertificateVerification = Objects.requireNonNull(peerCertificateVerification); + if (peerCertificateVerification == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "peerCertificateVerification"); + } + this.peerCertificateVerification = peerCertificateVerification; return this; } @CustomType.Setter public Builder port(Integer port) { - this.port = Objects.requireNonNull(port); + if (port == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "port"); + } + this.port = port; return this; } @CustomType.Setter public Builder protocol(String protocol) { - this.protocol = Objects.requireNonNull(protocol); + if (protocol == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "protocol"); + } + this.protocol = protocol; return this; } @CustomType.Setter public Builder requestString(String requestString) { - this.requestString = Objects.requireNonNull(requestString); + if (requestString == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "requestString"); + } + this.requestString = requestString; return this; } @CustomType.Setter public Builder responseString(String responseString) { - this.responseString = Objects.requireNonNull(responseString); + if (responseString == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "responseString"); + } + this.responseString = responseString; return this; } @CustomType.Setter public Builder status3xxFailure(Boolean status3xxFailure) { - this.status3xxFailure = Objects.requireNonNull(status3xxFailure); + if (status3xxFailure == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "status3xxFailure"); + } + this.status3xxFailure = status3xxFailure; return this; } @CustomType.Setter public Builder status4xxFailure(Boolean status4xxFailure) { - this.status4xxFailure = Objects.requireNonNull(status4xxFailure); + if (status4xxFailure == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "status4xxFailure"); + } + this.status4xxFailure = status4xxFailure; return this; } @CustomType.Setter public Builder status5xxFailure(Boolean status5xxFailure) { - this.status5xxFailure = Objects.requireNonNull(status5xxFailure); + if (status5xxFailure == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "status5xxFailure"); + } + this.status5xxFailure = status5xxFailure; return this; } @CustomType.Setter public Builder timeout(Double timeout) { - this.timeout = Objects.requireNonNull(timeout); + if (timeout == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerLivenessSetting", "timeout"); + } + this.timeout = timeout; return this; } public GetCloudletsApplicationLoadBalancerLivenessSetting build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java index b729f91505b..2e52a244617 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting; import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -95,17 +96,22 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder forwardSettings(List forwardSettings) { - this.forwardSettings = Objects.requireNonNull(forwardSettings); + if (forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRule", "forwardSettings"); + } + this.forwardSettings = forwardSettings; return this; } public Builder forwardSettings(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting... forwardSettings) { @@ -113,16 +119,19 @@ public Builder forwardSettings(GetCloudletsApplicationLoadBalancerMatchRuleMatch } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -131,22 +140,28 @@ public Builder matches(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatc } @CustomType.Setter public Builder matchesAlways(@Nullable Boolean matchesAlways) { + this.matchesAlways = matchesAlways; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java index 9d5fc71c09a..3fe2475ee42 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetti @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting", "originId"); + } + this.originId = originId; return this; } public GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleForwardSetting build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch.java index 8d0e0bf140e..5632a7634c6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatch defaul @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java index 18c57e42dce..62430a80e5a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectM @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 44fb98e4491..77ded22d016 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleMatchRuleMatchObjectM @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleResult.java index 38b70bd2efc..a5097350ba2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsApplicationLoadBalancerMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerResult.java index 4c376451188..3a673988338 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsApplicationLoadBalancerResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerDataCenter; import com.pulumi.akamai.outputs.GetCloudletsApplicationLoadBalancerLivenessSetting; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -133,22 +134,34 @@ public Builder(GetCloudletsApplicationLoadBalancerResult defaults) { @CustomType.Setter public Builder balancingType(String balancingType) { - this.balancingType = Objects.requireNonNull(balancingType); + if (balancingType == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "balancingType"); + } + this.balancingType = balancingType; return this; } @CustomType.Setter public Builder createdBy(String createdBy) { - this.createdBy = Objects.requireNonNull(createdBy); + if (createdBy == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "createdBy"); + } + this.createdBy = createdBy; return this; } @CustomType.Setter public Builder createdDate(String createdDate) { - this.createdDate = Objects.requireNonNull(createdDate); + if (createdDate == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "createdDate"); + } + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder dataCenters(List dataCenters) { - this.dataCenters = Objects.requireNonNull(dataCenters); + if (dataCenters == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "dataCenters"); + } + this.dataCenters = dataCenters; return this; } public Builder dataCenters(GetCloudletsApplicationLoadBalancerDataCenter... dataCenters) { @@ -156,37 +169,58 @@ public Builder dataCenters(GetCloudletsApplicationLoadBalancerDataCenter... data } @CustomType.Setter public Builder deleted(Boolean deleted) { - this.deleted = Objects.requireNonNull(deleted); + if (deleted == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "deleted"); + } + this.deleted = deleted; return this; } @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder immutable(Boolean immutable) { - this.immutable = Objects.requireNonNull(immutable); + if (immutable == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "immutable"); + } + this.immutable = immutable; return this; } @CustomType.Setter public Builder lastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = Objects.requireNonNull(lastModifiedBy); + if (lastModifiedBy == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "lastModifiedBy"); + } + this.lastModifiedBy = lastModifiedBy; return this; } @CustomType.Setter public Builder lastModifiedDate(String lastModifiedDate) { - this.lastModifiedDate = Objects.requireNonNull(lastModifiedDate); + if (lastModifiedDate == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "lastModifiedDate"); + } + this.lastModifiedDate = lastModifiedDate; return this; } @CustomType.Setter public Builder livenessSettings(List livenessSettings) { - this.livenessSettings = Objects.requireNonNull(livenessSettings); + if (livenessSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "livenessSettings"); + } + this.livenessSettings = livenessSettings; return this; } public Builder livenessSettings(GetCloudletsApplicationLoadBalancerLivenessSetting... livenessSettings) { @@ -194,22 +228,32 @@ public Builder livenessSettings(GetCloudletsApplicationLoadBalancerLivenessSetti } @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } @CustomType.Setter public Builder warnings(String warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetCloudletsApplicationLoadBalancerResult", "warnings"); + } + this.warnings = warnings; return this; } public GetCloudletsApplicationLoadBalancerResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java index 30f97fa3702..19089f9ceab 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.outputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -83,26 +84,33 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder forwardSettings(GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings forwardSettings) { - this.forwardSettings = Objects.requireNonNull(forwardSettings); + if (forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRule", "forwardSettings"); + } + this.forwardSettings = forwardSettings; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -111,17 +119,22 @@ public Builder matches(GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch.. } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsAudienceSegmentationMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings.java index 5421f37de4f..fe98e1ee58a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings.java @@ -49,16 +49,19 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleMatchRuleForwardSettings @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder pathAndQs(@Nullable String pathAndQs) { + this.pathAndQs = pathAndQs; return this; } @CustomType.Setter public Builder useIncomingQueryString(@Nullable Boolean useIncomingQueryString) { + this.useIncomingQueryString = useIncomingQueryString; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch.java index 499ed0aec9c..ac9c721540f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatch defaults) @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java index b61686599af..044463f2e12 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatc @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 3cd5fd63142..d63ac5455b1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleMatchRuleMatchObjectMatc @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleResult.java index 3f2734cbb65..add1b72d045 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsAudienceSegmentationMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsAudienceSegmentationMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsAudienceSegmentationMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsAudienceSegmentationMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java index 69bb16ed844..73cc3612308 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -100,21 +101,25 @@ public Builder(GetCloudletsEdgeRedirectorMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -123,36 +128,49 @@ public Builder matches(GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch... matc } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder redirectUrl(String redirectUrl) { - this.redirectUrl = Objects.requireNonNull(redirectUrl); + if (redirectUrl == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "redirectUrl"); + } + this.redirectUrl = redirectUrl; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder statusCode(Integer statusCode) { - this.statusCode = Objects.requireNonNull(statusCode); + if (statusCode == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "statusCode"); + } + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRule", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder useIncomingQueryString(@Nullable Boolean useIncomingQueryString) { + this.useIncomingQueryString = useIncomingQueryString; return this; } @CustomType.Setter public Builder useRelativeUrl(@Nullable String useRelativeUrl) { + this.useRelativeUrl = useRelativeUrl; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch.java index b632c44345b..695ce45550a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatch defaults) { @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java index cf8ae7c0ba4..c685fa86695 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 7d803073e33..f98a7f64d31 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsEdgeRedirectorMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleResult.java index 0f5c468df18..0856ec02c76 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsEdgeRedirectorMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsEdgeRedirectorMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsEdgeRedirectorMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsEdgeRedirectorMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java index b9bcc65569f..b0a34adace0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.outputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -83,26 +84,33 @@ public Builder(GetCloudletsForwardRewriteMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder forwardSettings(GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings forwardSettings) { - this.forwardSettings = Objects.requireNonNull(forwardSettings); + if (forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRule", "forwardSettings"); + } + this.forwardSettings = forwardSettings; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -111,17 +119,22 @@ public Builder matches(GetCloudletsForwardRewriteMatchRuleMatchRuleMatch... matc } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsForwardRewriteMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings.java index af217daf601..1863bfd00c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings.java @@ -49,16 +49,19 @@ public Builder(GetCloudletsForwardRewriteMatchRuleMatchRuleForwardSettings defau @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder pathAndQs(@Nullable String pathAndQs) { + this.pathAndQs = pathAndQs; return this; } @CustomType.Setter public Builder useIncomingQueryString(@Nullable Boolean useIncomingQueryString) { + this.useIncomingQueryString = useIncomingQueryString; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatch.java index b86ab43ef8e..d04acaebf6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsForwardRewriteMatchRuleMatchRuleMatch defaults) { @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java index f2d07146415..27af3fefdf3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 00c9c71ec48..3733e1c4a1c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsForwardRewriteMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleResult.java index 30efad211e0..7ecab22f08c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsForwardRewriteMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsForwardRewriteMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsForwardRewriteMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsForwardRewriteMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java index 81bbef8a360..42284587e32 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRule.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings; import com.pulumi.akamai.outputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -89,26 +90,33 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder forwardSettings(GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings forwardSettings) { - this.forwardSettings = Objects.requireNonNull(forwardSettings); + if (forwardSettings == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRule", "forwardSettings"); + } + this.forwardSettings = forwardSettings; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -117,22 +125,28 @@ public Builder matches(GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch... match } @CustomType.Setter public Builder matchesAlways(@Nullable Boolean matchesAlways) { + this.matchesAlways = matchesAlways; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsPhasedReleaseMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java index ae06b192aa5..380f0ff8a96 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings defaul @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder percent(Integer percent) { - this.percent = Objects.requireNonNull(percent); + if (percent == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings", "percent"); + } + this.percent = percent; return this; } public GetCloudletsPhasedReleaseMatchRuleMatchRuleForwardSettings build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch.java index 309324ea9db..594367540f2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleMatchRuleMatch defaults) { @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java index 2ce5c041751..4d3966db17c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 9218e896df7..6e5a58959e8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleMatchRuleMatchObjectMatchValueO @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleResult.java index 6b87780834a..8bbb3af28e8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPhasedReleaseMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsPhasedReleaseMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsPhasedReleaseMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsPhasedReleaseMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivation.java index 329def4b204..6379c4a203e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivation.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudletsPolicyActivationPolicyInfo; import com.pulumi.akamai.outputs.GetCloudletsPolicyActivationPropertyInfo; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetCloudletsPolicyActivation defaults) { @CustomType.Setter public Builder apiVersion(String apiVersion) { - this.apiVersion = Objects.requireNonNull(apiVersion); + if (apiVersion == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivation", "apiVersion"); + } + this.apiVersion = apiVersion; return this; } @CustomType.Setter public Builder network(String network) { - this.network = Objects.requireNonNull(network); + if (network == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivation", "network"); + } + this.network = network; return this; } @CustomType.Setter public Builder policyInfos(List policyInfos) { - this.policyInfos = Objects.requireNonNull(policyInfos); + if (policyInfos == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivation", "policyInfos"); + } + this.policyInfos = policyInfos; return this; } public Builder policyInfos(GetCloudletsPolicyActivationPolicyInfo... policyInfos) { @@ -73,7 +83,10 @@ public Builder policyInfos(GetCloudletsPolicyActivationPolicyInfo... policyInfos } @CustomType.Setter public Builder propertyInfos(List propertyInfos) { - this.propertyInfos = Objects.requireNonNull(propertyInfos); + if (propertyInfos == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivation", "propertyInfos"); + } + this.propertyInfos = propertyInfos; return this; } public Builder propertyInfos(GetCloudletsPolicyActivationPropertyInfo... propertyInfos) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPolicyInfo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPolicyInfo.java index 085aec3865b..b16dbebe47f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPolicyInfo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPolicyInfo.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -71,37 +72,58 @@ public Builder(GetCloudletsPolicyActivationPolicyInfo defaults) { @CustomType.Setter public Builder activatedBy(String activatedBy) { - this.activatedBy = Objects.requireNonNull(activatedBy); + if (activatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "activatedBy"); + } + this.activatedBy = activatedBy; return this; } @CustomType.Setter public Builder activationDate(Integer activationDate) { - this.activationDate = Objects.requireNonNull(activationDate); + if (activationDate == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "activationDate"); + } + this.activationDate = activationDate; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder policyId(Integer policyId) { - this.policyId = Objects.requireNonNull(policyId); + if (policyId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "policyId"); + } + this.policyId = policyId; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "status"); + } + this.status = status; return this; } @CustomType.Setter public Builder statusDetail(String statusDetail) { - this.statusDetail = Objects.requireNonNull(statusDetail); + if (statusDetail == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "statusDetail"); + } + this.statusDetail = statusDetail; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPolicyInfo", "version"); + } + this.version = version; return this; } public GetCloudletsPolicyActivationPolicyInfo build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPropertyInfo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPropertyInfo.java index 4fc71ea824a..c0b751a3a98 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPropertyInfo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyActivationPropertyInfo.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,32 +66,50 @@ public Builder(GetCloudletsPolicyActivationPropertyInfo defaults) { @CustomType.Setter public Builder activatedBy(String activatedBy) { - this.activatedBy = Objects.requireNonNull(activatedBy); + if (activatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "activatedBy"); + } + this.activatedBy = activatedBy; return this; } @CustomType.Setter public Builder activationDate(Integer activationDate) { - this.activationDate = Objects.requireNonNull(activationDate); + if (activationDate == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "activationDate"); + } + this.activationDate = activationDate; return this; } @CustomType.Setter public Builder groupId(Integer groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "status"); + } + this.status = status; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyActivationPropertyInfo", "version"); + } + this.version = version; return this; } public GetCloudletsPolicyActivationPropertyInfo build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyResult.java index f654d262adb..975dcfafda9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsPolicyResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsPolicyActivation; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -138,7 +139,10 @@ public Builder(GetCloudletsPolicyResult defaults) { @CustomType.Setter public Builder activations(List activations) { - this.activations = Objects.requireNonNull(activations); + if (activations == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "activations"); + } + this.activations = activations; return this; } public Builder activations(GetCloudletsPolicyActivation... activations) { @@ -146,77 +150,120 @@ public Builder activations(GetCloudletsPolicyActivation... activations) { } @CustomType.Setter public Builder apiVersion(String apiVersion) { - this.apiVersion = Objects.requireNonNull(apiVersion); + if (apiVersion == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "apiVersion"); + } + this.apiVersion = apiVersion; return this; } @CustomType.Setter public Builder cloudletCode(String cloudletCode) { - this.cloudletCode = Objects.requireNonNull(cloudletCode); + if (cloudletCode == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "cloudletCode"); + } + this.cloudletCode = cloudletCode; return this; } @CustomType.Setter public Builder cloudletId(Integer cloudletId) { - this.cloudletId = Objects.requireNonNull(cloudletId); + if (cloudletId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "cloudletId"); + } + this.cloudletId = cloudletId; return this; } @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder groupId(Integer groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder matchRuleFormat(String matchRuleFormat) { - this.matchRuleFormat = Objects.requireNonNull(matchRuleFormat); + if (matchRuleFormat == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "matchRuleFormat"); + } + this.matchRuleFormat = matchRuleFormat; return this; } @CustomType.Setter public Builder matchRules(String matchRules) { - this.matchRules = Objects.requireNonNull(matchRules); + if (matchRules == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "matchRules"); + } + this.matchRules = matchRules; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder policyId(Integer policyId) { - this.policyId = Objects.requireNonNull(policyId); + if (policyId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "policyId"); + } + this.policyId = policyId; return this; } @CustomType.Setter public Builder revisionId(Integer revisionId) { - this.revisionId = Objects.requireNonNull(revisionId); + if (revisionId == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "revisionId"); + } + this.revisionId = revisionId; return this; } @CustomType.Setter public Builder rulesLocked(Boolean rulesLocked) { - this.rulesLocked = Objects.requireNonNull(rulesLocked); + if (rulesLocked == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "rulesLocked"); + } + this.rulesLocked = rulesLocked; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } @CustomType.Setter public Builder versionDescription(String versionDescription) { - this.versionDescription = Objects.requireNonNull(versionDescription); + if (versionDescription == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "versionDescription"); + } + this.versionDescription = versionDescription; return this; } @CustomType.Setter public Builder warnings(String warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetCloudletsPolicyResult", "warnings"); + } + this.warnings = warnings; return this; } public GetCloudletsPolicyResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRule.java index 359d6e90304..1a4f4bb8ab0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsRequestControlMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -82,21 +83,27 @@ public Builder(GetCloudletsRequestControlMatchRuleMatchRule defaults) { @CustomType.Setter public Builder allowDeny(String allowDeny) { - this.allowDeny = Objects.requireNonNull(allowDeny); + if (allowDeny == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRule", "allowDeny"); + } + this.allowDeny = allowDeny; return this; } @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -105,22 +112,28 @@ public Builder matches(GetCloudletsRequestControlMatchRuleMatchRuleMatch... matc } @CustomType.Setter public Builder matchesAlways(@Nullable Boolean matchesAlways) { + this.matchesAlways = matchesAlways; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsRequestControlMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatch.java index 161af827f11..59a4eb93b15 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsRequestControlMatchRuleMatchRuleMatch defaults) { @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java index 7f5e7cab2e0..7c0f2552830 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions.java index c760e2eabef..a781e4e6217 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsRequestControlMatchRuleMatchRuleMatchObjectMatchValue @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleResult.java index 8b1fa62fef2..181fd0cf21f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsRequestControlMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsRequestControlMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsRequestControlMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsRequestControlMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java index 706fee3811d..803188a8496 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRule.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -83,21 +84,25 @@ public Builder(GetCloudletsVisitorPrioritizationMatchRuleMatchRule defaults) { @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder end(@Nullable Integer end) { + this.end = end; return this; } @CustomType.Setter public Builder matchUrl(@Nullable String matchUrl) { + this.matchUrl = matchUrl; return this; } @CustomType.Setter public Builder matches(@Nullable List matches) { + this.matches = matches; return this; } @@ -106,22 +111,30 @@ public Builder matches(GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch. } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder passThroughPercent(Double passThroughPercent) { - this.passThroughPercent = Objects.requireNonNull(passThroughPercent); + if (passThroughPercent == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRule", "passThroughPercent"); + } + this.passThroughPercent = passThroughPercent; return this; } @CustomType.Setter public Builder start(@Nullable Integer start) { + this.start = start; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRule", "type"); + } + this.type = type; return this; } public GetCloudletsVisitorPrioritizationMatchRuleMatchRule build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch.java index e2acf3d01b3..3a726d3c6f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch.java @@ -75,36 +75,43 @@ public Builder(GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatch defaults @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchType(@Nullable String matchType) { + this.matchType = matchType; return this; } @CustomType.Setter public Builder matchValue(@Nullable String matchValue) { + this.matchValue = matchValue; return this; } @CustomType.Setter public Builder negate(@Nullable Boolean negate) { + this.negate = negate; return this; } @CustomType.Setter public Builder objectMatchValues(@Nullable List objectMatchValues) { + this.objectMatchValues = objectMatchValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java index c4afaf6eaea..5eeb0634b21 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,31 +70,39 @@ public Builder(GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMat @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder nameCaseSensitive(@Nullable Boolean nameCaseSensitive) { + this.nameCaseSensitive = nameCaseSensitive; return this; } @CustomType.Setter public Builder nameHasWildcard(@Nullable Boolean nameHasWildcard) { + this.nameHasWildcard = nameHasWildcard; return this; } @CustomType.Setter public Builder options(@Nullable GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions options) { + this.options = options; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValue", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java index 9fdda7cf22d..04b3fcc50c2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMatchValueOptions.java @@ -56,21 +56,25 @@ public Builder(GetCloudletsVisitorPrioritizationMatchRuleMatchRuleMatchObjectMat @CustomType.Setter public Builder valueCaseSensitive(@Nullable Boolean valueCaseSensitive) { + this.valueCaseSensitive = valueCaseSensitive; return this; } @CustomType.Setter public Builder valueEscaped(@Nullable Boolean valueEscaped) { + this.valueEscaped = valueEscaped; return this; } @CustomType.Setter public Builder valueHasWildcard(@Nullable Boolean valueHasWildcard) { + this.valueHasWildcard = valueHasWildcard; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleResult.java index bd48556e17d..8cc5e1fb324 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudletsVisitorPrioritizationMatchRuleResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRule; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,16 +58,23 @@ public Builder(GetCloudletsVisitorPrioritizationMatchRuleResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetCloudletsVisitorPrioritizationMatchRuleResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder matchRules(@Nullable List matchRules) { + this.matchRules = matchRules; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacity.java index 422c0c92a89..43ad2c611c7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacity.java @@ -7,6 +7,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperCapacitiesCapacityAssigned; import com.pulumi.akamai.outputs.GetCloudwrapperCapacitiesCapacityUnassigned; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,37 +75,58 @@ public Builder(GetCloudwrapperCapacitiesCapacity defaults) { @CustomType.Setter public Builder approved(GetCloudwrapperCapacitiesCapacityApproved approved) { - this.approved = Objects.requireNonNull(approved); + if (approved == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "approved"); + } + this.approved = approved; return this; } @CustomType.Setter public Builder assigned(GetCloudwrapperCapacitiesCapacityAssigned assigned) { - this.assigned = Objects.requireNonNull(assigned); + if (assigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "assigned"); + } + this.assigned = assigned; return this; } @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder locationId(Integer locationId) { - this.locationId = Objects.requireNonNull(locationId); + if (locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "locationId"); + } + this.locationId = locationId; return this; } @CustomType.Setter public Builder locationName(String locationName) { - this.locationName = Objects.requireNonNull(locationName); + if (locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "locationName"); + } + this.locationName = locationName; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder unassigned(GetCloudwrapperCapacitiesCapacityUnassigned unassigned) { - this.unassigned = Objects.requireNonNull(unassigned); + if (unassigned == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacity", "unassigned"); + } + this.unassigned = unassigned; return this; } public GetCloudwrapperCapacitiesCapacity build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityApproved.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityApproved.java index 0e4ed2689b3..a0b58214238 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityApproved.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityApproved.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudwrapperCapacitiesCapacityApproved defaults) { @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApproved", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityApproved", "value"); + } + this.value = value; return this; } public GetCloudwrapperCapacitiesCapacityApproved build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityAssigned.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityAssigned.java index 13b48160f36..e0568168f14 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityAssigned.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityAssigned.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudwrapperCapacitiesCapacityAssigned defaults) { @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssigned", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityAssigned", "value"); + } + this.value = value; return this; } public GetCloudwrapperCapacitiesCapacityAssigned build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityUnassigned.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityUnassigned.java index 81b1cf69700..a9277f362c8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityUnassigned.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesCapacityUnassigned.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudwrapperCapacitiesCapacityUnassigned defaults) { @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassigned", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesCapacityUnassigned", "value"); + } + this.value = value; return this; } public GetCloudwrapperCapacitiesCapacityUnassigned build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesResult.java index 4628b057fc5..cbe96c10daa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperCapacitiesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperCapacitiesCapacity; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -61,6 +62,7 @@ public Builder(GetCloudwrapperCapacitiesResult defaults) { @CustomType.Setter public Builder capacities(@Nullable List capacities) { + this.capacities = capacities; return this; } @@ -69,6 +71,7 @@ public Builder capacities(GetCloudwrapperCapacitiesCapacity... capacities) { } @CustomType.Setter public Builder contractIds(@Nullable List contractIds) { + this.contractIds = contractIds; return this; } @@ -77,7 +80,10 @@ public Builder contractIds(String... contractIds) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperCapacitiesResult", "id"); + } + this.id = id; return this; } public GetCloudwrapperCapacitiesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocation.java index c0dfeb018d3..c175b6413b1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationLocationCapacity; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -54,22 +55,34 @@ public Builder(GetCloudwrapperConfigurationLocation defaults) { @CustomType.Setter public Builder capacity(GetCloudwrapperConfigurationLocationCapacity capacity) { - this.capacity = Objects.requireNonNull(capacity); + if (capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "capacity"); + } + this.capacity = capacity; return this; } @CustomType.Setter public Builder comments(String comments) { - this.comments = Objects.requireNonNull(comments); + if (comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "comments"); + } + this.comments = comments; return this; } @CustomType.Setter public Builder mapName(String mapName) { - this.mapName = Objects.requireNonNull(mapName); + if (mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "mapName"); + } + this.mapName = mapName; return this; } @CustomType.Setter public Builder trafficTypeId(Integer trafficTypeId) { - this.trafficTypeId = Objects.requireNonNull(trafficTypeId); + if (trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocation", "trafficTypeId"); + } + this.trafficTypeId = trafficTypeId; return this; } public GetCloudwrapperConfigurationLocation build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocationCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocationCapacity.java index 2649a0fdf73..9c501d8aed0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocationCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationLocationCapacity.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudwrapperConfigurationLocationCapacity defaults) { @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacity", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationLocationCapacity", "value"); + } + this.value = value; return this; } public GetCloudwrapperConfigurationLocationCapacity build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettings.java index 45ae244873d..40895518be5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettings.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationMultiCdnSettingsDataStreams; import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationMultiCdnSettingsOrigin; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -65,11 +66,13 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettings defaults) { @CustomType.Setter public Builder bocc(@Nullable GetCloudwrapperConfigurationMultiCdnSettingsBocc bocc) { + this.bocc = bocc; return this; } @CustomType.Setter public Builder cdns(@Nullable List cdns) { + this.cdns = cdns; return this; } @@ -78,16 +81,21 @@ public Builder cdns(GetCloudwrapperConfigurationMultiCdnSettingsCdn... cdns) { } @CustomType.Setter public Builder dataStreams(@Nullable GetCloudwrapperConfigurationMultiCdnSettingsDataStreams dataStreams) { + this.dataStreams = dataStreams; return this; } @CustomType.Setter public Builder enableSoftAlerts(Boolean enableSoftAlerts) { - this.enableSoftAlerts = Objects.requireNonNull(enableSoftAlerts); + if (enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettings", "enableSoftAlerts"); + } + this.enableSoftAlerts = enableSoftAlerts; return this; } @CustomType.Setter public Builder origins(@Nullable List origins) { + this.origins = origins; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java index fc2c0ed15c8..fb66d674526 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsBocc.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettingsBocc defaults) { @CustomType.Setter public Builder conditionalSamplingFrequency(String conditionalSamplingFrequency) { - this.conditionalSamplingFrequency = Objects.requireNonNull(conditionalSamplingFrequency); + if (conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "conditionalSamplingFrequency"); + } + this.conditionalSamplingFrequency = conditionalSamplingFrequency; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardType(String forwardType) { - this.forwardType = Objects.requireNonNull(forwardType); + if (forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "forwardType"); + } + this.forwardType = forwardType; return this; } @CustomType.Setter public Builder requestType(String requestType) { - this.requestType = Objects.requireNonNull(requestType); + if (requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "requestType"); + } + this.requestType = requestType; return this; } @CustomType.Setter public Builder samplingFrequency(String samplingFrequency) { - this.samplingFrequency = Objects.requireNonNull(samplingFrequency); + if (samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsBocc", "samplingFrequency"); + } + this.samplingFrequency = samplingFrequency; return this; } public GetCloudwrapperConfigurationMultiCdnSettingsBocc build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java index 918d1ab7c6a..b15ae03f1a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdn.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -62,6 +63,7 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettingsCdn defaults) { @CustomType.Setter public Builder cdnAuthKeys(@Nullable List cdnAuthKeys) { + this.cdnAuthKeys = cdnAuthKeys; return this; } @@ -70,22 +72,34 @@ public Builder cdnAuthKeys(GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAut } @CustomType.Setter public Builder cdnCode(String cdnCode) { - this.cdnCode = Objects.requireNonNull(cdnCode); + if (cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "cdnCode"); + } + this.cdnCode = cdnCode; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder httpsOnly(Boolean httpsOnly) { - this.httpsOnly = Objects.requireNonNull(httpsOnly); + if (httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "httpsOnly"); + } + this.httpsOnly = httpsOnly; return this; } @CustomType.Setter public Builder ipAclCidrs(List ipAclCidrs) { - this.ipAclCidrs = Objects.requireNonNull(ipAclCidrs); + if (ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdn", "ipAclCidrs"); + } + this.ipAclCidrs = ipAclCidrs; return this; } public Builder ipAclCidrs(String... ipAclCidrs) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java index 251c382b5a2..bc503b8eaac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -52,22 +53,34 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey default @CustomType.Setter public Builder authKeyName(String authKeyName) { - this.authKeyName = Objects.requireNonNull(authKeyName); + if (authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "authKeyName"); + } + this.authKeyName = authKeyName; return this; } @CustomType.Setter public Builder expiryDate(String expiryDate) { - this.expiryDate = Objects.requireNonNull(expiryDate); + if (expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "expiryDate"); + } + this.expiryDate = expiryDate; return this; } @CustomType.Setter public Builder headerName(String headerName) { - this.headerName = Objects.requireNonNull(headerName); + if (headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "headerName"); + } + this.headerName = headerName; return this; } @CustomType.Setter public Builder secret(String secret) { - this.secret = Objects.requireNonNull(secret); + if (secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey", "secret"); + } + this.secret = secret; return this; } public GetCloudwrapperConfigurationMultiCdnSettingsCdnCdnAuthKey build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java index 6be914d0092..4b3ee683767 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsDataStreams.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -48,7 +49,10 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettingsDataStreams defaults) @CustomType.Setter public Builder dataStreamIds(List dataStreamIds) { - this.dataStreamIds = Objects.requireNonNull(dataStreamIds); + if (dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "dataStreamIds"); + } + this.dataStreamIds = dataStreamIds; return this; } public Builder dataStreamIds(Integer... dataStreamIds) { @@ -56,12 +60,18 @@ public Builder dataStreamIds(Integer... dataStreamIds) { } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder samplingRate(Integer samplingRate) { - this.samplingRate = Objects.requireNonNull(samplingRate); + if (samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsDataStreams", "samplingRate"); + } + this.samplingRate = samplingRate; return this; } public GetCloudwrapperConfigurationMultiCdnSettingsDataStreams build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java index a7b6d086b7d..b3b0449eb87 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationMultiCdnSettingsOrigin.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetCloudwrapperConfigurationMultiCdnSettingsOrigin defaults) { @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder propertyId(Integer propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationMultiCdnSettingsOrigin", "propertyId"); + } + this.propertyId = propertyId; return this; } public GetCloudwrapperConfigurationMultiCdnSettingsOrigin build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationResult.java index c3b2c605c48..f03ea2855dd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationLocation; import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationMultiCdnSettings; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -125,51 +126,79 @@ public Builder(GetCloudwrapperConfigurationResult defaults) { @CustomType.Setter public Builder capacityAlertsThreshold(Integer capacityAlertsThreshold) { - this.capacityAlertsThreshold = Objects.requireNonNull(capacityAlertsThreshold); + if (capacityAlertsThreshold == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "capacityAlertsThreshold"); + } + this.capacityAlertsThreshold = capacityAlertsThreshold; return this; } @CustomType.Setter public Builder comments(String comments) { - this.comments = Objects.requireNonNull(comments); + if (comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "comments"); + } + this.comments = comments; return this; } @CustomType.Setter public Builder configName(String configName) { - this.configName = Objects.requireNonNull(configName); + if (configName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "configName"); + } + this.configName = configName; return this; } @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder id(Integer id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder lastActivatedBy(String lastActivatedBy) { - this.lastActivatedBy = Objects.requireNonNull(lastActivatedBy); + if (lastActivatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "lastActivatedBy"); + } + this.lastActivatedBy = lastActivatedBy; return this; } @CustomType.Setter public Builder lastActivatedDate(String lastActivatedDate) { - this.lastActivatedDate = Objects.requireNonNull(lastActivatedDate); + if (lastActivatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "lastActivatedDate"); + } + this.lastActivatedDate = lastActivatedDate; return this; } @CustomType.Setter public Builder lastUpdatedBy(String lastUpdatedBy) { - this.lastUpdatedBy = Objects.requireNonNull(lastUpdatedBy); + if (lastUpdatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "lastUpdatedBy"); + } + this.lastUpdatedBy = lastUpdatedBy; return this; } @CustomType.Setter public Builder lastUpdatedDate(String lastUpdatedDate) { - this.lastUpdatedDate = Objects.requireNonNull(lastUpdatedDate); + if (lastUpdatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "lastUpdatedDate"); + } + this.lastUpdatedDate = lastUpdatedDate; return this; } @CustomType.Setter public Builder locations(@Nullable List locations) { + this.locations = locations; return this; } @@ -178,12 +207,16 @@ public Builder locations(GetCloudwrapperConfigurationLocation... locations) { } @CustomType.Setter public Builder multiCdnSettings(@Nullable GetCloudwrapperConfigurationMultiCdnSettings multiCdnSettings) { + this.multiCdnSettings = multiCdnSettings; return this; } @CustomType.Setter public Builder notificationEmails(List notificationEmails) { - this.notificationEmails = Objects.requireNonNull(notificationEmails); + if (notificationEmails == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "notificationEmails"); + } + this.notificationEmails = notificationEmails; return this; } public Builder notificationEmails(String... notificationEmails) { @@ -191,7 +224,10 @@ public Builder notificationEmails(String... notificationEmails) { } @CustomType.Setter public Builder propertyIds(List propertyIds) { - this.propertyIds = Objects.requireNonNull(propertyIds); + if (propertyIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "propertyIds"); + } + this.propertyIds = propertyIds; return this; } public Builder propertyIds(String... propertyIds) { @@ -199,12 +235,18 @@ public Builder propertyIds(String... propertyIds) { } @CustomType.Setter public Builder retainIdleObjects(Boolean retainIdleObjects) { - this.retainIdleObjects = Objects.requireNonNull(retainIdleObjects); + if (retainIdleObjects == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "retainIdleObjects"); + } + this.retainIdleObjects = retainIdleObjects; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationResult", "status"); + } + this.status = status; return this; } public GetCloudwrapperConfigurationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfiguration.java index 4993c67ff0d..debe42f00fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfiguration.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationLocation; import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettings; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -125,51 +126,79 @@ public Builder(GetCloudwrapperConfigurationsConfiguration defaults) { @CustomType.Setter public Builder capacityAlertsThreshold(Integer capacityAlertsThreshold) { - this.capacityAlertsThreshold = Objects.requireNonNull(capacityAlertsThreshold); + if (capacityAlertsThreshold == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "capacityAlertsThreshold"); + } + this.capacityAlertsThreshold = capacityAlertsThreshold; return this; } @CustomType.Setter public Builder comments(String comments) { - this.comments = Objects.requireNonNull(comments); + if (comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "comments"); + } + this.comments = comments; return this; } @CustomType.Setter public Builder configName(String configName) { - this.configName = Objects.requireNonNull(configName); + if (configName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "configName"); + } + this.configName = configName; return this; } @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder id(Integer id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder lastActivatedBy(String lastActivatedBy) { - this.lastActivatedBy = Objects.requireNonNull(lastActivatedBy); + if (lastActivatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastActivatedBy"); + } + this.lastActivatedBy = lastActivatedBy; return this; } @CustomType.Setter public Builder lastActivatedDate(String lastActivatedDate) { - this.lastActivatedDate = Objects.requireNonNull(lastActivatedDate); + if (lastActivatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastActivatedDate"); + } + this.lastActivatedDate = lastActivatedDate; return this; } @CustomType.Setter public Builder lastUpdatedBy(String lastUpdatedBy) { - this.lastUpdatedBy = Objects.requireNonNull(lastUpdatedBy); + if (lastUpdatedBy == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastUpdatedBy"); + } + this.lastUpdatedBy = lastUpdatedBy; return this; } @CustomType.Setter public Builder lastUpdatedDate(String lastUpdatedDate) { - this.lastUpdatedDate = Objects.requireNonNull(lastUpdatedDate); + if (lastUpdatedDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "lastUpdatedDate"); + } + this.lastUpdatedDate = lastUpdatedDate; return this; } @CustomType.Setter public Builder locations(@Nullable List locations) { + this.locations = locations; return this; } @@ -178,12 +207,16 @@ public Builder locations(GetCloudwrapperConfigurationsConfigurationLocation... l } @CustomType.Setter public Builder multiCdnSettings(@Nullable GetCloudwrapperConfigurationsConfigurationMultiCdnSettings multiCdnSettings) { + this.multiCdnSettings = multiCdnSettings; return this; } @CustomType.Setter public Builder notificationEmails(List notificationEmails) { - this.notificationEmails = Objects.requireNonNull(notificationEmails); + if (notificationEmails == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "notificationEmails"); + } + this.notificationEmails = notificationEmails; return this; } public Builder notificationEmails(String... notificationEmails) { @@ -191,7 +224,10 @@ public Builder notificationEmails(String... notificationEmails) { } @CustomType.Setter public Builder propertyIds(List propertyIds) { - this.propertyIds = Objects.requireNonNull(propertyIds); + if (propertyIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "propertyIds"); + } + this.propertyIds = propertyIds; return this; } public Builder propertyIds(String... propertyIds) { @@ -199,12 +235,18 @@ public Builder propertyIds(String... propertyIds) { } @CustomType.Setter public Builder retainIdleObjects(Boolean retainIdleObjects) { - this.retainIdleObjects = Objects.requireNonNull(retainIdleObjects); + if (retainIdleObjects == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "retainIdleObjects"); + } + this.retainIdleObjects = retainIdleObjects; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfiguration", "status"); + } + this.status = status; return this; } public GetCloudwrapperConfigurationsConfiguration build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocation.java index d4060774975..c9692045b39 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationLocationCapacity; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -54,22 +55,34 @@ public Builder(GetCloudwrapperConfigurationsConfigurationLocation defaults) { @CustomType.Setter public Builder capacity(GetCloudwrapperConfigurationsConfigurationLocationCapacity capacity) { - this.capacity = Objects.requireNonNull(capacity); + if (capacity == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "capacity"); + } + this.capacity = capacity; return this; } @CustomType.Setter public Builder comments(String comments) { - this.comments = Objects.requireNonNull(comments); + if (comments == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "comments"); + } + this.comments = comments; return this; } @CustomType.Setter public Builder mapName(String mapName) { - this.mapName = Objects.requireNonNull(mapName); + if (mapName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "mapName"); + } + this.mapName = mapName; return this; } @CustomType.Setter public Builder trafficTypeId(Integer trafficTypeId) { - this.trafficTypeId = Objects.requireNonNull(trafficTypeId); + if (trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocation", "trafficTypeId"); + } + this.trafficTypeId = trafficTypeId; return this; } public GetCloudwrapperConfigurationsConfigurationLocation build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java index 9909244aaf5..699c4b640b6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationLocationCapacity.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetCloudwrapperConfigurationsConfigurationLocationCapacity defaul @CustomType.Setter public Builder unit(String unit) { - this.unit = Objects.requireNonNull(unit); + if (unit == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacity", "unit"); + } + this.unit = unit; return this; } @CustomType.Setter public Builder value(Integer value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationLocationCapacity", "value"); + } + this.value = value; return this; } public GetCloudwrapperConfigurationsConfigurationLocationCapacity build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java index b5c01470571..923d1cfdbd0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettings.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams; import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.util.List; import java.util.Objects; @@ -65,11 +66,13 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettings defaul @CustomType.Setter public Builder bocc(@Nullable GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc bocc) { + this.bocc = bocc; return this; } @CustomType.Setter public Builder cdns(@Nullable List cdns) { + this.cdns = cdns; return this; } @@ -78,16 +81,21 @@ public Builder cdns(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCd } @CustomType.Setter public Builder dataStreams(@Nullable GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams dataStreams) { + this.dataStreams = dataStreams; return this; } @CustomType.Setter public Builder enableSoftAlerts(Boolean enableSoftAlerts) { - this.enableSoftAlerts = Objects.requireNonNull(enableSoftAlerts); + if (enableSoftAlerts == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettings", "enableSoftAlerts"); + } + this.enableSoftAlerts = enableSoftAlerts; return this; } @CustomType.Setter public Builder origins(@Nullable List origins) { + this.origins = origins; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java index fd850a592de..82a7d789d44 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc de @CustomType.Setter public Builder conditionalSamplingFrequency(String conditionalSamplingFrequency) { - this.conditionalSamplingFrequency = Objects.requireNonNull(conditionalSamplingFrequency); + if (conditionalSamplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "conditionalSamplingFrequency"); + } + this.conditionalSamplingFrequency = conditionalSamplingFrequency; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardType(String forwardType) { - this.forwardType = Objects.requireNonNull(forwardType); + if (forwardType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "forwardType"); + } + this.forwardType = forwardType; return this; } @CustomType.Setter public Builder requestType(String requestType) { - this.requestType = Objects.requireNonNull(requestType); + if (requestType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "requestType"); + } + this.requestType = requestType; return this; } @CustomType.Setter public Builder samplingFrequency(String samplingFrequency) { - this.samplingFrequency = Objects.requireNonNull(samplingFrequency); + if (samplingFrequency == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc", "samplingFrequency"); + } + this.samplingFrequency = samplingFrequency; return this; } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsBocc build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java index 41031f18d8c..33551c86fca 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -62,6 +63,7 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn def @CustomType.Setter public Builder cdnAuthKeys(@Nullable List cdnAuthKeys) { + this.cdnAuthKeys = cdnAuthKeys; return this; } @@ -70,22 +72,34 @@ public Builder cdnAuthKeys(GetCloudwrapperConfigurationsConfigurationMultiCdnSet } @CustomType.Setter public Builder cdnCode(String cdnCode) { - this.cdnCode = Objects.requireNonNull(cdnCode); + if (cdnCode == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "cdnCode"); + } + this.cdnCode = cdnCode; return this; } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder httpsOnly(Boolean httpsOnly) { - this.httpsOnly = Objects.requireNonNull(httpsOnly); + if (httpsOnly == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "httpsOnly"); + } + this.httpsOnly = httpsOnly; return this; } @CustomType.Setter public Builder ipAclCidrs(List ipAclCidrs) { - this.ipAclCidrs = Objects.requireNonNull(ipAclCidrs); + if (ipAclCidrs == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdn", "ipAclCidrs"); + } + this.ipAclCidrs = ipAclCidrs; return this; } public Builder ipAclCidrs(String... ipAclCidrs) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java index 9f6a2be5155..c7d5097fecf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -52,22 +53,34 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnA @CustomType.Setter public Builder authKeyName(String authKeyName) { - this.authKeyName = Objects.requireNonNull(authKeyName); + if (authKeyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "authKeyName"); + } + this.authKeyName = authKeyName; return this; } @CustomType.Setter public Builder expiryDate(String expiryDate) { - this.expiryDate = Objects.requireNonNull(expiryDate); + if (expiryDate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "expiryDate"); + } + this.expiryDate = expiryDate; return this; } @CustomType.Setter public Builder headerName(String headerName) { - this.headerName = Objects.requireNonNull(headerName); + if (headerName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "headerName"); + } + this.headerName = headerName; return this; } @CustomType.Setter public Builder secret(String secret) { - this.secret = Objects.requireNonNull(secret); + if (secret == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey", "secret"); + } + this.secret = secret; return this; } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsCdnCdnAuthKey build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java index 4fec3a26e9a..b69f9739a82 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.util.List; @@ -48,7 +49,10 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStr @CustomType.Setter public Builder dataStreamIds(List dataStreamIds) { - this.dataStreamIds = Objects.requireNonNull(dataStreamIds); + if (dataStreamIds == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "dataStreamIds"); + } + this.dataStreamIds = dataStreamIds; return this; } public Builder dataStreamIds(Integer... dataStreamIds) { @@ -56,12 +60,18 @@ public Builder dataStreamIds(Integer... dataStreamIds) { } @CustomType.Setter public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + if (enabled == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "enabled"); + } + this.enabled = enabled; return this; } @CustomType.Setter public Builder samplingRate(Integer samplingRate) { - this.samplingRate = Objects.requireNonNull(samplingRate); + if (samplingRate == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams", "samplingRate"); + } + this.samplingRate = samplingRate; return this; } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsDataStreams build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java index 756408fe58f..da485a68727 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder originId(String originId) { - this.originId = Objects.requireNonNull(originId); + if (originId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "originId"); + } + this.originId = originId; return this; } @CustomType.Setter public Builder propertyId(Integer propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin", "propertyId"); + } + this.propertyId = propertyId; return this; } public GetCloudwrapperConfigurationsConfigurationMultiCdnSettingsOrigin build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsResult.java index a7969efa97c..e273d9a5de1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperConfigurationsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperConfigurationsConfiguration; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,6 +56,7 @@ public Builder(GetCloudwrapperConfigurationsResult defaults) { @CustomType.Setter public Builder configurations(@Nullable List configurations) { + this.configurations = configurations; return this; } @@ -63,7 +65,10 @@ public Builder configurations(GetCloudwrapperConfigurationsConfiguration... conf } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperConfigurationsResult", "id"); + } + this.id = id; return this; } public GetCloudwrapperConfigurationsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationResult.java index d674fe4b9d2..7f444f247a4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -71,27 +72,42 @@ public Builder(GetCloudwrapperLocationResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder locationId(String locationId) { - this.locationId = Objects.requireNonNull(locationId); + if (locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationResult", "locationId"); + } + this.locationId = locationId; return this; } @CustomType.Setter public Builder locationName(String locationName) { - this.locationName = Objects.requireNonNull(locationName); + if (locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationResult", "locationName"); + } + this.locationName = locationName; return this; } @CustomType.Setter public Builder trafficType(String trafficType) { - this.trafficType = Objects.requireNonNull(trafficType); + if (trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationResult", "trafficType"); + } + this.trafficType = trafficType; return this; } @CustomType.Setter public Builder trafficTypeId(Integer trafficTypeId) { - this.trafficTypeId = Objects.requireNonNull(trafficTypeId); + if (trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationResult", "trafficTypeId"); + } + this.trafficTypeId = trafficTypeId; return this; } public GetCloudwrapperLocationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocation.java index af915fe7a8f..76abc6fecc4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocation.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperLocationsLocationTrafficType; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -56,21 +57,31 @@ public Builder(GetCloudwrapperLocationsLocation defaults) { @CustomType.Setter public Builder locationId(Integer locationId) { - this.locationId = Objects.requireNonNull(locationId); + if (locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "locationId"); + } + this.locationId = locationId; return this; } @CustomType.Setter public Builder locationName(String locationName) { - this.locationName = Objects.requireNonNull(locationName); + if (locationName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "locationName"); + } + this.locationName = locationName; return this; } @CustomType.Setter public Builder multiCdnLocationId(String multiCdnLocationId) { - this.multiCdnLocationId = Objects.requireNonNull(multiCdnLocationId); + if (multiCdnLocationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocation", "multiCdnLocationId"); + } + this.multiCdnLocationId = multiCdnLocationId; return this; } @CustomType.Setter public Builder trafficTypes(@Nullable List trafficTypes) { + this.trafficTypes = trafficTypes; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocationTrafficType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocationTrafficType.java index ab6078dc9c9..3e4378d9c5f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocationTrafficType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsLocationTrafficType.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetCloudwrapperLocationsLocationTrafficType defaults) { @CustomType.Setter public Builder locationId(String locationId) { - this.locationId = Objects.requireNonNull(locationId); + if (locationId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "locationId"); + } + this.locationId = locationId; return this; } @CustomType.Setter public Builder trafficType(String trafficType) { - this.trafficType = Objects.requireNonNull(trafficType); + if (trafficType == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "trafficType"); + } + this.trafficType = trafficType; return this; } @CustomType.Setter public Builder trafficTypeId(Integer trafficTypeId) { - this.trafficTypeId = Objects.requireNonNull(trafficTypeId); + if (trafficTypeId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsLocationTrafficType", "trafficTypeId"); + } + this.trafficTypeId = trafficTypeId; return this; } public GetCloudwrapperLocationsLocationTrafficType build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsResult.java index b40a129aa8c..a2708ee907e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperLocationsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperLocationsLocation; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,11 +56,15 @@ public Builder(GetCloudwrapperLocationsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperLocationsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder locations(@Nullable List locations) { + this.locations = locations; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesProperty.java index 5bde9eece6f..491f82d477a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetCloudwrapperPropertiesProperty defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(Integer groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder propertyId(Integer propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder propertyName(String propertyName) { - this.propertyName = Objects.requireNonNull(propertyName); + if (propertyName == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "propertyName"); + } + this.propertyName = propertyName; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesProperty", "type"); + } + this.type = type; return this; } public GetCloudwrapperPropertiesProperty build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesResult.java index cc1b220a7b3..a83e385e8f3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCloudwrapperPropertiesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetCloudwrapperPropertiesProperty; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -69,6 +70,7 @@ public Builder(GetCloudwrapperPropertiesResult defaults) { @CustomType.Setter public Builder contractIds(@Nullable List contractIds) { + this.contractIds = contractIds; return this; } @@ -77,11 +79,15 @@ public Builder contractIds(String... contractIds) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCloudwrapperPropertiesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder properties(@Nullable List properties) { + this.properties = properties; return this; } @@ -90,6 +96,7 @@ public Builder properties(GetCloudwrapperPropertiesProperty... properties) { } @CustomType.Setter public Builder unused(@Nullable Boolean unused) { + this.unused = unused; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractResult.java index c47b07b1e78..827dcdf3515 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,17 +55,26 @@ public Builder(GetContractResult defaults) { @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetContractResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder groupName(String groupName) { - this.groupName = Objects.requireNonNull(groupName); + if (groupName == null) { + throw new MissingRequiredPropertyException("GetContractResult", "groupName"); + } + this.groupName = groupName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetContractResult", "id"); + } + this.id = id; return this; } public GetContractResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsContract.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsContract.java index 1e7bacfe50e..fc68c9ad35c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsContract.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsContract.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetContractsContract defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetContractsContract", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder contractTypeName(String contractTypeName) { - this.contractTypeName = Objects.requireNonNull(contractTypeName); + if (contractTypeName == null) { + throw new MissingRequiredPropertyException("GetContractsContract", "contractTypeName"); + } + this.contractTypeName = contractTypeName; return this; } public GetContractsContract build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsResult.java index e763b13e735..ca8cbd8e07e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetContractsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetContractsContract; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -50,7 +51,10 @@ public Builder(GetContractsResult defaults) { @CustomType.Setter public Builder contracts(List contracts) { - this.contracts = Objects.requireNonNull(contracts); + if (contracts == null) { + throw new MissingRequiredPropertyException("GetContractsResult", "contracts"); + } + this.contracts = contracts; return this; } public Builder contracts(GetContractsContract... contracts) { @@ -58,7 +62,10 @@ public Builder contracts(GetContractsContract... contracts) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetContractsResult", "id"); + } + this.id = id; return this; } public GetContractsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpCodeResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpCodeResult.java index 2074e6aab0a..9027f5f4547 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpCodeResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpCodeResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetCpCodeResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder productIds(List productIds) { - this.productIds = Objects.requireNonNull(productIds); + if (productIds == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "productIds"); + } + this.productIds = productIds; return this; } public Builder productIds(String... productIds) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsCsrResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsCsrResult.java index c7b01e902d2..8788afddeb7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsCsrResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsCsrResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetCpsCsrResult defaults) { @CustomType.Setter public Builder csrEcdsa(String csrEcdsa) { - this.csrEcdsa = Objects.requireNonNull(csrEcdsa); + if (csrEcdsa == null) { + throw new MissingRequiredPropertyException("GetCpsCsrResult", "csrEcdsa"); + } + this.csrEcdsa = csrEcdsa; return this; } @CustomType.Setter public Builder csrRsa(String csrRsa) { - this.csrRsa = Objects.requireNonNull(csrRsa); + if (csrRsa == null) { + throw new MissingRequiredPropertyException("GetCpsCsrResult", "csrRsa"); + } + this.csrRsa = csrRsa; return this; } @CustomType.Setter public Builder enrollmentId(Integer enrollmentId) { - this.enrollmentId = Objects.requireNonNull(enrollmentId); + if (enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsCsrResult", "enrollmentId"); + } + this.enrollmentId = enrollmentId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCpsCsrResult", "id"); + } + this.id = id; return this; } public GetCpsCsrResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsDeploymentsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsDeploymentsResult.java index 8dcaa29996d..858cdf630db 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsDeploymentsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsDeploymentsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -85,42 +86,66 @@ public Builder(GetCpsDeploymentsResult defaults) { @CustomType.Setter public Builder autoRenewalStartTime(String autoRenewalStartTime) { - this.autoRenewalStartTime = Objects.requireNonNull(autoRenewalStartTime); + if (autoRenewalStartTime == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "autoRenewalStartTime"); + } + this.autoRenewalStartTime = autoRenewalStartTime; return this; } @CustomType.Setter public Builder enrollmentId(Integer enrollmentId) { - this.enrollmentId = Objects.requireNonNull(enrollmentId); + if (enrollmentId == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "enrollmentId"); + } + this.enrollmentId = enrollmentId; return this; } @CustomType.Setter public Builder expiryDate(String expiryDate) { - this.expiryDate = Objects.requireNonNull(expiryDate); + if (expiryDate == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "expiryDate"); + } + this.expiryDate = expiryDate; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder productionCertificateEcdsa(String productionCertificateEcdsa) { - this.productionCertificateEcdsa = Objects.requireNonNull(productionCertificateEcdsa); + if (productionCertificateEcdsa == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "productionCertificateEcdsa"); + } + this.productionCertificateEcdsa = productionCertificateEcdsa; return this; } @CustomType.Setter public Builder productionCertificateRsa(String productionCertificateRsa) { - this.productionCertificateRsa = Objects.requireNonNull(productionCertificateRsa); + if (productionCertificateRsa == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "productionCertificateRsa"); + } + this.productionCertificateRsa = productionCertificateRsa; return this; } @CustomType.Setter public Builder stagingCertificateEcdsa(String stagingCertificateEcdsa) { - this.stagingCertificateEcdsa = Objects.requireNonNull(stagingCertificateEcdsa); + if (stagingCertificateEcdsa == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "stagingCertificateEcdsa"); + } + this.stagingCertificateEcdsa = stagingCertificateEcdsa; return this; } @CustomType.Setter public Builder stagingCertificateRsa(String stagingCertificateRsa) { - this.stagingCertificateRsa = Objects.requireNonNull(stagingCertificateRsa); + if (stagingCertificateRsa == null) { + throw new MissingRequiredPropertyException("GetCpsDeploymentsResult", "stagingCertificateRsa"); + } + this.stagingCertificateRsa = stagingCertificateRsa; return this; } public GetCpsDeploymentsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsWarningsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsWarningsResult.java index 5f06f9be47d..6cc623d07ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsWarningsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetCpsWarningsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -49,12 +50,18 @@ public Builder(GetCpsWarningsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCpsWarningsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder warnings(Map warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetCpsWarningsResult", "warnings"); + } + this.warnings = warnings; return this; } public GetCpsWarningsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryActivation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryActivation.java index b4198314811..bfed389e7d9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryActivation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryActivation.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetDatastreamActivationHistoryActivation defaults) { @CustomType.Setter public Builder modifiedBy(String modifiedBy) { - this.modifiedBy = Objects.requireNonNull(modifiedBy); + if (modifiedBy == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryActivation", "modifiedBy"); + } + this.modifiedBy = modifiedBy; return this; } @CustomType.Setter public Builder modifiedDate(String modifiedDate) { - this.modifiedDate = Objects.requireNonNull(modifiedDate); + if (modifiedDate == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryActivation", "modifiedDate"); + } + this.modifiedDate = modifiedDate; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryActivation", "status"); + } + this.status = status; return this; } @CustomType.Setter public Builder streamId(Integer streamId) { - this.streamId = Objects.requireNonNull(streamId); + if (streamId == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryActivation", "streamId"); + } + this.streamId = streamId; return this; } @CustomType.Setter public Builder streamVersion(Integer streamVersion) { - this.streamVersion = Objects.requireNonNull(streamVersion); + if (streamVersion == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryActivation", "streamVersion"); + } + this.streamVersion = streamVersion; return this; } public GetDatastreamActivationHistoryActivation build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryResult.java index 0f3e9ed42cc..5f2a011a4ec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamActivationHistoryResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetDatastreamActivationHistoryActivation; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -57,7 +58,10 @@ public Builder(GetDatastreamActivationHistoryResult defaults) { @CustomType.Setter public Builder activations(List activations) { - this.activations = Objects.requireNonNull(activations); + if (activations == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryResult", "activations"); + } + this.activations = activations; return this; } public Builder activations(GetDatastreamActivationHistoryActivation... activations) { @@ -65,12 +69,18 @@ public Builder activations(GetDatastreamActivationHistoryActivation... activatio } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder streamId(Integer streamId) { - this.streamId = Objects.requireNonNull(streamId); + if (streamId == null) { + throw new MissingRequiredPropertyException("GetDatastreamActivationHistoryResult", "streamId"); + } + this.streamId = streamId; return this; } public GetDatastreamActivationHistoryResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsDatasetField.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsDatasetField.java index ba37d6f45d6..b0e74dc637f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsDatasetField.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsDatasetField.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetDatastreamDatasetFieldsDatasetField defaults) { @CustomType.Setter public Builder datasetFieldDescription(String datasetFieldDescription) { - this.datasetFieldDescription = Objects.requireNonNull(datasetFieldDescription); + if (datasetFieldDescription == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsDatasetField", "datasetFieldDescription"); + } + this.datasetFieldDescription = datasetFieldDescription; return this; } @CustomType.Setter public Builder datasetFieldGroup(String datasetFieldGroup) { - this.datasetFieldGroup = Objects.requireNonNull(datasetFieldGroup); + if (datasetFieldGroup == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsDatasetField", "datasetFieldGroup"); + } + this.datasetFieldGroup = datasetFieldGroup; return this; } @CustomType.Setter public Builder datasetFieldId(Integer datasetFieldId) { - this.datasetFieldId = Objects.requireNonNull(datasetFieldId); + if (datasetFieldId == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsDatasetField", "datasetFieldId"); + } + this.datasetFieldId = datasetFieldId; return this; } @CustomType.Setter public Builder datasetFieldJsonKey(String datasetFieldJsonKey) { - this.datasetFieldJsonKey = Objects.requireNonNull(datasetFieldJsonKey); + if (datasetFieldJsonKey == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsDatasetField", "datasetFieldJsonKey"); + } + this.datasetFieldJsonKey = datasetFieldJsonKey; return this; } @CustomType.Setter public Builder datasetFieldName(String datasetFieldName) { - this.datasetFieldName = Objects.requireNonNull(datasetFieldName); + if (datasetFieldName == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsDatasetField", "datasetFieldName"); + } + this.datasetFieldName = datasetFieldName; return this; } public GetDatastreamDatasetFieldsDatasetField build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsResult.java index 5d4880cb366..e8441863251 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamDatasetFieldsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetDatastreamDatasetFieldsDatasetField; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -58,7 +59,10 @@ public Builder(GetDatastreamDatasetFieldsResult defaults) { @CustomType.Setter public Builder datasetFields(List datasetFields) { - this.datasetFields = Objects.requireNonNull(datasetFields); + if (datasetFields == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsResult", "datasetFields"); + } + this.datasetFields = datasetFields; return this; } public Builder datasetFields(GetDatastreamDatasetFieldsDatasetField... datasetFields) { @@ -66,11 +70,15 @@ public Builder datasetFields(GetDatastreamDatasetFieldsDatasetField... datasetFi } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetDatastreamDatasetFieldsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder productId(@Nullable String productId) { + this.productId = productId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsResult.java index 6a1ff5e50d7..3c63c36566b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetDatastreamsStreamsDetail; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -59,17 +60,24 @@ public Builder(GetDatastreamsResult defaults) { @CustomType.Setter public Builder groupId(@Nullable Integer groupId) { + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetDatastreamsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder streamsDetails(List streamsDetails) { - this.streamsDetails = Objects.requireNonNull(streamsDetails); + if (streamsDetails == null) { + throw new MissingRequiredPropertyException("GetDatastreamsResult", "streamsDetails"); + } + this.streamsDetails = streamsDetails; return this; } public Builder streamsDetails(GetDatastreamsStreamsDetail... streamsDetails) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetail.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetail.java index 4ce1da7198f..aca27638889 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetail.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetail.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetDatastreamsStreamsDetailProperty; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -109,47 +110,74 @@ public Builder(GetDatastreamsStreamsDetail defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder createdBy(String createdBy) { - this.createdBy = Objects.requireNonNull(createdBy); + if (createdBy == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "createdBy"); + } + this.createdBy = createdBy; return this; } @CustomType.Setter public Builder createdDate(String createdDate) { - this.createdDate = Objects.requireNonNull(createdDate); + if (createdDate == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "createdDate"); + } + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder groupId(Integer groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder modifiedBy(String modifiedBy) { - this.modifiedBy = Objects.requireNonNull(modifiedBy); + if (modifiedBy == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "modifiedBy"); + } + this.modifiedBy = modifiedBy; return this; } @CustomType.Setter public Builder modifiedDate(String modifiedDate) { - this.modifiedDate = Objects.requireNonNull(modifiedDate); + if (modifiedDate == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "modifiedDate"); + } + this.modifiedDate = modifiedDate; return this; } @CustomType.Setter public Builder productId(String productId) { - this.productId = Objects.requireNonNull(productId); + if (productId == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "productId"); + } + this.productId = productId; return this; } @CustomType.Setter public Builder properties(List properties) { - this.properties = Objects.requireNonNull(properties); + if (properties == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "properties"); + } + this.properties = properties; return this; } public Builder properties(GetDatastreamsStreamsDetailProperty... properties) { @@ -157,22 +185,34 @@ public Builder properties(GetDatastreamsStreamsDetailProperty... properties) { } @CustomType.Setter public Builder streamId(Integer streamId) { - this.streamId = Objects.requireNonNull(streamId); + if (streamId == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "streamId"); + } + this.streamId = streamId; return this; } @CustomType.Setter public Builder streamName(String streamName) { - this.streamName = Objects.requireNonNull(streamName); + if (streamName == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "streamName"); + } + this.streamName = streamName; return this; } @CustomType.Setter public Builder streamStatus(String streamStatus) { - this.streamStatus = Objects.requireNonNull(streamStatus); + if (streamStatus == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "streamStatus"); + } + this.streamStatus = streamStatus; return this; } @CustomType.Setter public Builder streamVersion(Integer streamVersion) { - this.streamVersion = Objects.requireNonNull(streamVersion); + if (streamVersion == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetail", "streamVersion"); + } + this.streamVersion = streamVersion; return this; } public GetDatastreamsStreamsDetail build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetailProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetailProperty.java index 2c60e98c839..41d2ec95677 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetailProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDatastreamsStreamsDetailProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetDatastreamsStreamsDetailProperty defaults) { @CustomType.Setter public Builder propertyId(Integer propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetailProperty", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder propertyName(String propertyName) { - this.propertyName = Objects.requireNonNull(propertyName); + if (propertyName == null) { + throw new MissingRequiredPropertyException("GetDatastreamsStreamsDetailProperty", "propertyName"); + } + this.propertyName = propertyName; return this; } public GetDatastreamsStreamsDetailProperty build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDnsRecordSetResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDnsRecordSetResult.java index 5b12e480035..0dda482aa0e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDnsRecordSetResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetDnsRecordSetResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,17 +68,26 @@ public Builder(GetDnsRecordSetResult defaults) { @CustomType.Setter public Builder host(String host) { - this.host = Objects.requireNonNull(host); + if (host == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "host"); + } + this.host = host; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder rdatas(List rdatas) { - this.rdatas = Objects.requireNonNull(rdatas); + if (rdatas == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "rdatas"); + } + this.rdatas = rdatas; return this; } public Builder rdatas(String... rdatas) { @@ -85,12 +95,18 @@ public Builder rdatas(String... rdatas) { } @CustomType.Setter public Builder recordType(String recordType) { - this.recordType = Objects.requireNonNull(recordType); + if (recordType == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "recordType"); + } + this.recordType = recordType; return this; } @CustomType.Setter public Builder zone(String zone) { - this.zone = Objects.requireNonNull(zone); + if (zone == null) { + throw new MissingRequiredPropertyException("GetDnsRecordSetResult", "zone"); + } + this.zone = zone; return this; } public GetDnsRecordSetResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerActivationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerActivationResult.java index 2d59ad6bbfd..9a8fae772a9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerActivationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerActivationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetEdgeWorkerActivationResult defaults) { @CustomType.Setter public Builder activationId(Integer activationId) { - this.activationId = Objects.requireNonNull(activationId); + if (activationId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationResult", "activationId"); + } + this.activationId = activationId; return this; } @CustomType.Setter public Builder edgeworkerId(Integer edgeworkerId) { - this.edgeworkerId = Objects.requireNonNull(edgeworkerId); + if (edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationResult", "edgeworkerId"); + } + this.edgeworkerId = edgeworkerId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder network(String network) { - this.network = Objects.requireNonNull(network); + if (network == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationResult", "network"); + } + this.network = network; return this; } @CustomType.Setter public Builder version(String version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerActivationResult", "version"); + } + this.version = version; return this; } public GetEdgeWorkerActivationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerResult.java index d9cf742b030..cd42d246b7c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkerResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -94,47 +95,72 @@ public Builder(GetEdgeWorkerResult defaults) { @CustomType.Setter public Builder edgeworkerId(Integer edgeworkerId) { - this.edgeworkerId = Objects.requireNonNull(edgeworkerId); + if (edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "edgeworkerId"); + } + this.edgeworkerId = edgeworkerId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder localBundle(@Nullable String localBundle) { + this.localBundle = localBundle; return this; } @CustomType.Setter public Builder localBundleHash(String localBundleHash) { - this.localBundleHash = Objects.requireNonNull(localBundleHash); + if (localBundleHash == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "localBundleHash"); + } + this.localBundleHash = localBundleHash; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder resourceTierId(Integer resourceTierId) { - this.resourceTierId = Objects.requireNonNull(resourceTierId); + if (resourceTierId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "resourceTierId"); + } + this.resourceTierId = resourceTierId; return this; } @CustomType.Setter public Builder version(String version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "version"); + } + this.version = version; return this; } @CustomType.Setter public Builder warnings(List warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkerResult", "warnings"); + } + this.warnings = warnings; return this; } public Builder warnings(String... warnings) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersPropertyRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersPropertyRulesResult.java index 2f65f5f98dd..b93c80becaf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersPropertyRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersPropertyRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetEdgeWorkersPropertyRulesResult defaults) { @CustomType.Setter public Builder edgeworkerId(Integer edgeworkerId) { - this.edgeworkerId = Objects.requireNonNull(edgeworkerId); + if (edgeworkerId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersPropertyRulesResult", "edgeworkerId"); + } + this.edgeworkerId = edgeworkerId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersPropertyRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersPropertyRulesResult", "json"); + } + this.json = json; return this; } public GetEdgeWorkersPropertyRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersResourceTierResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersResourceTierResult.java index f754e28651a..fc81f42b535 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersResourceTierResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgeWorkersResourceTierResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -61,22 +62,34 @@ public Builder(GetEdgeWorkersResourceTierResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder resourceTierId(Integer resourceTierId) { - this.resourceTierId = Objects.requireNonNull(resourceTierId); + if (resourceTierId == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierResult", "resourceTierId"); + } + this.resourceTierId = resourceTierId; return this; } @CustomType.Setter public Builder resourceTierName(String resourceTierName) { - this.resourceTierName = Objects.requireNonNull(resourceTierName); + if (resourceTierName == null) { + throw new MissingRequiredPropertyException("GetEdgeWorkersResourceTierResult", "resourceTierName"); + } + this.resourceTierName = resourceTierName; return this; } public GetEdgeWorkersResourceTierResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupItemsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupItemsResult.java index d3f6daafc8a..8c4ac92fba8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupItemsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupItemsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetEdgekvGroupItemsResult defaults) { @CustomType.Setter public Builder groupName(String groupName) { - this.groupName = Objects.requireNonNull(groupName); + if (groupName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsResult", "groupName"); + } + this.groupName = groupName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder items(Map items) { - this.items = Objects.requireNonNull(items); + if (items == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsResult", "items"); + } + this.items = items; return this; } @CustomType.Setter public Builder namespaceName(String namespaceName) { - this.namespaceName = Objects.requireNonNull(namespaceName); + if (namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsResult", "namespaceName"); + } + this.namespaceName = namespaceName; return this; } @CustomType.Setter public Builder network(String network) { - this.network = Objects.requireNonNull(network); + if (network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupItemsResult", "network"); + } + this.network = network; return this; } public GetEdgekvGroupItemsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupsResult.java index c2c100ae294..46cc5f0133e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetEdgekvGroupsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -61,7 +62,10 @@ public Builder(GetEdgekvGroupsResult defaults) { @CustomType.Setter public Builder groups(List groups) { - this.groups = Objects.requireNonNull(groups); + if (groups == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsResult", "groups"); + } + this.groups = groups; return this; } public Builder groups(String... groups) { @@ -69,17 +73,26 @@ public Builder groups(String... groups) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder namespaceName(String namespaceName) { - this.namespaceName = Objects.requireNonNull(namespaceName); + if (namespaceName == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsResult", "namespaceName"); + } + this.namespaceName = namespaceName; return this; } @CustomType.Setter public Builder network(String network) { - this.network = Objects.requireNonNull(network); + if (network == null) { + throw new MissingRequiredPropertyException("GetEdgekvGroupsResult", "network"); + } + this.network = network; return this; } public GetEdgekvGroupsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupResult.java index f2405a3316e..9325977af5a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -54,17 +55,26 @@ public Builder(GetGroupResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetGroupResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupName(String groupName) { - this.groupName = Objects.requireNonNull(groupName); + if (groupName == null) { + throw new MissingRequiredPropertyException("GetGroupResult", "groupName"); + } + this.groupName = groupName; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGroupResult", "id"); + } + this.id = id; return this; } public GetGroupResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsGroup.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsGroup.java index 125ec71d296..81ed63b9309 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsGroup.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsGroup.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -53,7 +54,10 @@ public Builder(GetGroupsGroup defaults) { @CustomType.Setter public Builder contractIds(List contractIds) { - this.contractIds = Objects.requireNonNull(contractIds); + if (contractIds == null) { + throw new MissingRequiredPropertyException("GetGroupsGroup", "contractIds"); + } + this.contractIds = contractIds; return this; } public Builder contractIds(String... contractIds) { @@ -61,17 +65,26 @@ public Builder contractIds(String... contractIds) { } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetGroupsGroup", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder groupName(String groupName) { - this.groupName = Objects.requireNonNull(groupName); + if (groupName == null) { + throw new MissingRequiredPropertyException("GetGroupsGroup", "groupName"); + } + this.groupName = groupName; return this; } @CustomType.Setter public Builder parentGroupId(String parentGroupId) { - this.parentGroupId = Objects.requireNonNull(parentGroupId); + if (parentGroupId == null) { + throw new MissingRequiredPropertyException("GetGroupsGroup", "parentGroupId"); + } + this.parentGroupId = parentGroupId; return this; } public GetGroupsGroup build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsResult.java index d459515a93e..2b74e9c8802 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGroupsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetGroupsGroup; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -50,7 +51,10 @@ public Builder(GetGroupsResult defaults) { @CustomType.Setter public Builder groups(List groups) { - this.groups = Objects.requireNonNull(groups); + if (groups == null) { + throw new MissingRequiredPropertyException("GetGroupsResult", "groups"); + } + this.groups = groups; return this; } public Builder groups(GetGroupsGroup... groups) { @@ -58,7 +62,10 @@ public Builder groups(GetGroupsGroup... groups) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGroupsResult", "id"); + } + this.id = id; return this; } public GetGroupsResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterDefaultLoadObject.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterDefaultLoadObject.java index b0c5d4645ae..ff820e52f7d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterDefaultLoadObject.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterDefaultLoadObject.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -48,17 +49,26 @@ public Builder(GetGtmDatacenterDefaultLoadObject defaults) { @CustomType.Setter public Builder loadObject(String loadObject) { - this.loadObject = Objects.requireNonNull(loadObject); + if (loadObject == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterDefaultLoadObject", "loadObject"); + } + this.loadObject = loadObject; return this; } @CustomType.Setter public Builder loadObjectPort(Integer loadObjectPort) { - this.loadObjectPort = Objects.requireNonNull(loadObjectPort); + if (loadObjectPort == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterDefaultLoadObject", "loadObjectPort"); + } + this.loadObjectPort = loadObjectPort; return this; } @CustomType.Setter public Builder loadServers(List loadServers) { - this.loadServers = Objects.requireNonNull(loadServers); + if (loadServers == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterDefaultLoadObject", "loadServers"); + } + this.loadServers = loadServers; return this; } public Builder loadServers(String... loadServers) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterLink.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterLink.java index 1381191df21..c1859b0a258 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterLink.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterLink.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetGtmDatacenterLink defaults) { @CustomType.Setter public Builder href(String href) { - this.href = Objects.requireNonNull(href); + if (href == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterLink", "href"); + } + this.href = href; return this; } @CustomType.Setter public Builder rel(String rel) { - this.rel = Objects.requireNonNull(rel); + if (rel == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterLink", "rel"); + } + this.rel = rel; return this; } public GetGtmDatacenterLink build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterResult.java index 452287a1d3b..50c50bc9064 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacenterResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetGtmDatacenterDefaultLoadObject; import com.pulumi.akamai.outputs.GetGtmDatacenterLink; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -150,42 +151,66 @@ public Builder(GetGtmDatacenterResult defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder cloneOf(Integer cloneOf) { - this.cloneOf = Objects.requireNonNull(cloneOf); + if (cloneOf == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "cloneOf"); + } + this.cloneOf = cloneOf; return this; } @CustomType.Setter public Builder cloudServerHostHeaderOverride(Boolean cloudServerHostHeaderOverride) { - this.cloudServerHostHeaderOverride = Objects.requireNonNull(cloudServerHostHeaderOverride); + if (cloudServerHostHeaderOverride == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "cloudServerHostHeaderOverride"); + } + this.cloudServerHostHeaderOverride = cloudServerHostHeaderOverride; return this; } @CustomType.Setter public Builder cloudServerTargeting(Boolean cloudServerTargeting) { - this.cloudServerTargeting = Objects.requireNonNull(cloudServerTargeting); + if (cloudServerTargeting == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "cloudServerTargeting"); + } + this.cloudServerTargeting = cloudServerTargeting; return this; } @CustomType.Setter public Builder continent(String continent) { - this.continent = Objects.requireNonNull(continent); + if (continent == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "continent"); + } + this.continent = continent; return this; } @CustomType.Setter public Builder country(String country) { - this.country = Objects.requireNonNull(country); + if (country == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "country"); + } + this.country = country; return this; } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder defaultLoadObjects(List defaultLoadObjects) { - this.defaultLoadObjects = Objects.requireNonNull(defaultLoadObjects); + if (defaultLoadObjects == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "defaultLoadObjects"); + } + this.defaultLoadObjects = defaultLoadObjects; return this; } public Builder defaultLoadObjects(GetGtmDatacenterDefaultLoadObject... defaultLoadObjects) { @@ -193,22 +218,34 @@ public Builder defaultLoadObjects(GetGtmDatacenterDefaultLoadObject... defaultLo } @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder latitude(Double latitude) { - this.latitude = Objects.requireNonNull(latitude); + if (latitude == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "latitude"); + } + this.latitude = latitude; return this; } @CustomType.Setter public Builder links(List links) { - this.links = Objects.requireNonNull(links); + if (links == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "links"); + } + this.links = links; return this; } public Builder links(GetGtmDatacenterLink... links) { @@ -216,32 +253,50 @@ public Builder links(GetGtmDatacenterLink... links) { } @CustomType.Setter public Builder longitude(Double longitude) { - this.longitude = Objects.requireNonNull(longitude); + if (longitude == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "longitude"); + } + this.longitude = longitude; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "nickname"); + } + this.nickname = nickname; return this; } @CustomType.Setter public Builder scorePenalty(Integer scorePenalty) { - this.scorePenalty = Objects.requireNonNull(scorePenalty); + if (scorePenalty == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "scorePenalty"); + } + this.scorePenalty = scorePenalty; return this; } @CustomType.Setter public Builder servermonitorPool(String servermonitorPool) { - this.servermonitorPool = Objects.requireNonNull(servermonitorPool); + if (servermonitorPool == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "servermonitorPool"); + } + this.servermonitorPool = servermonitorPool; return this; } @CustomType.Setter public Builder stateOrProvince(String stateOrProvince) { - this.stateOrProvince = Objects.requireNonNull(stateOrProvince); + if (stateOrProvince == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "stateOrProvince"); + } + this.stateOrProvince = stateOrProvince; return this; } @CustomType.Setter public Builder virtual(Boolean virtual) { - this.virtual = Objects.requireNonNull(virtual); + if (virtual == null) { + throw new MissingRequiredPropertyException("GetGtmDatacenterResult", "virtual"); + } + this.virtual = virtual; return this; } public GetGtmDatacenterResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenter.java index dd1d61b2bb6..0e5cfded4aa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenter.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetGtmDatacentersDatacenterDefaultLoadObject; import com.pulumi.akamai.outputs.GetGtmDatacentersDatacenterLink; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -130,42 +131,66 @@ public Builder(GetGtmDatacentersDatacenter defaults) { @CustomType.Setter public Builder city(String city) { - this.city = Objects.requireNonNull(city); + if (city == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "city"); + } + this.city = city; return this; } @CustomType.Setter public Builder cloneOf(Integer cloneOf) { - this.cloneOf = Objects.requireNonNull(cloneOf); + if (cloneOf == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "cloneOf"); + } + this.cloneOf = cloneOf; return this; } @CustomType.Setter public Builder cloudServerHostHeaderOverride(Boolean cloudServerHostHeaderOverride) { - this.cloudServerHostHeaderOverride = Objects.requireNonNull(cloudServerHostHeaderOverride); + if (cloudServerHostHeaderOverride == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "cloudServerHostHeaderOverride"); + } + this.cloudServerHostHeaderOverride = cloudServerHostHeaderOverride; return this; } @CustomType.Setter public Builder cloudServerTargeting(Boolean cloudServerTargeting) { - this.cloudServerTargeting = Objects.requireNonNull(cloudServerTargeting); + if (cloudServerTargeting == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "cloudServerTargeting"); + } + this.cloudServerTargeting = cloudServerTargeting; return this; } @CustomType.Setter public Builder continent(String continent) { - this.continent = Objects.requireNonNull(continent); + if (continent == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "continent"); + } + this.continent = continent; return this; } @CustomType.Setter public Builder country(String country) { - this.country = Objects.requireNonNull(country); + if (country == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "country"); + } + this.country = country; return this; } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder defaultLoadObjects(List defaultLoadObjects) { - this.defaultLoadObjects = Objects.requireNonNull(defaultLoadObjects); + if (defaultLoadObjects == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "defaultLoadObjects"); + } + this.defaultLoadObjects = defaultLoadObjects; return this; } public Builder defaultLoadObjects(GetGtmDatacentersDatacenterDefaultLoadObject... defaultLoadObjects) { @@ -173,12 +198,18 @@ public Builder defaultLoadObjects(GetGtmDatacentersDatacenterDefaultLoadObject.. } @CustomType.Setter public Builder latitude(Double latitude) { - this.latitude = Objects.requireNonNull(latitude); + if (latitude == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "latitude"); + } + this.latitude = latitude; return this; } @CustomType.Setter public Builder links(List links) { - this.links = Objects.requireNonNull(links); + if (links == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "links"); + } + this.links = links; return this; } public Builder links(GetGtmDatacentersDatacenterLink... links) { @@ -186,32 +217,50 @@ public Builder links(GetGtmDatacentersDatacenterLink... links) { } @CustomType.Setter public Builder longitude(Double longitude) { - this.longitude = Objects.requireNonNull(longitude); + if (longitude == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "longitude"); + } + this.longitude = longitude; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "nickname"); + } + this.nickname = nickname; return this; } @CustomType.Setter public Builder scorePenalty(Integer scorePenalty) { - this.scorePenalty = Objects.requireNonNull(scorePenalty); + if (scorePenalty == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "scorePenalty"); + } + this.scorePenalty = scorePenalty; return this; } @CustomType.Setter public Builder servermonitorPool(String servermonitorPool) { - this.servermonitorPool = Objects.requireNonNull(servermonitorPool); + if (servermonitorPool == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "servermonitorPool"); + } + this.servermonitorPool = servermonitorPool; return this; } @CustomType.Setter public Builder stateOrProvince(String stateOrProvince) { - this.stateOrProvince = Objects.requireNonNull(stateOrProvince); + if (stateOrProvince == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "stateOrProvince"); + } + this.stateOrProvince = stateOrProvince; return this; } @CustomType.Setter public Builder virtual(Boolean virtual) { - this.virtual = Objects.requireNonNull(virtual); + if (virtual == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenter", "virtual"); + } + this.virtual = virtual; return this; } public GetGtmDatacentersDatacenter build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterDefaultLoadObject.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterDefaultLoadObject.java index c3819ca1881..86b15f717ac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterDefaultLoadObject.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterDefaultLoadObject.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -48,17 +49,26 @@ public Builder(GetGtmDatacentersDatacenterDefaultLoadObject defaults) { @CustomType.Setter public Builder loadObject(String loadObject) { - this.loadObject = Objects.requireNonNull(loadObject); + if (loadObject == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenterDefaultLoadObject", "loadObject"); + } + this.loadObject = loadObject; return this; } @CustomType.Setter public Builder loadObjectPort(Integer loadObjectPort) { - this.loadObjectPort = Objects.requireNonNull(loadObjectPort); + if (loadObjectPort == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenterDefaultLoadObject", "loadObjectPort"); + } + this.loadObjectPort = loadObjectPort; return this; } @CustomType.Setter public Builder loadServers(List loadServers) { - this.loadServers = Objects.requireNonNull(loadServers); + if (loadServers == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenterDefaultLoadObject", "loadServers"); + } + this.loadServers = loadServers; return this; } public Builder loadServers(String... loadServers) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterLink.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterLink.java index f112b79410f..ba2457c546a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterLink.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersDatacenterLink.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetGtmDatacentersDatacenterLink defaults) { @CustomType.Setter public Builder href(String href) { - this.href = Objects.requireNonNull(href); + if (href == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenterLink", "href"); + } + this.href = href; return this; } @CustomType.Setter public Builder rel(String rel) { - this.rel = Objects.requireNonNull(rel); + if (rel == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersDatacenterLink", "rel"); + } + this.rel = rel; return this; } public GetGtmDatacentersDatacenterLink build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersResult.java index 9ee37a7ebcb..08fe81bec6f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDatacentersResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetGtmDatacentersDatacenter; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -56,7 +57,10 @@ public Builder(GetGtmDatacentersResult defaults) { @CustomType.Setter public Builder datacenters(List datacenters) { - this.datacenters = Objects.requireNonNull(datacenters); + if (datacenters == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersResult", "datacenters"); + } + this.datacenters = datacenters; return this; } public Builder datacenters(GetGtmDatacentersDatacenter... datacenters) { @@ -64,12 +68,18 @@ public Builder datacenters(GetGtmDatacentersDatacenter... datacenters) { } @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersResult", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGtmDatacentersResult", "id"); + } + this.id = id; return this; } public GetGtmDatacentersResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDefaultDatacenterResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDefaultDatacenterResult.java index a77bc40b77a..e3b861db15b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDefaultDatacenterResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetGtmDefaultDatacenterResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetGtmDefaultDatacenterResult defaults) { @CustomType.Setter public Builder datacenter(@Nullable Integer datacenter) { + this.datacenter = datacenter; return this; } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "nickname"); + } + this.nickname = nickname; return this; } public GetGtmDefaultDatacenterResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamContactTypesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamContactTypesResult.java index ee9baccf703..6bd65c722e6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamContactTypesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamContactTypesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -49,7 +50,10 @@ public Builder(GetIamContactTypesResult defaults) { @CustomType.Setter public Builder contactTypes(List contactTypes) { - this.contactTypes = Objects.requireNonNull(contactTypes); + if (contactTypes == null) { + throw new MissingRequiredPropertyException("GetIamContactTypesResult", "contactTypes"); + } + this.contactTypes = contactTypes; return this; } public Builder contactTypes(String... contactTypes) { @@ -57,7 +61,10 @@ public Builder contactTypes(String... contactTypes) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamContactTypesResult", "id"); + } + this.id = id; return this; } public GetIamContactTypesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamCountriesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamCountriesResult.java index 714ae76edd6..39cc8de3b23 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamCountriesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamCountriesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -49,7 +50,10 @@ public Builder(GetIamCountriesResult defaults) { @CustomType.Setter public Builder countries(List countries) { - this.countries = Objects.requireNonNull(countries); + if (countries == null) { + throw new MissingRequiredPropertyException("GetIamCountriesResult", "countries"); + } + this.countries = countries; return this; } public Builder countries(String... countries) { @@ -57,7 +61,10 @@ public Builder countries(String... countries) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamCountriesResult", "id"); + } + this.id = id; return this; } public GetIamCountriesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesGrantableRole.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesGrantableRole.java index 6ef92099e1d..804b6c22363 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesGrantableRole.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesGrantableRole.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -47,17 +48,26 @@ public Builder(GetIamGrantableRolesGrantableRole defaults) { @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetIamGrantableRolesGrantableRole", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder grantedRoleId(Integer grantedRoleId) { - this.grantedRoleId = Objects.requireNonNull(grantedRoleId); + if (grantedRoleId == null) { + throw new MissingRequiredPropertyException("GetIamGrantableRolesGrantableRole", "grantedRoleId"); + } + this.grantedRoleId = grantedRoleId; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetIamGrantableRolesGrantableRole", "name"); + } + this.name = name; return this; } public GetIamGrantableRolesGrantableRole build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesResult.java index ff2668e0f91..03ff516ee09 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamGrantableRolesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetIamGrantableRolesGrantableRole; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -50,7 +51,10 @@ public Builder(GetIamGrantableRolesResult defaults) { @CustomType.Setter public Builder grantableRoles(List grantableRoles) { - this.grantableRoles = Objects.requireNonNull(grantableRoles); + if (grantableRoles == null) { + throw new MissingRequiredPropertyException("GetIamGrantableRolesResult", "grantableRoles"); + } + this.grantableRoles = grantableRoles; return this; } public Builder grantableRoles(GetIamGrantableRolesGrantableRole... grantableRoles) { @@ -58,7 +62,10 @@ public Builder grantableRoles(GetIamGrantableRolesGrantableRole... grantableRole } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamGrantableRolesResult", "id"); + } + this.id = id; return this; } public GetIamGrantableRolesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesResult.java index 8996238e091..4e0fbc8fc66 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetIamRolesRole; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -50,12 +51,18 @@ public Builder(GetIamRolesResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamRolesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder roles(List roles) { - this.roles = Objects.requireNonNull(roles); + if (roles == null) { + throw new MissingRequiredPropertyException("GetIamRolesResult", "roles"); + } + this.roles = roles; return this; } public Builder roles(GetIamRolesRole... roles) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesRole.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesRole.java index 057579309a2..edb499cf3d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesRole.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamRolesRole.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -76,42 +77,66 @@ public Builder(GetIamRolesRole defaults) { @CustomType.Setter public Builder createdBy(String createdBy) { - this.createdBy = Objects.requireNonNull(createdBy); + if (createdBy == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "createdBy"); + } + this.createdBy = createdBy; return this; } @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder modifiedBy(String modifiedBy) { - this.modifiedBy = Objects.requireNonNull(modifiedBy); + if (modifiedBy == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "modifiedBy"); + } + this.modifiedBy = modifiedBy; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder roleId(String roleId) { - this.roleId = Objects.requireNonNull(roleId); + if (roleId == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "roleId"); + } + this.roleId = roleId; return this; } @CustomType.Setter public Builder timeCreated(String timeCreated) { - this.timeCreated = Objects.requireNonNull(timeCreated); + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "timeCreated"); + } + this.timeCreated = timeCreated; return this; } @CustomType.Setter public Builder timeModified(String timeModified) { - this.timeModified = Objects.requireNonNull(timeModified); + if (timeModified == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "timeModified"); + } + this.timeModified = timeModified; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetIamRolesRole", "type"); + } + this.type = type; return this; } public GetIamRolesRole build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamStatesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamStatesResult.java index 7c57ee7fb1a..adb232edc34 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamStatesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamStatesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetIamStatesResult defaults) { @CustomType.Setter public Builder country(String country) { - this.country = Objects.requireNonNull(country); + if (country == null) { + throw new MissingRequiredPropertyException("GetIamStatesResult", "country"); + } + this.country = country; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamStatesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder states(List states) { - this.states = Objects.requireNonNull(states); + if (states == null) { + throw new MissingRequiredPropertyException("GetIamStatesResult", "states"); + } + this.states = states; return this; } public Builder states(String... states) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamSupportedLangsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamSupportedLangsResult.java index 7e2e1f44518..68ed79a8f12 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamSupportedLangsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamSupportedLangsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -49,12 +50,18 @@ public Builder(GetIamSupportedLangsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamSupportedLangsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder languages(List languages) { - this.languages = Objects.requireNonNull(languages); + if (languages == null) { + throw new MissingRequiredPropertyException("GetIamSupportedLangsResult", "languages"); + } + this.languages = languages; return this; } public Builder languages(String... languages) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimeoutPoliciesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimeoutPoliciesResult.java index 0331d213c57..99601e05f1e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimeoutPoliciesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimeoutPoliciesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Map; @@ -50,12 +51,18 @@ public Builder(GetIamTimeoutPoliciesResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamTimeoutPoliciesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder policies(Map policies) { - this.policies = Objects.requireNonNull(policies); + if (policies == null) { + throw new MissingRequiredPropertyException("GetIamTimeoutPoliciesResult", "policies"); + } + this.policies = policies; return this; } public GetIamTimeoutPoliciesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesResult.java index a50c6322890..9265ad9988c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetIamTimezonesTimezone; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -50,12 +51,18 @@ public Builder(GetIamTimezonesResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder timezones(List timezones) { - this.timezones = Objects.requireNonNull(timezones); + if (timezones == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesResult", "timezones"); + } + this.timezones = timezones; return this; } public Builder timezones(GetIamTimezonesTimezone... timezones) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesTimezone.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesTimezone.java index e27cf3818c1..eb447846979 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesTimezone.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetIamTimezonesTimezone.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -52,22 +53,34 @@ public Builder(GetIamTimezonesTimezone defaults) { @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesTimezone", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder offset(String offset) { - this.offset = Objects.requireNonNull(offset); + if (offset == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesTimezone", "offset"); + } + this.offset = offset; return this; } @CustomType.Setter public Builder posix(String posix) { - this.posix = Objects.requireNonNull(posix); + if (posix == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesTimezone", "posix"); + } + this.posix = posix; return this; } @CustomType.Setter public Builder timezone(String timezone) { - this.timezone = Objects.requireNonNull(timezone); + if (timezone == null) { + throw new MissingRequiredPropertyException("GetIamTimezonesTimezone", "timezone"); + } + this.timezone = timezone; return this; } public GetIamTimezonesTimezone build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicy.java index 5a000fad155..77e8fb77add 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicy.java @@ -78,11 +78,13 @@ public Builder(GetImagingPolicyImagePolicy defaults) { @CustomType.Setter public Builder breakpoints(@Nullable GetImagingPolicyImagePolicyBreakpoints breakpoints) { + this.breakpoints = breakpoints; return this; } @CustomType.Setter public Builder hosts(@Nullable List hosts) { + this.hosts = hosts; return this; } @@ -91,11 +93,13 @@ public Builder hosts(String... hosts) { } @CustomType.Setter public Builder output(@Nullable GetImagingPolicyImagePolicyOutput output) { + this.output = output; return this; } @CustomType.Setter public Builder postBreakpointTransformations(@Nullable List postBreakpointTransformations) { + this.postBreakpointTransformations = postBreakpointTransformations; return this; } @@ -104,11 +108,13 @@ public Builder postBreakpointTransformations(GetImagingPolicyImagePolicyPostBrea } @CustomType.Setter public Builder rolloutDuration(@Nullable String rolloutDuration) { + this.rolloutDuration = rolloutDuration; return this; } @CustomType.Setter public Builder transformations(@Nullable List transformations) { + this.transformations = transformations; return this; } @@ -117,6 +123,7 @@ public Builder transformations(GetImagingPolicyImagePolicyTransformation... tran } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyBreakpoints.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyBreakpoints.java index c1b1fa5c972..4691080548f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyBreakpoints.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyBreakpoints.java @@ -36,6 +36,7 @@ public Builder(GetImagingPolicyImagePolicyBreakpoints defaults) { @CustomType.Setter public Builder widths(@Nullable List widths) { + this.widths = widths; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyOutput.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyOutput.java index d478c1d1807..07ae7e78ed8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyOutput.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyOutput.java @@ -79,11 +79,13 @@ public Builder(GetImagingPolicyImagePolicyOutput defaults) { @CustomType.Setter public Builder adaptiveQuality(@Nullable String adaptiveQuality) { + this.adaptiveQuality = adaptiveQuality; return this; } @CustomType.Setter public Builder allowedFormats(@Nullable List allowedFormats) { + this.allowedFormats = allowedFormats; return this; } @@ -92,6 +94,7 @@ public Builder allowedFormats(String... allowedFormats) { } @CustomType.Setter public Builder forcedFormats(@Nullable List forcedFormats) { + this.forcedFormats = forcedFormats; return this; } @@ -100,26 +103,31 @@ public Builder forcedFormats(String... forcedFormats) { } @CustomType.Setter public Builder perceptualQuality(@Nullable String perceptualQuality) { + this.perceptualQuality = perceptualQuality; return this; } @CustomType.Setter public Builder perceptualQualityFloor(@Nullable String perceptualQualityFloor) { + this.perceptualQualityFloor = perceptualQualityFloor; return this; } @CustomType.Setter public Builder perceptualQualityVar(@Nullable String perceptualQualityVar) { + this.perceptualQualityVar = perceptualQualityVar; return this; } @CustomType.Setter public Builder quality(@Nullable String quality) { + this.quality = quality; return this; } @CustomType.Setter public Builder qualityVar(@Nullable String qualityVar) { + this.qualityVar = qualityVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformation.java index e896f4aa30a..ccdb87084c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformation.java @@ -155,6 +155,7 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformation defaults) @CustomType.Setter public Builder backgroundColors(@Nullable List backgroundColors) { + this.backgroundColors = backgroundColors; return this; } @@ -163,6 +164,7 @@ public Builder backgroundColors(GetImagingPolicyImagePolicyPostBreakpointTransfo } @CustomType.Setter public Builder blurs(@Nullable List blurs) { + this.blurs = blurs; return this; } @@ -171,6 +173,7 @@ public Builder blurs(GetImagingPolicyImagePolicyPostBreakpointTransformationBlur } @CustomType.Setter public Builder chromaKeys(@Nullable List chromaKeys) { + this.chromaKeys = chromaKeys; return this; } @@ -179,6 +182,7 @@ public Builder chromaKeys(GetImagingPolicyImagePolicyPostBreakpointTransformatio } @CustomType.Setter public Builder composites(@Nullable List composites) { + this.composites = composites; return this; } @@ -187,6 +191,7 @@ public Builder composites(GetImagingPolicyImagePolicyPostBreakpointTransformatio } @CustomType.Setter public Builder compounds(@Nullable List compounds) { + this.compounds = compounds; return this; } @@ -195,6 +200,7 @@ public Builder compounds(GetImagingPolicyImagePolicyPostBreakpointTransformation } @CustomType.Setter public Builder contrasts(@Nullable List contrasts) { + this.contrasts = contrasts; return this; } @@ -203,6 +209,7 @@ public Builder contrasts(GetImagingPolicyImagePolicyPostBreakpointTransformation } @CustomType.Setter public Builder goops(@Nullable List goops) { + this.goops = goops; return this; } @@ -211,6 +218,7 @@ public Builder goops(GetImagingPolicyImagePolicyPostBreakpointTransformationGoop } @CustomType.Setter public Builder grayscales(@Nullable List grayscales) { + this.grayscales = grayscales; return this; } @@ -219,6 +227,7 @@ public Builder grayscales(GetImagingPolicyImagePolicyPostBreakpointTransformatio } @CustomType.Setter public Builder hsls(@Nullable List hsls) { + this.hsls = hsls; return this; } @@ -227,6 +236,7 @@ public Builder hsls(GetImagingPolicyImagePolicyPostBreakpointTransformationHsl.. } @CustomType.Setter public Builder hsvs(@Nullable List hsvs) { + this.hsvs = hsvs; return this; } @@ -235,6 +245,7 @@ public Builder hsvs(GetImagingPolicyImagePolicyPostBreakpointTransformationHsv.. } @CustomType.Setter public Builder ifDimensions(@Nullable List ifDimensions) { + this.ifDimensions = ifDimensions; return this; } @@ -243,6 +254,7 @@ public Builder ifDimensions(GetImagingPolicyImagePolicyPostBreakpointTransformat } @CustomType.Setter public Builder ifOrientations(@Nullable List ifOrientations) { + this.ifOrientations = ifOrientations; return this; } @@ -251,6 +263,7 @@ public Builder ifOrientations(GetImagingPolicyImagePolicyPostBreakpointTransform } @CustomType.Setter public Builder maxColors(@Nullable List maxColors) { + this.maxColors = maxColors; return this; } @@ -259,6 +272,7 @@ public Builder maxColors(GetImagingPolicyImagePolicyPostBreakpointTransformation } @CustomType.Setter public Builder mirrors(@Nullable List mirrors) { + this.mirrors = mirrors; return this; } @@ -267,6 +281,7 @@ public Builder mirrors(GetImagingPolicyImagePolicyPostBreakpointTransformationMi } @CustomType.Setter public Builder monoHues(@Nullable List monoHues) { + this.monoHues = monoHues; return this; } @@ -275,6 +290,7 @@ public Builder monoHues(GetImagingPolicyImagePolicyPostBreakpointTransformationM } @CustomType.Setter public Builder opacities(@Nullable List opacities) { + this.opacities = opacities; return this; } @@ -283,6 +299,7 @@ public Builder opacities(GetImagingPolicyImagePolicyPostBreakpointTransformation } @CustomType.Setter public Builder removeColors(@Nullable List removeColors) { + this.removeColors = removeColors; return this; } @@ -291,6 +308,7 @@ public Builder removeColors(GetImagingPolicyImagePolicyPostBreakpointTransformat } @CustomType.Setter public Builder unsharpMasks(@Nullable List unsharpMasks) { + this.unsharpMasks = unsharpMasks; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBackgroundColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBackgroundColor.java index ed4fc484743..dfaf620ee5c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBackgroundColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBackgroundColor.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationBackground @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBlur.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBlur.java index 5970fa0bd42..4c0b1e121be 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBlur.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationBlur.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationBlur defau @CustomType.Setter public Builder sigma(@Nullable String sigma) { + this.sigma = sigma; return this; } @CustomType.Setter public Builder sigmaVar(@Nullable String sigmaVar) { + this.sigmaVar = sigmaVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationChromaKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationChromaKey.java index f5d8e6b374b..077a0518ae4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationChromaKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationChromaKey.java @@ -114,71 +114,85 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationChromaKey @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueFeather(@Nullable String hueFeather) { + this.hueFeather = hueFeather; return this; } @CustomType.Setter public Builder hueFeatherVar(@Nullable String hueFeatherVar) { + this.hueFeatherVar = hueFeatherVar; return this; } @CustomType.Setter public Builder hueTolerance(@Nullable String hueTolerance) { + this.hueTolerance = hueTolerance; return this; } @CustomType.Setter public Builder hueToleranceVar(@Nullable String hueToleranceVar) { + this.hueToleranceVar = hueToleranceVar; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder lightnessFeather(@Nullable String lightnessFeather) { + this.lightnessFeather = lightnessFeather; return this; } @CustomType.Setter public Builder lightnessFeatherVar(@Nullable String lightnessFeatherVar) { + this.lightnessFeatherVar = lightnessFeatherVar; return this; } @CustomType.Setter public Builder lightnessTolerance(@Nullable String lightnessTolerance) { + this.lightnessTolerance = lightnessTolerance; return this; } @CustomType.Setter public Builder lightnessToleranceVar(@Nullable String lightnessToleranceVar) { + this.lightnessToleranceVar = lightnessToleranceVar; return this; } @CustomType.Setter public Builder saturationFeather(@Nullable String saturationFeather) { + this.saturationFeather = saturationFeather; return this; } @CustomType.Setter public Builder saturationFeatherVar(@Nullable String saturationFeatherVar) { + this.saturationFeatherVar = saturationFeatherVar; return this; } @CustomType.Setter public Builder saturationTolerance(@Nullable String saturationTolerance) { + this.saturationTolerance = saturationTolerance; return this; } @CustomType.Setter public Builder saturationToleranceVar(@Nullable String saturationToleranceVar) { + this.saturationToleranceVar = saturationToleranceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java index 244e154b52b..03d4cc850b9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationComposite.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -109,66 +110,81 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationComposite @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder image(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage image) { - this.image = Objects.requireNonNull(image); + if (image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyPostBreakpointTransformationComposite", "image"); + } + this.image = image; return this; } @CustomType.Setter public Builder placement(@Nullable String placement) { + this.placement = placement; return this; } @CustomType.Setter public Builder placementVar(@Nullable String placementVar) { + this.placementVar = placementVar; return this; } @CustomType.Setter public Builder scale(@Nullable String scale) { + this.scale = scale; return this; } @CustomType.Setter public Builder scaleDimension(@Nullable String scaleDimension) { + this.scaleDimension = scaleDimension; return this; } @CustomType.Setter public Builder scaleDimensionVar(@Nullable String scaleDimensionVar) { + this.scaleDimensionVar = scaleDimensionVar; return this; } @CustomType.Setter public Builder scaleVar(@Nullable String scaleVar) { + this.scaleVar = scaleVar; return this; } @CustomType.Setter public Builder xPosition(@Nullable String xPosition) { + this.xPosition = xPosition; return this; } @CustomType.Setter public Builder xPositionVar(@Nullable String xPositionVar) { + this.xPositionVar = xPositionVar; return this; } @CustomType.Setter public Builder yPosition(@Nullable String yPosition) { + this.yPosition = yPosition; return this; } @CustomType.Setter public Builder yPositionVar(@Nullable String yPositionVar) { + this.yPositionVar = yPositionVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage.java index 8f9044e916e..c9ef80ae7c7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImage.java @@ -57,6 +57,7 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeI @CustomType.Setter public Builder boxImages(@Nullable List boxImages) { + this.boxImages = boxImages; return this; } @@ -65,6 +66,7 @@ public Builder boxImages(GetImagingPolicyImagePolicyPostBreakpointTransformation } @CustomType.Setter public Builder circleImages(@Nullable List circleImages) { + this.circleImages = circleImages; return this; } @@ -73,6 +75,7 @@ public Builder circleImages(GetImagingPolicyImagePolicyPostBreakpointTransformat } @CustomType.Setter public Builder textImages(@Nullable List textImages) { + this.textImages = textImages; return this; } @@ -81,6 +84,7 @@ public Builder textImages(GetImagingPolicyImagePolicyPostBreakpointTransformatio } @CustomType.Setter public Builder urlImages(@Nullable List urlImages) { + this.urlImages = urlImages; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageBoxImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageBoxImage.java index a53b7d25ec0..ccbc20d39f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageBoxImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageBoxImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeI @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageCircleImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageCircleImage.java index 46bc1881cd9..2e9902b22fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageCircleImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageCircleImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeI @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder diameter(@Nullable String diameter) { + this.diameter = diameter; return this; } @CustomType.Setter public Builder diameterVar(@Nullable String diameterVar) { + this.diameterVar = diameterVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageTextImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageTextImage.java index 5d043783bac..e846ee5bd43 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageTextImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageTextImage.java @@ -109,66 +109,79 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeI @CustomType.Setter public Builder fill(@Nullable String fill) { + this.fill = fill; return this; } @CustomType.Setter public Builder fillVar(@Nullable String fillVar) { + this.fillVar = fillVar; return this; } @CustomType.Setter public Builder size(@Nullable String size) { + this.size = size; return this; } @CustomType.Setter public Builder sizeVar(@Nullable String sizeVar) { + this.sizeVar = sizeVar; return this; } @CustomType.Setter public Builder stroke(@Nullable String stroke) { + this.stroke = stroke; return this; } @CustomType.Setter public Builder strokeSize(@Nullable String strokeSize) { + this.strokeSize = strokeSize; return this; } @CustomType.Setter public Builder strokeSizeVar(@Nullable String strokeSizeVar) { + this.strokeSizeVar = strokeSizeVar; return this; } @CustomType.Setter public Builder strokeVar(@Nullable String strokeVar) { + this.strokeVar = strokeVar; return this; } @CustomType.Setter public Builder text(@Nullable String text) { + this.text = text; return this; } @CustomType.Setter public Builder textVar(@Nullable String textVar) { + this.textVar = textVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder typeface(@Nullable String typeface) { + this.typeface = typeface; return this; } @CustomType.Setter public Builder typefaceVar(@Nullable String typefaceVar) { + this.typefaceVar = typefaceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageUrlImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageUrlImage.java index 16f38e0e761..4263f22c1c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageUrlImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeImageUrlImage.java @@ -49,16 +49,19 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompositeI @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder url(@Nullable String url) { + this.url = url; return this; } @CustomType.Setter public Builder urlVar(@Nullable String urlVar) { + this.urlVar = urlVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompound.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompound.java index fb0959384ce..640a9091d00 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompound.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationCompound.java @@ -36,6 +36,7 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationCompound d @CustomType.Setter public Builder transformations(@Nullable List transformations) { + this.transformations = transformations; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationContrast.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationContrast.java index 6dbc358db38..862f5c0fa0f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationContrast.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationContrast.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationContrast d @CustomType.Setter public Builder brightness(@Nullable String brightness) { + this.brightness = brightness; return this; } @CustomType.Setter public Builder brightnessVar(@Nullable String brightnessVar) { + this.brightnessVar = brightnessVar; return this; } @CustomType.Setter public Builder contrast(@Nullable String contrast) { + this.contrast = contrast; return this; } @CustomType.Setter public Builder contrastVar(@Nullable String contrastVar) { + this.contrastVar = contrastVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGoop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGoop.java index c531d3a740a..92b778a2956 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGoop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGoop.java @@ -78,41 +78,49 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationGoop defau @CustomType.Setter public Builder chaos(@Nullable String chaos) { + this.chaos = chaos; return this; } @CustomType.Setter public Builder chaosVar(@Nullable String chaosVar) { + this.chaosVar = chaosVar; return this; } @CustomType.Setter public Builder density(@Nullable String density) { + this.density = density; return this; } @CustomType.Setter public Builder densityVar(@Nullable String densityVar) { + this.densityVar = densityVar; return this; } @CustomType.Setter public Builder power(@Nullable String power) { + this.power = power; return this; } @CustomType.Setter public Builder powerVar(@Nullable String powerVar) { + this.powerVar = powerVar; return this; } @CustomType.Setter public Builder seed(@Nullable String seed) { + this.seed = seed; return this; } @CustomType.Setter public Builder seedVar(@Nullable String seedVar) { + this.seedVar = seedVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGrayscale.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGrayscale.java index 361e2907581..8838bc95594 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGrayscale.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationGrayscale.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationGrayscale @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder typeVar(@Nullable String typeVar) { + this.typeVar = typeVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsl.java index 4bcc1a23c2a..d2ae133712e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsl.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationHsl defaul @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder lightness(@Nullable String lightness) { + this.lightness = lightness; return this; } @CustomType.Setter public Builder lightnessVar(@Nullable String lightnessVar) { + this.lightnessVar = lightnessVar; return this; } @CustomType.Setter public Builder saturation(@Nullable String saturation) { + this.saturation = saturation; return this; } @CustomType.Setter public Builder saturationVar(@Nullable String saturationVar) { + this.saturationVar = saturationVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsv.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsv.java index 336e0b7eac7..40c8505ab5f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsv.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationHsv.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationHsv defaul @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder saturation(@Nullable String saturation) { + this.saturation = saturation; return this; } @CustomType.Setter public Builder saturationVar(@Nullable String saturationVar) { + this.saturationVar = saturationVar; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } @CustomType.Setter public Builder valueVar(@Nullable String valueVar) { + this.valueVar = valueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfDimension.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfDimension.java index 145d06de0eb..a04ce15b831 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfDimension.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfDimension.java @@ -79,41 +79,49 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationIfDimensio @CustomType.Setter("default") public Builder default_(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation default_) { + this.default_ = default_; return this; } @CustomType.Setter public Builder dimension(@Nullable String dimension) { + this.dimension = dimension; return this; } @CustomType.Setter public Builder dimensionVar(@Nullable String dimensionVar) { + this.dimensionVar = dimensionVar; return this; } @CustomType.Setter public Builder equal(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation equal) { + this.equal = equal; return this; } @CustomType.Setter public Builder greaterThan(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation greaterThan) { + this.greaterThan = greaterThan; return this; } @CustomType.Setter public Builder lessThan(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation lessThan) { + this.lessThan = lessThan; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } @CustomType.Setter public Builder valueVar(@Nullable String valueVar) { + this.valueVar = valueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfOrientation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfOrientation.java index 4229fd5013d..0ab42003c21 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfOrientation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationIfOrientation.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationIfOrientat @CustomType.Setter("default") public Builder default_(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation default_) { + this.default_ = default_; return this; } @CustomType.Setter public Builder landscape(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation landscape) { + this.landscape = landscape; return this; } @CustomType.Setter public Builder portrait(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation portrait) { + this.portrait = portrait; return this; } @CustomType.Setter public Builder square(@Nullable GetImagingPolicyImagePolicyPostBreakpointTransformation square) { + this.square = square; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMaxColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMaxColor.java index 9436e07d6ab..a2aebf2e648 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMaxColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMaxColor.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationMaxColor d @CustomType.Setter public Builder colors(@Nullable String colors) { + this.colors = colors; return this; } @CustomType.Setter public Builder colorsVar(@Nullable String colorsVar) { + this.colorsVar = colorsVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMirror.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMirror.java index fcfb9fc5ff2..4a5d97f0a43 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMirror.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMirror.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationMirror def @CustomType.Setter public Builder horizontal(@Nullable String horizontal) { + this.horizontal = horizontal; return this; } @CustomType.Setter public Builder horizontalVar(@Nullable String horizontalVar) { + this.horizontalVar = horizontalVar; return this; } @CustomType.Setter public Builder vertical(@Nullable String vertical) { + this.vertical = vertical; return this; } @CustomType.Setter public Builder verticalVar(@Nullable String verticalVar) { + this.verticalVar = verticalVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMonoHue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMonoHue.java index 44cbe20e274..c957848b464 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMonoHue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationMonoHue.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationMonoHue de @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationOpacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationOpacity.java index 1079e697a30..e91d06d4462 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationOpacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationOpacity.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationOpacity de @CustomType.Setter public Builder opacity(@Nullable String opacity) { + this.opacity = opacity; return this; } @CustomType.Setter public Builder opacityVar(@Nullable String opacityVar) { + this.opacityVar = opacityVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationRemoveColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationRemoveColor.java index 9c815d3855b..1ac41a734b2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationRemoveColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationRemoveColor.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationRemoveColo @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder feather(@Nullable String feather) { + this.feather = feather; return this; } @CustomType.Setter public Builder featherVar(@Nullable String featherVar) { + this.featherVar = featherVar; return this; } @CustomType.Setter public Builder tolerance(@Nullable String tolerance) { + this.tolerance = tolerance; return this; } @CustomType.Setter public Builder toleranceVar(@Nullable String toleranceVar) { + this.toleranceVar = toleranceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationUnsharpMask.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationUnsharpMask.java index 73ac4d5ec20..aaa815d8ae2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationUnsharpMask.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyPostBreakpointTransformationUnsharpMask.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyPostBreakpointTransformationUnsharpMas @CustomType.Setter public Builder gain(@Nullable String gain) { + this.gain = gain; return this; } @CustomType.Setter public Builder gainVar(@Nullable String gainVar) { + this.gainVar = gainVar; return this; } @CustomType.Setter public Builder sigma(@Nullable String sigma) { + this.sigma = sigma; return this; } @CustomType.Setter public Builder sigmaVar(@Nullable String sigmaVar) { + this.sigmaVar = sigmaVar; return this; } @CustomType.Setter public Builder threshold(@Nullable String threshold) { + this.threshold = threshold; return this; } @CustomType.Setter public Builder thresholdVar(@Nullable String thresholdVar) { + this.thresholdVar = thresholdVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformation.java index 791d77deb5c..70ed6d99f35 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformation.java @@ -253,6 +253,7 @@ public Builder(GetImagingPolicyImagePolicyTransformation defaults) { @CustomType.Setter public Builder appends(@Nullable List appends) { + this.appends = appends; return this; } @@ -261,6 +262,7 @@ public Builder appends(GetImagingPolicyImagePolicyTransformationAppend... append } @CustomType.Setter public Builder aspectCrops(@Nullable List aspectCrops) { + this.aspectCrops = aspectCrops; return this; } @@ -269,6 +271,7 @@ public Builder aspectCrops(GetImagingPolicyImagePolicyTransformationAspectCrop.. } @CustomType.Setter public Builder backgroundColors(@Nullable List backgroundColors) { + this.backgroundColors = backgroundColors; return this; } @@ -277,6 +280,7 @@ public Builder backgroundColors(GetImagingPolicyImagePolicyTransformationBackgro } @CustomType.Setter public Builder blurs(@Nullable List blurs) { + this.blurs = blurs; return this; } @@ -285,6 +289,7 @@ public Builder blurs(GetImagingPolicyImagePolicyTransformationBlur... blurs) { } @CustomType.Setter public Builder chromaKeys(@Nullable List chromaKeys) { + this.chromaKeys = chromaKeys; return this; } @@ -293,6 +298,7 @@ public Builder chromaKeys(GetImagingPolicyImagePolicyTransformationChromaKey... } @CustomType.Setter public Builder composites(@Nullable List composites) { + this.composites = composites; return this; } @@ -301,6 +307,7 @@ public Builder composites(GetImagingPolicyImagePolicyTransformationComposite... } @CustomType.Setter public Builder compounds(@Nullable List compounds) { + this.compounds = compounds; return this; } @@ -309,6 +316,7 @@ public Builder compounds(GetImagingPolicyImagePolicyTransformationCompound... co } @CustomType.Setter public Builder contrasts(@Nullable List contrasts) { + this.contrasts = contrasts; return this; } @@ -317,6 +325,7 @@ public Builder contrasts(GetImagingPolicyImagePolicyTransformationContrast... co } @CustomType.Setter public Builder crops(@Nullable List crops) { + this.crops = crops; return this; } @@ -325,6 +334,7 @@ public Builder crops(GetImagingPolicyImagePolicyTransformationCrop... crops) { } @CustomType.Setter public Builder faceCrops(@Nullable List faceCrops) { + this.faceCrops = faceCrops; return this; } @@ -333,6 +343,7 @@ public Builder faceCrops(GetImagingPolicyImagePolicyTransformationFaceCrop... fa } @CustomType.Setter public Builder featureCrops(@Nullable List featureCrops) { + this.featureCrops = featureCrops; return this; } @@ -341,6 +352,7 @@ public Builder featureCrops(GetImagingPolicyImagePolicyTransformationFeatureCrop } @CustomType.Setter public Builder fitAndFills(@Nullable List fitAndFills) { + this.fitAndFills = fitAndFills; return this; } @@ -349,6 +361,7 @@ public Builder fitAndFills(GetImagingPolicyImagePolicyTransformationFitAndFill.. } @CustomType.Setter public Builder goops(@Nullable List goops) { + this.goops = goops; return this; } @@ -357,6 +370,7 @@ public Builder goops(GetImagingPolicyImagePolicyTransformationGoop... goops) { } @CustomType.Setter public Builder grayscales(@Nullable List grayscales) { + this.grayscales = grayscales; return this; } @@ -365,6 +379,7 @@ public Builder grayscales(GetImagingPolicyImagePolicyTransformationGrayscale... } @CustomType.Setter public Builder hsls(@Nullable List hsls) { + this.hsls = hsls; return this; } @@ -373,6 +388,7 @@ public Builder hsls(GetImagingPolicyImagePolicyTransformationHsl... hsls) { } @CustomType.Setter public Builder hsvs(@Nullable List hsvs) { + this.hsvs = hsvs; return this; } @@ -381,6 +397,7 @@ public Builder hsvs(GetImagingPolicyImagePolicyTransformationHsv... hsvs) { } @CustomType.Setter public Builder ifDimensions(@Nullable List ifDimensions) { + this.ifDimensions = ifDimensions; return this; } @@ -389,6 +406,7 @@ public Builder ifDimensions(GetImagingPolicyImagePolicyTransformationIfDimension } @CustomType.Setter public Builder ifOrientations(@Nullable List ifOrientations) { + this.ifOrientations = ifOrientations; return this; } @@ -397,6 +415,7 @@ public Builder ifOrientations(GetImagingPolicyImagePolicyTransformationIfOrienta } @CustomType.Setter public Builder imQueries(@Nullable List imQueries) { + this.imQueries = imQueries; return this; } @@ -405,6 +424,7 @@ public Builder imQueries(GetImagingPolicyImagePolicyTransformationImQuery... imQ } @CustomType.Setter public Builder maxColors(@Nullable List maxColors) { + this.maxColors = maxColors; return this; } @@ -413,6 +433,7 @@ public Builder maxColors(GetImagingPolicyImagePolicyTransformationMaxColor... ma } @CustomType.Setter public Builder mirrors(@Nullable List mirrors) { + this.mirrors = mirrors; return this; } @@ -421,6 +442,7 @@ public Builder mirrors(GetImagingPolicyImagePolicyTransformationMirror... mirror } @CustomType.Setter public Builder monoHues(@Nullable List monoHues) { + this.monoHues = monoHues; return this; } @@ -429,6 +451,7 @@ public Builder monoHues(GetImagingPolicyImagePolicyTransformationMonoHue... mono } @CustomType.Setter public Builder opacities(@Nullable List opacities) { + this.opacities = opacities; return this; } @@ -437,6 +460,7 @@ public Builder opacities(GetImagingPolicyImagePolicyTransformationOpacity... opa } @CustomType.Setter public Builder regionOfInterestCrops(@Nullable List regionOfInterestCrops) { + this.regionOfInterestCrops = regionOfInterestCrops; return this; } @@ -445,6 +469,7 @@ public Builder regionOfInterestCrops(GetImagingPolicyImagePolicyTransformationRe } @CustomType.Setter public Builder relativeCrops(@Nullable List relativeCrops) { + this.relativeCrops = relativeCrops; return this; } @@ -453,6 +478,7 @@ public Builder relativeCrops(GetImagingPolicyImagePolicyTransformationRelativeCr } @CustomType.Setter public Builder removeColors(@Nullable List removeColors) { + this.removeColors = removeColors; return this; } @@ -461,6 +487,7 @@ public Builder removeColors(GetImagingPolicyImagePolicyTransformationRemoveColor } @CustomType.Setter public Builder resizes(@Nullable List resizes) { + this.resizes = resizes; return this; } @@ -469,6 +496,7 @@ public Builder resizes(GetImagingPolicyImagePolicyTransformationResize... resize } @CustomType.Setter public Builder rotates(@Nullable List rotates) { + this.rotates = rotates; return this; } @@ -477,6 +505,7 @@ public Builder rotates(GetImagingPolicyImagePolicyTransformationRotate... rotate } @CustomType.Setter public Builder scales(@Nullable List scales) { + this.scales = scales; return this; } @@ -485,6 +514,7 @@ public Builder scales(GetImagingPolicyImagePolicyTransformationScale... scales) } @CustomType.Setter public Builder shears(@Nullable List shears) { + this.shears = shears; return this; } @@ -493,6 +523,7 @@ public Builder shears(GetImagingPolicyImagePolicyTransformationShears... shears) } @CustomType.Setter public Builder trims(@Nullable List trims) { + this.trims = trims; return this; } @@ -501,6 +532,7 @@ public Builder trims(GetImagingPolicyImagePolicyTransformationTrim... trims) { } @CustomType.Setter public Builder unsharpMasks(@Nullable List unsharpMasks) { + this.unsharpMasks = unsharpMasks; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppend.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppend.java index 2b009949cc3..13d87cc10b2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppend.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppend.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationAppendImage; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -73,36 +74,45 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppend defaults) { @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityPriority(@Nullable String gravityPriority) { + this.gravityPriority = gravityPriority; return this; } @CustomType.Setter public Builder gravityPriorityVar(@Nullable String gravityPriorityVar) { + this.gravityPriorityVar = gravityPriorityVar; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder image(GetImagingPolicyImagePolicyTransformationAppendImage image) { - this.image = Objects.requireNonNull(image); + if (image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationAppend", "image"); + } + this.image = image; return this; } @CustomType.Setter public Builder preserveMinorDimension(@Nullable String preserveMinorDimension) { + this.preserveMinorDimension = preserveMinorDimension; return this; } @CustomType.Setter public Builder preserveMinorDimensionVar(@Nullable String preserveMinorDimensionVar) { + this.preserveMinorDimensionVar = preserveMinorDimensionVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImage.java index 5b53ddcf92e..1d779a19be5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImage.java @@ -57,6 +57,7 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppendImage defaults) { @CustomType.Setter public Builder boxImages(@Nullable List boxImages) { + this.boxImages = boxImages; return this; } @@ -65,6 +66,7 @@ public Builder boxImages(GetImagingPolicyImagePolicyTransformationAppendImageBox } @CustomType.Setter public Builder circleImages(@Nullable List circleImages) { + this.circleImages = circleImages; return this; } @@ -73,6 +75,7 @@ public Builder circleImages(GetImagingPolicyImagePolicyTransformationAppendImage } @CustomType.Setter public Builder textImages(@Nullable List textImages) { + this.textImages = textImages; return this; } @@ -81,6 +84,7 @@ public Builder textImages(GetImagingPolicyImagePolicyTransformationAppendImageTe } @CustomType.Setter public Builder urlImages(@Nullable List urlImages) { + this.urlImages = urlImages; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageBoxImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageBoxImage.java index 9350a8c6eb4..f9312a0bf64 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageBoxImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageBoxImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppendImageBoxImage defa @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageCircleImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageCircleImage.java index ba215d9dcdd..bc72d9ce43d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageCircleImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageCircleImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppendImageCircleImage d @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder diameter(@Nullable String diameter) { + this.diameter = diameter; return this; } @CustomType.Setter public Builder diameterVar(@Nullable String diameterVar) { + this.diameterVar = diameterVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageTextImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageTextImage.java index 0984709517a..6f726d38a9f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageTextImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageTextImage.java @@ -109,66 +109,79 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppendImageTextImage def @CustomType.Setter public Builder fill(@Nullable String fill) { + this.fill = fill; return this; } @CustomType.Setter public Builder fillVar(@Nullable String fillVar) { + this.fillVar = fillVar; return this; } @CustomType.Setter public Builder size(@Nullable String size) { + this.size = size; return this; } @CustomType.Setter public Builder sizeVar(@Nullable String sizeVar) { + this.sizeVar = sizeVar; return this; } @CustomType.Setter public Builder stroke(@Nullable String stroke) { + this.stroke = stroke; return this; } @CustomType.Setter public Builder strokeSize(@Nullable String strokeSize) { + this.strokeSize = strokeSize; return this; } @CustomType.Setter public Builder strokeSizeVar(@Nullable String strokeSizeVar) { + this.strokeSizeVar = strokeSizeVar; return this; } @CustomType.Setter public Builder strokeVar(@Nullable String strokeVar) { + this.strokeVar = strokeVar; return this; } @CustomType.Setter public Builder text(@Nullable String text) { + this.text = text; return this; } @CustomType.Setter public Builder textVar(@Nullable String textVar) { + this.textVar = textVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder typeface(@Nullable String typeface) { + this.typeface = typeface; return this; } @CustomType.Setter public Builder typefaceVar(@Nullable String typefaceVar) { + this.typefaceVar = typefaceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageUrlImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageUrlImage.java index 65d63844ea2..6eb630cbc48 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageUrlImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAppendImageUrlImage.java @@ -49,16 +49,19 @@ public Builder(GetImagingPolicyImagePolicyTransformationAppendImageUrlImage defa @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder url(@Nullable String url) { + this.url = url; return this; } @CustomType.Setter public Builder urlVar(@Nullable String urlVar) { + this.urlVar = urlVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAspectCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAspectCrop.java index 7f52f591cbe..ed4fad13fcf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAspectCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationAspectCrop.java @@ -90,51 +90,61 @@ public Builder(GetImagingPolicyImagePolicyTransformationAspectCrop defaults) { @CustomType.Setter public Builder allowExpansion(@Nullable String allowExpansion) { + this.allowExpansion = allowExpansion; return this; } @CustomType.Setter public Builder allowExpansionVar(@Nullable String allowExpansionVar) { + this.allowExpansionVar = allowExpansionVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } @CustomType.Setter public Builder xPosition(@Nullable String xPosition) { + this.xPosition = xPosition; return this; } @CustomType.Setter public Builder xPositionVar(@Nullable String xPositionVar) { + this.xPositionVar = xPositionVar; return this; } @CustomType.Setter public Builder yPosition(@Nullable String yPosition) { + this.yPosition = yPosition; return this; } @CustomType.Setter public Builder yPositionVar(@Nullable String yPositionVar) { + this.yPositionVar = yPositionVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBackgroundColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBackgroundColor.java index 57215f716d8..2f20996d1c8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBackgroundColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBackgroundColor.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationBackgroundColor defaults @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBlur.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBlur.java index f6d738099b2..2367c2e4e92 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBlur.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationBlur.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationBlur defaults) { @CustomType.Setter public Builder sigma(@Nullable String sigma) { + this.sigma = sigma; return this; } @CustomType.Setter public Builder sigmaVar(@Nullable String sigmaVar) { + this.sigmaVar = sigmaVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationChromaKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationChromaKey.java index 69098c0688a..2a23e7a5dfa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationChromaKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationChromaKey.java @@ -114,71 +114,85 @@ public Builder(GetImagingPolicyImagePolicyTransformationChromaKey defaults) { @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueFeather(@Nullable String hueFeather) { + this.hueFeather = hueFeather; return this; } @CustomType.Setter public Builder hueFeatherVar(@Nullable String hueFeatherVar) { + this.hueFeatherVar = hueFeatherVar; return this; } @CustomType.Setter public Builder hueTolerance(@Nullable String hueTolerance) { + this.hueTolerance = hueTolerance; return this; } @CustomType.Setter public Builder hueToleranceVar(@Nullable String hueToleranceVar) { + this.hueToleranceVar = hueToleranceVar; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder lightnessFeather(@Nullable String lightnessFeather) { + this.lightnessFeather = lightnessFeather; return this; } @CustomType.Setter public Builder lightnessFeatherVar(@Nullable String lightnessFeatherVar) { + this.lightnessFeatherVar = lightnessFeatherVar; return this; } @CustomType.Setter public Builder lightnessTolerance(@Nullable String lightnessTolerance) { + this.lightnessTolerance = lightnessTolerance; return this; } @CustomType.Setter public Builder lightnessToleranceVar(@Nullable String lightnessToleranceVar) { + this.lightnessToleranceVar = lightnessToleranceVar; return this; } @CustomType.Setter public Builder saturationFeather(@Nullable String saturationFeather) { + this.saturationFeather = saturationFeather; return this; } @CustomType.Setter public Builder saturationFeatherVar(@Nullable String saturationFeatherVar) { + this.saturationFeatherVar = saturationFeatherVar; return this; } @CustomType.Setter public Builder saturationTolerance(@Nullable String saturationTolerance) { + this.saturationTolerance = saturationTolerance; return this; } @CustomType.Setter public Builder saturationToleranceVar(@Nullable String saturationToleranceVar) { + this.saturationToleranceVar = saturationToleranceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationComposite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationComposite.java index 5203e26396c..a365561d6f5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationComposite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationComposite.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationCompositeImage; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -109,66 +110,81 @@ public Builder(GetImagingPolicyImagePolicyTransformationComposite defaults) { @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder image(GetImagingPolicyImagePolicyTransformationCompositeImage image) { - this.image = Objects.requireNonNull(image); + if (image == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationComposite", "image"); + } + this.image = image; return this; } @CustomType.Setter public Builder placement(@Nullable String placement) { + this.placement = placement; return this; } @CustomType.Setter public Builder placementVar(@Nullable String placementVar) { + this.placementVar = placementVar; return this; } @CustomType.Setter public Builder scale(@Nullable String scale) { + this.scale = scale; return this; } @CustomType.Setter public Builder scaleDimension(@Nullable String scaleDimension) { + this.scaleDimension = scaleDimension; return this; } @CustomType.Setter public Builder scaleDimensionVar(@Nullable String scaleDimensionVar) { + this.scaleDimensionVar = scaleDimensionVar; return this; } @CustomType.Setter public Builder scaleVar(@Nullable String scaleVar) { + this.scaleVar = scaleVar; return this; } @CustomType.Setter public Builder xPosition(@Nullable String xPosition) { + this.xPosition = xPosition; return this; } @CustomType.Setter public Builder xPositionVar(@Nullable String xPositionVar) { + this.xPositionVar = xPositionVar; return this; } @CustomType.Setter public Builder yPosition(@Nullable String yPosition) { + this.yPosition = yPosition; return this; } @CustomType.Setter public Builder yPositionVar(@Nullable String yPositionVar) { + this.yPositionVar = yPositionVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImage.java index 532ffacc322..3713a756853 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImage.java @@ -57,6 +57,7 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompositeImage defaults) @CustomType.Setter public Builder boxImages(@Nullable List boxImages) { + this.boxImages = boxImages; return this; } @@ -65,6 +66,7 @@ public Builder boxImages(GetImagingPolicyImagePolicyTransformationCompositeImage } @CustomType.Setter public Builder circleImages(@Nullable List circleImages) { + this.circleImages = circleImages; return this; } @@ -73,6 +75,7 @@ public Builder circleImages(GetImagingPolicyImagePolicyTransformationCompositeIm } @CustomType.Setter public Builder textImages(@Nullable List textImages) { + this.textImages = textImages; return this; } @@ -81,6 +84,7 @@ public Builder textImages(GetImagingPolicyImagePolicyTransformationCompositeImag } @CustomType.Setter public Builder urlImages(@Nullable List urlImages) { + this.urlImages = urlImages; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageBoxImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageBoxImage.java index 0ec7647d773..ba06d4a2edb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageBoxImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageBoxImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompositeImageBoxImage d @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageCircleImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageCircleImage.java index 33a2e472c46..4c5db09bdaa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageCircleImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageCircleImage.java @@ -73,36 +73,43 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompositeImageCircleImag @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder diameter(@Nullable String diameter) { + this.diameter = diameter; return this; } @CustomType.Setter public Builder diameterVar(@Nullable String diameterVar) { + this.diameterVar = diameterVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageTextImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageTextImage.java index 9c2ef418180..45dbd4455c7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageTextImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageTextImage.java @@ -109,66 +109,79 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompositeImageTextImage @CustomType.Setter public Builder fill(@Nullable String fill) { + this.fill = fill; return this; } @CustomType.Setter public Builder fillVar(@Nullable String fillVar) { + this.fillVar = fillVar; return this; } @CustomType.Setter public Builder size(@Nullable String size) { + this.size = size; return this; } @CustomType.Setter public Builder sizeVar(@Nullable String sizeVar) { + this.sizeVar = sizeVar; return this; } @CustomType.Setter public Builder stroke(@Nullable String stroke) { + this.stroke = stroke; return this; } @CustomType.Setter public Builder strokeSize(@Nullable String strokeSize) { + this.strokeSize = strokeSize; return this; } @CustomType.Setter public Builder strokeSizeVar(@Nullable String strokeSizeVar) { + this.strokeSizeVar = strokeSizeVar; return this; } @CustomType.Setter public Builder strokeVar(@Nullable String strokeVar) { + this.strokeVar = strokeVar; return this; } @CustomType.Setter public Builder text(@Nullable String text) { + this.text = text; return this; } @CustomType.Setter public Builder textVar(@Nullable String textVar) { + this.textVar = textVar; return this; } @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder typeface(@Nullable String typeface) { + this.typeface = typeface; return this; } @CustomType.Setter public Builder typefaceVar(@Nullable String typefaceVar) { + this.typefaceVar = typefaceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageUrlImage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageUrlImage.java index 1223fc2cebd..502bfce8b5f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageUrlImage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompositeImageUrlImage.java @@ -49,16 +49,19 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompositeImageUrlImage d @CustomType.Setter public Builder transformation(@Nullable GetImagingPolicyImagePolicyTransformation transformation) { + this.transformation = transformation; return this; } @CustomType.Setter public Builder url(@Nullable String url) { + this.url = url; return this; } @CustomType.Setter public Builder urlVar(@Nullable String urlVar) { + this.urlVar = urlVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompound.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompound.java index fe85bdc9f6c..2688867d53d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompound.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCompound.java @@ -36,6 +36,7 @@ public Builder(GetImagingPolicyImagePolicyTransformationCompound defaults) { @CustomType.Setter public Builder transformations(@Nullable List transformations) { + this.transformations = transformations; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationContrast.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationContrast.java index cd835667ce3..1d98b616355 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationContrast.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationContrast.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationContrast defaults) { @CustomType.Setter public Builder brightness(@Nullable String brightness) { + this.brightness = brightness; return this; } @CustomType.Setter public Builder brightnessVar(@Nullable String brightnessVar) { + this.brightnessVar = brightnessVar; return this; } @CustomType.Setter public Builder contrast(@Nullable String contrast) { + this.contrast = contrast; return this; } @CustomType.Setter public Builder contrastVar(@Nullable String contrastVar) { + this.contrastVar = contrastVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCrop.java index 2a8b24d20bd..884dccb0941 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationCrop.java @@ -102,61 +102,73 @@ public Builder(GetImagingPolicyImagePolicyTransformationCrop defaults) { @CustomType.Setter public Builder allowExpansion(@Nullable String allowExpansion) { + this.allowExpansion = allowExpansion; return this; } @CustomType.Setter public Builder allowExpansionVar(@Nullable String allowExpansionVar) { + this.allowExpansionVar = allowExpansionVar; return this; } @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } @CustomType.Setter public Builder xPosition(@Nullable String xPosition) { + this.xPosition = xPosition; return this; } @CustomType.Setter public Builder xPositionVar(@Nullable String xPositionVar) { + this.xPositionVar = xPositionVar; return this; } @CustomType.Setter public Builder yPosition(@Nullable String yPosition) { + this.yPosition = yPosition; return this; } @CustomType.Setter public Builder yPositionVar(@Nullable String yPositionVar) { + this.yPositionVar = yPositionVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFaceCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFaceCrop.java index 5aad6b4de4d..78a3c88f1ff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFaceCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFaceCrop.java @@ -138,91 +138,109 @@ public Builder(GetImagingPolicyImagePolicyTransformationFaceCrop defaults) { @CustomType.Setter public Builder algorithm(@Nullable String algorithm) { + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder algorithmVar(@Nullable String algorithmVar) { + this.algorithmVar = algorithmVar; return this; } @CustomType.Setter public Builder confidence(@Nullable String confidence) { + this.confidence = confidence; return this; } @CustomType.Setter public Builder confidenceVar(@Nullable String confidenceVar) { + this.confidenceVar = confidenceVar; return this; } @CustomType.Setter public Builder failGravity(@Nullable String failGravity) { + this.failGravity = failGravity; return this; } @CustomType.Setter public Builder failGravityVar(@Nullable String failGravityVar) { + this.failGravityVar = failGravityVar; return this; } @CustomType.Setter public Builder focus(@Nullable String focus) { + this.focus = focus; return this; } @CustomType.Setter public Builder focusVar(@Nullable String focusVar) { + this.focusVar = focusVar; return this; } @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder padding(@Nullable String padding) { + this.padding = padding; return this; } @CustomType.Setter public Builder paddingVar(@Nullable String paddingVar) { + this.paddingVar = paddingVar; return this; } @CustomType.Setter public Builder style(@Nullable String style) { + this.style = style; return this; } @CustomType.Setter public Builder styleVar(@Nullable String styleVar) { + this.styleVar = styleVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFeatureCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFeatureCrop.java index b51a1f81381..438db2757f1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFeatureCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFeatureCrop.java @@ -138,91 +138,109 @@ public Builder(GetImagingPolicyImagePolicyTransformationFeatureCrop defaults) { @CustomType.Setter public Builder failGravity(@Nullable String failGravity) { + this.failGravity = failGravity; return this; } @CustomType.Setter public Builder failGravityVar(@Nullable String failGravityVar) { + this.failGravityVar = failGravityVar; return this; } @CustomType.Setter public Builder featureRadius(@Nullable String featureRadius) { + this.featureRadius = featureRadius; return this; } @CustomType.Setter public Builder featureRadiusVar(@Nullable String featureRadiusVar) { + this.featureRadiusVar = featureRadiusVar; return this; } @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder maxFeatures(@Nullable String maxFeatures) { + this.maxFeatures = maxFeatures; return this; } @CustomType.Setter public Builder maxFeaturesVar(@Nullable String maxFeaturesVar) { + this.maxFeaturesVar = maxFeaturesVar; return this; } @CustomType.Setter public Builder minFeatureQuality(@Nullable String minFeatureQuality) { + this.minFeatureQuality = minFeatureQuality; return this; } @CustomType.Setter public Builder minFeatureQualityVar(@Nullable String minFeatureQualityVar) { + this.minFeatureQualityVar = minFeatureQualityVar; return this; } @CustomType.Setter public Builder padding(@Nullable String padding) { + this.padding = padding; return this; } @CustomType.Setter public Builder paddingVar(@Nullable String paddingVar) { + this.paddingVar = paddingVar; return this; } @CustomType.Setter public Builder style(@Nullable String style) { + this.style = style; return this; } @CustomType.Setter public Builder styleVar(@Nullable String styleVar) { + this.styleVar = styleVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFitAndFill.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFitAndFill.java index 25e792b87d9..c8272e18e55 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFitAndFill.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationFitAndFill.java @@ -61,26 +61,31 @@ public Builder(GetImagingPolicyImagePolicyTransformationFitAndFill defaults) { @CustomType.Setter public Builder fillTransformation(@Nullable GetImagingPolicyImagePolicyTransformation fillTransformation) { + this.fillTransformation = fillTransformation; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGoop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGoop.java index 22c4ad45802..82b02eaf3a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGoop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGoop.java @@ -78,41 +78,49 @@ public Builder(GetImagingPolicyImagePolicyTransformationGoop defaults) { @CustomType.Setter public Builder chaos(@Nullable String chaos) { + this.chaos = chaos; return this; } @CustomType.Setter public Builder chaosVar(@Nullable String chaosVar) { + this.chaosVar = chaosVar; return this; } @CustomType.Setter public Builder density(@Nullable String density) { + this.density = density; return this; } @CustomType.Setter public Builder densityVar(@Nullable String densityVar) { + this.densityVar = densityVar; return this; } @CustomType.Setter public Builder power(@Nullable String power) { + this.power = power; return this; } @CustomType.Setter public Builder powerVar(@Nullable String powerVar) { + this.powerVar = powerVar; return this; } @CustomType.Setter public Builder seed(@Nullable String seed) { + this.seed = seed; return this; } @CustomType.Setter public Builder seedVar(@Nullable String seedVar) { + this.seedVar = seedVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGrayscale.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGrayscale.java index 68ec5ea3474..c89c0b65ac9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGrayscale.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationGrayscale.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationGrayscale defaults) { @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder typeVar(@Nullable String typeVar) { + this.typeVar = typeVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsl.java index debbd9d2cb1..d249b88f8b0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsl.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyTransformationHsl defaults) { @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder lightness(@Nullable String lightness) { + this.lightness = lightness; return this; } @CustomType.Setter public Builder lightnessVar(@Nullable String lightnessVar) { + this.lightnessVar = lightnessVar; return this; } @CustomType.Setter public Builder saturation(@Nullable String saturation) { + this.saturation = saturation; return this; } @CustomType.Setter public Builder saturationVar(@Nullable String saturationVar) { + this.saturationVar = saturationVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsv.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsv.java index 2502889efd7..d0ab32e7c97 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsv.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationHsv.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyTransformationHsv defaults) { @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } @CustomType.Setter public Builder saturation(@Nullable String saturation) { + this.saturation = saturation; return this; } @CustomType.Setter public Builder saturationVar(@Nullable String saturationVar) { + this.saturationVar = saturationVar; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } @CustomType.Setter public Builder valueVar(@Nullable String valueVar) { + this.valueVar = valueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfDimension.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfDimension.java index 314b85730f0..66db568c6c0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfDimension.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfDimension.java @@ -79,41 +79,49 @@ public Builder(GetImagingPolicyImagePolicyTransformationIfDimension defaults) { @CustomType.Setter("default") public Builder default_(@Nullable GetImagingPolicyImagePolicyTransformation default_) { + this.default_ = default_; return this; } @CustomType.Setter public Builder dimension(@Nullable String dimension) { + this.dimension = dimension; return this; } @CustomType.Setter public Builder dimensionVar(@Nullable String dimensionVar) { + this.dimensionVar = dimensionVar; return this; } @CustomType.Setter public Builder equal(@Nullable GetImagingPolicyImagePolicyTransformation equal) { + this.equal = equal; return this; } @CustomType.Setter public Builder greaterThan(@Nullable GetImagingPolicyImagePolicyTransformation greaterThan) { + this.greaterThan = greaterThan; return this; } @CustomType.Setter public Builder lessThan(@Nullable GetImagingPolicyImagePolicyTransformation lessThan) { + this.lessThan = lessThan; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } @CustomType.Setter public Builder valueVar(@Nullable String valueVar) { + this.valueVar = valueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfOrientation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfOrientation.java index 968f1a741f2..6a92bb2d3e0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfOrientation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationIfOrientation.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationIfOrientation defaults) @CustomType.Setter("default") public Builder default_(@Nullable GetImagingPolicyImagePolicyTransformation default_) { + this.default_ = default_; return this; } @CustomType.Setter public Builder landscape(@Nullable GetImagingPolicyImagePolicyTransformation landscape) { + this.landscape = landscape; return this; } @CustomType.Setter public Builder portrait(@Nullable GetImagingPolicyImagePolicyTransformation portrait) { + this.portrait = portrait; return this; } @CustomType.Setter public Builder square(@Nullable GetImagingPolicyImagePolicyTransformation square) { + this.square = square; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationImQuery.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationImQuery.java index 975157a748b..eef37b70611 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationImQuery.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationImQuery.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -41,7 +42,10 @@ public Builder(GetImagingPolicyImagePolicyTransformationImQuery defaults) { @CustomType.Setter public Builder allowedTransformations(List allowedTransformations) { - this.allowedTransformations = Objects.requireNonNull(allowedTransformations); + if (allowedTransformations == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQuery", "allowedTransformations"); + } + this.allowedTransformations = allowedTransformations; return this; } public Builder allowedTransformations(String... allowedTransformations) { @@ -49,7 +53,10 @@ public Builder allowedTransformations(String... allowedTransformations) { } @CustomType.Setter public Builder queryVar(String queryVar) { - this.queryVar = Objects.requireNonNull(queryVar); + if (queryVar == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationImQuery", "queryVar"); + } + this.queryVar = queryVar; return this; } public GetImagingPolicyImagePolicyTransformationImQuery build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMaxColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMaxColor.java index fd7eba7bdfe..4de72a21995 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMaxColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMaxColor.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationMaxColor defaults) { @CustomType.Setter public Builder colors(@Nullable String colors) { + this.colors = colors; return this; } @CustomType.Setter public Builder colorsVar(@Nullable String colorsVar) { + this.colorsVar = colorsVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMirror.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMirror.java index bd6263099cc..527ff87f5ed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMirror.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMirror.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationMirror defaults) { @CustomType.Setter public Builder horizontal(@Nullable String horizontal) { + this.horizontal = horizontal; return this; } @CustomType.Setter public Builder horizontalVar(@Nullable String horizontalVar) { + this.horizontalVar = horizontalVar; return this; } @CustomType.Setter public Builder vertical(@Nullable String vertical) { + this.vertical = vertical; return this; } @CustomType.Setter public Builder verticalVar(@Nullable String verticalVar) { + this.verticalVar = verticalVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMonoHue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMonoHue.java index 61476c164b9..2de5587264b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMonoHue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationMonoHue.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationMonoHue defaults) { @CustomType.Setter public Builder hue(@Nullable String hue) { + this.hue = hue; return this; } @CustomType.Setter public Builder hueVar(@Nullable String hueVar) { + this.hueVar = hueVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationOpacity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationOpacity.java index 2619fb43fa8..4829b835513 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationOpacity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationOpacity.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationOpacity defaults) { @CustomType.Setter public Builder opacity(@Nullable String opacity) { + this.opacity = opacity; return this; } @CustomType.Setter public Builder opacityVar(@Nullable String opacityVar) { + this.opacityVar = opacityVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java index 25e18475e5e..f9527c93578 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -85,46 +86,57 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop def @CustomType.Setter public Builder gravity(@Nullable String gravity) { + this.gravity = gravity; return this; } @CustomType.Setter public Builder gravityVar(@Nullable String gravityVar) { + this.gravityVar = gravityVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder regionOfInterest(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest regionOfInterest) { - this.regionOfInterest = Objects.requireNonNull(regionOfInterest); + if (regionOfInterest == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCrop", "regionOfInterest"); + } + this.regionOfInterest = regionOfInterest; return this; } @CustomType.Setter public Builder style(@Nullable String style) { + this.style = style; return this; } @CustomType.Setter public Builder styleVar(@Nullable String styleVar) { + this.styleVar = styleVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest.java index f06909ea6ac..7f065d6b175 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterest.java @@ -64,6 +64,7 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder circleShapes(@Nullable List circleShapes) { + this.circleShapes = circleShapes; return this; } @@ -72,6 +73,7 @@ public Builder circleShapes(GetImagingPolicyImagePolicyTransformationRegionOfInt } @CustomType.Setter public Builder pointShapes(@Nullable List pointShapes) { + this.pointShapes = pointShapes; return this; } @@ -80,6 +82,7 @@ public Builder pointShapes(GetImagingPolicyImagePolicyTransformationRegionOfInte } @CustomType.Setter public Builder polygonShapes(@Nullable List polygonShapes) { + this.polygonShapes = polygonShapes; return this; } @@ -88,6 +91,7 @@ public Builder polygonShapes(GetImagingPolicyImagePolicyTransformationRegionOfIn } @CustomType.Setter public Builder rectangleShapes(@Nullable List rectangleShapes) { + this.rectangleShapes = rectangleShapes; return this; } @@ -96,6 +100,7 @@ public Builder rectangleShapes(GetImagingPolicyImagePolicyTransformationRegionOf } @CustomType.Setter public Builder unionShapes(@Nullable List unionShapes) { + this.unionShapes = unionShapes; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java index 053ab645b2b..ad572edc77e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -49,16 +50,21 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder center(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter center) { - this.center = Objects.requireNonNull(center); + if (center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShape", "center"); + } + this.center = center; return this; } @CustomType.Setter public Builder radius(@Nullable String radius) { + this.radius = radius; return this; } @CustomType.Setter public Builder radiusVar(@Nullable String radiusVar) { + this.radiusVar = radiusVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter.java index 28e7ab0d0a7..183d4940225 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestCircleShapeCenter.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPointShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPointShape.java index a881d86876a..b45200439e6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPointShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPointShape.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java index 20f18dc126b..eaae04b5001 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -35,7 +36,10 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder points(List points) { - this.points = Objects.requireNonNull(points); + if (points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShape", "points"); + } + this.points = points; return this; } public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint... points) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint.java index 4d70145a59c..e819500751a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestPolygonShapePoint.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java index 3361df39c95..399ca9b115f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -61,26 +62,33 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder anchor(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor anchor) { - this.anchor = Objects.requireNonNull(anchor); + if (anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShape", "anchor"); + } + this.anchor = anchor; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor.java index 1267807b026..8b0773ad90f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestRectangleShapeAnchor.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java index a3dd0f3780b..76904f1e701 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -35,7 +36,10 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder shapes(List shapes) { - this.shapes = Objects.requireNonNull(shapes); + if (shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShape", "shapes"); + } + this.shapes = shapes; return this; } public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape... shapes) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape.java index 56e9183abe7..6531ec01102 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShape.java @@ -64,6 +64,7 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder circleShapes(@Nullable List circleShapes) { + this.circleShapes = circleShapes; return this; } @@ -72,6 +73,7 @@ public Builder circleShapes(GetImagingPolicyImagePolicyTransformationRegionOfInt } @CustomType.Setter public Builder pointShapes(@Nullable List pointShapes) { + this.pointShapes = pointShapes; return this; } @@ -80,6 +82,7 @@ public Builder pointShapes(GetImagingPolicyImagePolicyTransformationRegionOfInte } @CustomType.Setter public Builder polygonShapes(@Nullable List polygonShapes) { + this.polygonShapes = polygonShapes; return this; } @@ -88,6 +91,7 @@ public Builder polygonShapes(GetImagingPolicyImagePolicyTransformationRegionOfIn } @CustomType.Setter public Builder rectangleShapes(@Nullable List rectangleShapes) { + this.rectangleShapes = rectangleShapes; return this; } @@ -96,6 +100,7 @@ public Builder rectangleShapes(GetImagingPolicyImagePolicyTransformationRegionOf } @CustomType.Setter public Builder unionShapes(@Nullable List unionShapes) { + this.unionShapes = unionShapes; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java index 3ed5045e74f..8336b990410 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -49,16 +50,21 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder center(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter center) { - this.center = Objects.requireNonNull(center); + if (center == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShape", "center"); + } + this.center = center; return this; } @CustomType.Setter public Builder radius(@Nullable String radius) { + this.radius = radius; return this; } @CustomType.Setter public Builder radiusVar(@Nullable String radiusVar) { + this.radiusVar = radiusVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter.java index ce747d99aed..2f96e4a2f4f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeCircleShapeCenter.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePointShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePointShape.java index 98c2382db78..43834ea0982 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePointShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePointShape.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java index 6025a1fc3e9..65baf73c94a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -35,7 +36,10 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder points(List points) { - this.points = Objects.requireNonNull(points); + if (points == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShape", "points"); + } + this.points = points; return this; } public Builder points(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint... points) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint.java index e3a61c5530e..0efea6da7b4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapePolygonShapePoint.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java index 3115ea40934..510cfcc3d38 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -61,26 +62,33 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder anchor(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor anchor) { - this.anchor = Objects.requireNonNull(anchor); + if (anchor == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShape", "anchor"); + } + this.anchor = anchor; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor.java index bc889e456a9..d5491b2ba41 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeRectangleShapeAnchor.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder x(@Nullable String x) { + this.x = x; return this; } @CustomType.Setter public Builder xVar(@Nullable String xVar) { + this.xVar = xVar; return this; } @CustomType.Setter public Builder y(@Nullable String y) { + this.y = y; return this; } @CustomType.Setter public Builder yVar(@Nullable String yVar) { + this.yVar = yVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java index 65358012770..88535161d1d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeShape; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; import java.util.Objects; @@ -35,7 +36,10 @@ public Builder(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegi @CustomType.Setter public Builder shapes(List shapes) { - this.shapes = Objects.requireNonNull(shapes); + if (shapes == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShape", "shapes"); + } + this.shapes = shapes; return this; } public Builder shapes(GetImagingPolicyImagePolicyTransformationRegionOfInterestCropRegionOfInterestUnionShapeShapeUnionShapeShape... shapes) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRelativeCrop.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRelativeCrop.java index c01493da9c0..23611ac74a2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRelativeCrop.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRelativeCrop.java @@ -78,41 +78,49 @@ public Builder(GetImagingPolicyImagePolicyTransformationRelativeCrop defaults) { @CustomType.Setter public Builder east(@Nullable String east) { + this.east = east; return this; } @CustomType.Setter public Builder eastVar(@Nullable String eastVar) { + this.eastVar = eastVar; return this; } @CustomType.Setter public Builder north(@Nullable String north) { + this.north = north; return this; } @CustomType.Setter public Builder northVar(@Nullable String northVar) { + this.northVar = northVar; return this; } @CustomType.Setter public Builder south(@Nullable String south) { + this.south = south; return this; } @CustomType.Setter public Builder southVar(@Nullable String southVar) { + this.southVar = southVar; return this; } @CustomType.Setter public Builder west(@Nullable String west) { + this.west = west; return this; } @CustomType.Setter public Builder westVar(@Nullable String westVar) { + this.westVar = westVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRemoveColor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRemoveColor.java index d2f780ae8d0..6c8523633ce 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRemoveColor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRemoveColor.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyTransformationRemoveColor defaults) { @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder colorVar(@Nullable String colorVar) { + this.colorVar = colorVar; return this; } @CustomType.Setter public Builder feather(@Nullable String feather) { + this.feather = feather; return this; } @CustomType.Setter public Builder featherVar(@Nullable String featherVar) { + this.featherVar = featherVar; return this; } @CustomType.Setter public Builder tolerance(@Nullable String tolerance) { + this.tolerance = tolerance; return this; } @CustomType.Setter public Builder toleranceVar(@Nullable String toleranceVar) { + this.toleranceVar = toleranceVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationResize.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationResize.java index 958e9f3aa8c..9de2a177b0a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationResize.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationResize.java @@ -78,41 +78,49 @@ public Builder(GetImagingPolicyImagePolicyTransformationResize defaults) { @CustomType.Setter public Builder aspect(@Nullable String aspect) { + this.aspect = aspect; return this; } @CustomType.Setter public Builder aspectVar(@Nullable String aspectVar) { + this.aspectVar = aspectVar; return this; } @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder typeVar(@Nullable String typeVar) { + this.typeVar = typeVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRotate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRotate.java index 0ca48dadb01..c45f75a3909 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRotate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationRotate.java @@ -42,11 +42,13 @@ public Builder(GetImagingPolicyImagePolicyTransformationRotate defaults) { @CustomType.Setter public Builder degrees(@Nullable String degrees) { + this.degrees = degrees; return this; } @CustomType.Setter public Builder degreesVar(@Nullable String degreesVar) { + this.degreesVar = degreesVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationScale.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationScale.java index 9bfbb49e5e9..318e1818db4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationScale.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationScale.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationScale defaults) { @CustomType.Setter public Builder height(@Nullable String height) { + this.height = height; return this; } @CustomType.Setter public Builder heightVar(@Nullable String heightVar) { + this.heightVar = heightVar; return this; } @CustomType.Setter public Builder width(@Nullable String width) { + this.width = width; return this; } @CustomType.Setter public Builder widthVar(@Nullable String widthVar) { + this.widthVar = widthVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationShears.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationShears.java index 270ddae7a6c..228baac8ff8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationShears.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationShears.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationShears defaults) { @CustomType.Setter public Builder xShear(@Nullable String xShear) { + this.xShear = xShear; return this; } @CustomType.Setter public Builder xShearVar(@Nullable String xShearVar) { + this.xShearVar = xShearVar; return this; } @CustomType.Setter public Builder yShear(@Nullable String yShear) { + this.yShear = yShear; return this; } @CustomType.Setter public Builder yShearVar(@Nullable String yShearVar) { + this.yShearVar = yShearVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationTrim.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationTrim.java index 5fa7f25a471..e9db8b77b76 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationTrim.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationTrim.java @@ -54,21 +54,25 @@ public Builder(GetImagingPolicyImagePolicyTransformationTrim defaults) { @CustomType.Setter public Builder fuzz(@Nullable String fuzz) { + this.fuzz = fuzz; return this; } @CustomType.Setter public Builder fuzzVar(@Nullable String fuzzVar) { + this.fuzzVar = fuzzVar; return this; } @CustomType.Setter public Builder padding(@Nullable String padding) { + this.padding = padding; return this; } @CustomType.Setter public Builder paddingVar(@Nullable String paddingVar) { + this.paddingVar = paddingVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationUnsharpMask.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationUnsharpMask.java index e77d46d24f6..fca680a1422 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationUnsharpMask.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyTransformationUnsharpMask.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyImagePolicyTransformationUnsharpMask defaults) { @CustomType.Setter public Builder gain(@Nullable String gain) { + this.gain = gain; return this; } @CustomType.Setter public Builder gainVar(@Nullable String gainVar) { + this.gainVar = gainVar; return this; } @CustomType.Setter public Builder sigma(@Nullable String sigma) { + this.sigma = sigma; return this; } @CustomType.Setter public Builder sigmaVar(@Nullable String sigmaVar) { + this.sigmaVar = sigmaVar; return this; } @CustomType.Setter public Builder threshold(@Nullable String threshold) { + this.threshold = threshold; return this; } @CustomType.Setter public Builder thresholdVar(@Nullable String thresholdVar) { + this.thresholdVar = thresholdVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariable.java index c1e51cfef1a..52f673ecfac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariable.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicyVariableEnumOption; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -68,11 +69,15 @@ public Builder(GetImagingPolicyImagePolicyVariable defaults) { @CustomType.Setter public Builder defaultValue(String defaultValue) { - this.defaultValue = Objects.requireNonNull(defaultValue); + if (defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "defaultValue"); + } + this.defaultValue = defaultValue; return this; } @CustomType.Setter public Builder enumOptions(@Nullable List enumOptions) { + this.enumOptions = enumOptions; return this; } @@ -81,22 +86,30 @@ public Builder enumOptions(GetImagingPolicyImagePolicyVariableEnumOption... enum } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder postfix(@Nullable String postfix) { + this.postfix = postfix; return this; } @CustomType.Setter public Builder prefix(@Nullable String prefix) { + this.prefix = prefix; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariable", "type"); + } + this.type = type; return this; } public GetImagingPolicyImagePolicyVariable build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariableEnumOption.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariableEnumOption.java index 21449763e06..b78f5f8032b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariableEnumOption.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImagePolicyVariableEnumOption.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetImagingPolicyImagePolicyVariableEnumOption defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOption", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImagePolicyVariableEnumOption", "value"); + } + this.value = value; return this; } public GetImagingPolicyImagePolicyVariableEnumOption build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImageResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImageResult.java index b0c7da9fbf4..15753c30a73 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImageResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyImageResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyImagePolicy; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetImagingPolicyImageResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImageResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImageResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder policy(GetImagingPolicyImagePolicy policy) { - this.policy = Objects.requireNonNull(policy); + if (policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyImageResult", "policy"); + } + this.policy = policy; return this; } public GetImagingPolicyImageResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicy.java index 2a5be2ff5a3..b3164e4194a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicy.java @@ -64,11 +64,13 @@ public Builder(GetImagingPolicyVideoPolicy defaults) { @CustomType.Setter public Builder breakpoints(@Nullable GetImagingPolicyVideoPolicyBreakpoints breakpoints) { + this.breakpoints = breakpoints; return this; } @CustomType.Setter public Builder hosts(@Nullable List hosts) { + this.hosts = hosts; return this; } @@ -77,16 +79,19 @@ public Builder hosts(String... hosts) { } @CustomType.Setter public Builder output(@Nullable GetImagingPolicyVideoPolicyOutput output) { + this.output = output; return this; } @CustomType.Setter public Builder rolloutDuration(@Nullable String rolloutDuration) { + this.rolloutDuration = rolloutDuration; return this; } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyBreakpoints.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyBreakpoints.java index 1839ebe9d58..344689102d8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyBreakpoints.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyBreakpoints.java @@ -36,6 +36,7 @@ public Builder(GetImagingPolicyVideoPolicyBreakpoints defaults) { @CustomType.Setter public Builder widths(@Nullable List widths) { + this.widths = widths; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyOutput.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyOutput.java index 28fa3a50bc1..0b55145a920 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyOutput.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyOutput.java @@ -66,31 +66,37 @@ public Builder(GetImagingPolicyVideoPolicyOutput defaults) { @CustomType.Setter public Builder perceptualQuality(@Nullable String perceptualQuality) { + this.perceptualQuality = perceptualQuality; return this; } @CustomType.Setter public Builder perceptualQualityVar(@Nullable String perceptualQualityVar) { + this.perceptualQualityVar = perceptualQualityVar; return this; } @CustomType.Setter public Builder placeholderVideoUrl(@Nullable String placeholderVideoUrl) { + this.placeholderVideoUrl = placeholderVideoUrl; return this; } @CustomType.Setter public Builder placeholderVideoUrlVar(@Nullable String placeholderVideoUrlVar) { + this.placeholderVideoUrlVar = placeholderVideoUrlVar; return this; } @CustomType.Setter public Builder videoAdaptiveQuality(@Nullable String videoAdaptiveQuality) { + this.videoAdaptiveQuality = videoAdaptiveQuality; return this; } @CustomType.Setter public Builder videoAdaptiveQualityVar(@Nullable String videoAdaptiveQualityVar) { + this.videoAdaptiveQualityVar = videoAdaptiveQualityVar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariable.java index 6eb2dead686..d235964f925 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariable.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyVideoPolicyVariableEnumOption; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -68,11 +69,15 @@ public Builder(GetImagingPolicyVideoPolicyVariable defaults) { @CustomType.Setter public Builder defaultValue(String defaultValue) { - this.defaultValue = Objects.requireNonNull(defaultValue); + if (defaultValue == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "defaultValue"); + } + this.defaultValue = defaultValue; return this; } @CustomType.Setter public Builder enumOptions(@Nullable List enumOptions) { + this.enumOptions = enumOptions; return this; } @@ -81,22 +86,30 @@ public Builder enumOptions(GetImagingPolicyVideoPolicyVariableEnumOption... enum } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder postfix(@Nullable String postfix) { + this.postfix = postfix; return this; } @CustomType.Setter public Builder prefix(@Nullable String prefix) { + this.prefix = prefix; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariable", "type"); + } + this.type = type; return this; } public GetImagingPolicyVideoPolicyVariable build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariableEnumOption.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariableEnumOption.java index 1aceaaa6316..0d8322ce87f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariableEnumOption.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoPolicyVariableEnumOption.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetImagingPolicyVideoPolicyVariableEnumOption defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOption", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoPolicyVariableEnumOption", "value"); + } + this.value = value; return this; } public GetImagingPolicyVideoPolicyVariableEnumOption build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoResult.java index 63a1caeb667..701ffdf3398 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetImagingPolicyVideoResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetImagingPolicyVideoPolicy; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -55,17 +56,26 @@ public Builder(GetImagingPolicyVideoResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder policy(GetImagingPolicyVideoPolicy policy) { - this.policy = Objects.requireNonNull(policy); + if (policy == null) { + throw new MissingRequiredPropertyException("GetImagingPolicyVideoResult", "policy"); + } + this.policy = policy; return this; } public GetImagingPolicyVideoResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetNetworkListsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetNetworkListsResult.java index 28de63abba7..de2a1753851 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetNetworkListsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetNetworkListsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -100,27 +101,42 @@ public Builder(GetNetworkListsResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(Integer groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder lists(List lists) { - this.lists = Objects.requireNonNull(lists); + if (lists == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "lists"); + } + this.lists = lists; return this; } public Builder lists(String... lists) { @@ -128,26 +144,37 @@ public Builder lists(String... lists) { } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder networkListId(String networkListId) { - this.networkListId = Objects.requireNonNull(networkListId); + if (networkListId == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "networkListId"); + } + this.networkListId = networkListId; return this; } @CustomType.Setter public Builder outputText(String outputText) { - this.outputText = Objects.requireNonNull(outputText); + if (outputText == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "outputText"); + } + this.outputText = outputText; return this; } @CustomType.Setter public Builder syncPoint(Integer syncPoint) { - this.syncPoint = Objects.requireNonNull(syncPoint); + if (syncPoint == null) { + throw new MissingRequiredPropertyException("GetNetworkListsResult", "syncPoint"); + } + this.syncPoint = syncPoint; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesProperty.java index f3f0d57c7e6..3656085d016 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -89,52 +90,82 @@ public Builder(GetPropertiesProperty defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder note(String note) { - this.note = Objects.requireNonNull(note); + if (note == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "note"); + } + this.note = note; return this; } @CustomType.Setter public Builder productId(String productId) { - this.productId = Objects.requireNonNull(productId); + if (productId == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "productId"); + } + this.productId = productId; return this; } @CustomType.Setter public Builder productionVersion(Integer productionVersion) { - this.productionVersion = Objects.requireNonNull(productionVersion); + if (productionVersion == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "productionVersion"); + } + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder propertyName(String propertyName) { - this.propertyName = Objects.requireNonNull(propertyName); + if (propertyName == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "propertyName"); + } + this.propertyName = propertyName; return this; } @CustomType.Setter public Builder ruleFormat(String ruleFormat) { - this.ruleFormat = Objects.requireNonNull(ruleFormat); + if (ruleFormat == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "ruleFormat"); + } + this.ruleFormat = ruleFormat; return this; } @CustomType.Setter public Builder stagingVersion(Integer stagingVersion) { - this.stagingVersion = Objects.requireNonNull(stagingVersion); + if (stagingVersion == null) { + throw new MissingRequiredPropertyException("GetPropertiesProperty", "stagingVersion"); + } + this.stagingVersion = stagingVersion; return this; } public GetPropertiesProperty build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesResult.java index 3bb92d613e0..261bed85ca8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertiesProperty; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -62,22 +63,34 @@ public Builder(GetPropertiesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertiesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertiesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertiesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder properties(List properties) { - this.properties = Objects.requireNonNull(properties); + if (properties == null) { + throw new MissingRequiredPropertyException("GetPropertiesResult", "properties"); + } + this.properties = properties; return this; } public Builder properties(GetPropertiesProperty... properties) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchProperty.java index 24375a88d05..ac2db1b96f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -107,67 +108,106 @@ public Builder(GetPropertiesSearchProperty defaults) { @CustomType.Setter public Builder accountId(String accountId) { - this.accountId = Objects.requireNonNull(accountId); + if (accountId == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "accountId"); + } + this.accountId = accountId; return this; } @CustomType.Setter public Builder assetId(String assetId) { - this.assetId = Objects.requireNonNull(assetId); + if (assetId == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "assetId"); + } + this.assetId = assetId; return this; } @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder edgeHostname(String edgeHostname) { - this.edgeHostname = Objects.requireNonNull(edgeHostname); + if (edgeHostname == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "edgeHostname"); + } + this.edgeHostname = edgeHostname; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder productionStatus(String productionStatus) { - this.productionStatus = Objects.requireNonNull(productionStatus); + if (productionStatus == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "productionStatus"); + } + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder propertyName(String propertyName) { - this.propertyName = Objects.requireNonNull(propertyName); + if (propertyName == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "propertyName"); + } + this.propertyName = propertyName; return this; } @CustomType.Setter public Builder propertyVersion(Integer propertyVersion) { - this.propertyVersion = Objects.requireNonNull(propertyVersion); + if (propertyVersion == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "propertyVersion"); + } + this.propertyVersion = propertyVersion; return this; } @CustomType.Setter public Builder stagingStatus(String stagingStatus) { - this.stagingStatus = Objects.requireNonNull(stagingStatus); + if (stagingStatus == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "stagingStatus"); + } + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder updatedByUser(String updatedByUser) { - this.updatedByUser = Objects.requireNonNull(updatedByUser); + if (updatedByUser == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "updatedByUser"); + } + this.updatedByUser = updatedByUser; return this; } @CustomType.Setter public Builder updatedDate(String updatedDate) { - this.updatedDate = Objects.requireNonNull(updatedDate); + if (updatedDate == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchProperty", "updatedDate"); + } + this.updatedDate = updatedDate; return this; } public GetPropertiesSearchProperty build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchResult.java index 785444fefa1..d6451a95429 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertiesSearchResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertiesSearchProperty; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -62,17 +63,26 @@ public Builder(GetPropertiesSearchResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder key(String key) { - this.key = Objects.requireNonNull(key); + if (key == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchResult", "key"); + } + this.key = key; return this; } @CustomType.Setter public Builder properties(List properties) { - this.properties = Objects.requireNonNull(properties); + if (properties == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchResult", "properties"); + } + this.properties = properties; return this; } public Builder properties(GetPropertiesSearchProperty... properties) { @@ -80,7 +90,10 @@ public Builder properties(GetPropertiesSearchProperty... properties) { } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetPropertiesSearchResult", "value"); + } + this.value = value; return this; } public GetPropertiesSearchResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyActivationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyActivationResult.java index 893f34c109e..1def0edc993 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyActivationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyActivationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -100,12 +101,18 @@ public Builder(GetPropertyActivationResult defaults) { @CustomType.Setter public Builder activationId(String activationId) { - this.activationId = Objects.requireNonNull(activationId); + if (activationId == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "activationId"); + } + this.activationId = activationId; return this; } @CustomType.Setter public Builder contacts(List contacts) { - this.contacts = Objects.requireNonNull(contacts); + if (contacts == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "contacts"); + } + this.contacts = contacts; return this; } public Builder contacts(String... contacts) { @@ -113,42 +120,64 @@ public Builder contacts(String... contacts) { } @CustomType.Setter public Builder errors(String errors) { - this.errors = Objects.requireNonNull(errors); + if (errors == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "errors"); + } + this.errors = errors; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder network(@Nullable String network) { + this.network = network; return this; } @CustomType.Setter public Builder note(String note) { - this.note = Objects.requireNonNull(note); + if (note == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "note"); + } + this.note = note; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "status"); + } + this.status = status; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "version"); + } + this.version = version; return this; } @CustomType.Setter public Builder warnings(String warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetPropertyActivationResult", "warnings"); + } + this.warnings = warnings; return this; } public GetPropertyActivationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostname.java index 19ef492b045..89b15cdd257 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostname.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertyHostnamesHostnameCertStatus; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -66,12 +67,18 @@ public Builder(GetPropertyHostnamesHostname defaults) { @CustomType.Setter public Builder certProvisioningType(String certProvisioningType) { - this.certProvisioningType = Objects.requireNonNull(certProvisioningType); + if (certProvisioningType == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "certProvisioningType"); + } + this.certProvisioningType = certProvisioningType; return this; } @CustomType.Setter public Builder certStatuses(List certStatuses) { - this.certStatuses = Objects.requireNonNull(certStatuses); + if (certStatuses == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "certStatuses"); + } + this.certStatuses = certStatuses; return this; } public Builder certStatuses(GetPropertyHostnamesHostnameCertStatus... certStatuses) { @@ -79,22 +86,34 @@ public Builder certStatuses(GetPropertyHostnamesHostnameCertStatus... certStatus } @CustomType.Setter public Builder cnameFrom(String cnameFrom) { - this.cnameFrom = Objects.requireNonNull(cnameFrom); + if (cnameFrom == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "cnameFrom"); + } + this.cnameFrom = cnameFrom; return this; } @CustomType.Setter public Builder cnameTo(String cnameTo) { - this.cnameTo = Objects.requireNonNull(cnameTo); + if (cnameTo == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "cnameTo"); + } + this.cnameTo = cnameTo; return this; } @CustomType.Setter public Builder cnameType(String cnameType) { - this.cnameType = Objects.requireNonNull(cnameType); + if (cnameType == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "cnameType"); + } + this.cnameType = cnameType; return this; } @CustomType.Setter public Builder edgeHostnameId(String edgeHostnameId) { - this.edgeHostnameId = Objects.requireNonNull(edgeHostnameId); + if (edgeHostnameId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostname", "edgeHostnameId"); + } + this.edgeHostnameId = edgeHostnameId; return this; } public GetPropertyHostnamesHostname build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostnameCertStatus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostnameCertStatus.java index b4ce709829a..fcfbf3fbb91 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostnameCertStatus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesHostnameCertStatus.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -52,22 +53,34 @@ public Builder(GetPropertyHostnamesHostnameCertStatus defaults) { @CustomType.Setter public Builder hostname(String hostname) { - this.hostname = Objects.requireNonNull(hostname); + if (hostname == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostnameCertStatus", "hostname"); + } + this.hostname = hostname; return this; } @CustomType.Setter public Builder productionStatus(String productionStatus) { - this.productionStatus = Objects.requireNonNull(productionStatus); + if (productionStatus == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostnameCertStatus", "productionStatus"); + } + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder stagingStatus(String stagingStatus) { - this.stagingStatus = Objects.requireNonNull(stagingStatus); + if (stagingStatus == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostnameCertStatus", "stagingStatus"); + } + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder target(String target) { - this.target = Objects.requireNonNull(target); + if (target == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesHostnameCertStatus", "target"); + } + this.target = target; return this; } public GetPropertyHostnamesHostnameCertStatus build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesResult.java index 2a496386050..72dadcb2f00 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyHostnamesResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertyHostnamesHostname; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -75,17 +76,26 @@ public Builder(GetPropertyHostnamesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder hostnames(List hostnames) { - this.hostnames = Objects.requireNonNull(hostnames); + if (hostnames == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "hostnames"); + } + this.hostnames = hostnames; return this; } public Builder hostnames(GetPropertyHostnamesHostname... hostnames) { @@ -93,17 +103,26 @@ public Builder hostnames(GetPropertyHostnamesHostname... hostnames) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyHostnamesResult", "version"); + } + this.version = version; return this; } public GetPropertyHostnamesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeActivationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeActivationResult.java index d662c135a30..5ddca117246 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeActivationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeActivationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -91,42 +92,66 @@ public Builder(GetPropertyIncludeActivationResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder includeId(String includeId) { - this.includeId = Objects.requireNonNull(includeId); + if (includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "includeId"); + } + this.includeId = includeId; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder network(String network) { - this.network = Objects.requireNonNull(network); + if (network == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "network"); + } + this.network = network; return this; } @CustomType.Setter public Builder note(String note) { - this.note = Objects.requireNonNull(note); + if (note == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "note"); + } + this.note = note; return this; } @CustomType.Setter public Builder notifyEmails(List notifyEmails) { - this.notifyEmails = Objects.requireNonNull(notifyEmails); + if (notifyEmails == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "notifyEmails"); + } + this.notifyEmails = notifyEmails; return this; } public Builder notifyEmails(String... notifyEmails) { @@ -134,7 +159,10 @@ public Builder notifyEmails(String... notifyEmails) { } @CustomType.Setter public Builder version(String version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeActivationResult", "version"); + } + this.version = version; return this; } public GetPropertyIncludeActivationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsParent.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsParent.java index c4af9006512..ead5394e525 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsParent.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsParent.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -65,32 +66,50 @@ public Builder(GetPropertyIncludeParentsParent defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder isIncludeUsedInProductionVersion(Boolean isIncludeUsedInProductionVersion) { - this.isIncludeUsedInProductionVersion = Objects.requireNonNull(isIncludeUsedInProductionVersion); + if (isIncludeUsedInProductionVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "isIncludeUsedInProductionVersion"); + } + this.isIncludeUsedInProductionVersion = isIncludeUsedInProductionVersion; return this; } @CustomType.Setter public Builder isIncludeUsedInStagingVersion(Boolean isIncludeUsedInStagingVersion) { - this.isIncludeUsedInStagingVersion = Objects.requireNonNull(isIncludeUsedInStagingVersion); + if (isIncludeUsedInStagingVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "isIncludeUsedInStagingVersion"); + } + this.isIncludeUsedInStagingVersion = isIncludeUsedInStagingVersion; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder productionVersion(String productionVersion) { - this.productionVersion = Objects.requireNonNull(productionVersion); + if (productionVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "productionVersion"); + } + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingVersion(String stagingVersion) { - this.stagingVersion = Objects.requireNonNull(stagingVersion); + if (stagingVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsParent", "stagingVersion"); + } + this.stagingVersion = stagingVersion; return this; } public GetPropertyIncludeParentsParent build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsResult.java index 61ff00fe294..e5c5c812c99 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeParentsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertyIncludeParentsParent; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -68,27 +69,42 @@ public Builder(GetPropertyIncludeParentsResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder includeId(String includeId) { - this.includeId = Objects.requireNonNull(includeId); + if (includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsResult", "includeId"); + } + this.includeId = includeId; return this; } @CustomType.Setter public Builder parents(List parents) { - this.parents = Objects.requireNonNull(parents); + if (parents == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeParentsResult", "parents"); + } + this.parents = parents; return this; } public Builder parents(GetPropertyIncludeParentsParent... parents) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeResult.java index b923ba79676..372766d112f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -83,47 +84,74 @@ public Builder(GetPropertyIncludeResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder includeId(String includeId) { - this.includeId = Objects.requireNonNull(includeId); + if (includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "includeId"); + } + this.includeId = includeId; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder productionVersion(Integer productionVersion) { - this.productionVersion = Objects.requireNonNull(productionVersion); + if (productionVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "productionVersion"); + } + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingVersion(Integer stagingVersion) { - this.stagingVersion = Objects.requireNonNull(stagingVersion); + if (stagingVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "stagingVersion"); + } + this.stagingVersion = stagingVersion; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeResult", "type"); + } + this.type = type; return this; } public GetPropertyIncludeResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeRulesResult.java index ce41fedbaed..7f85248e213 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludeRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -103,57 +104,90 @@ public Builder(GetPropertyIncludeRulesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder includeId(String includeId) { - this.includeId = Objects.requireNonNull(includeId); + if (includeId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "includeId"); + } + this.includeId = includeId; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder ruleErrors(String ruleErrors) { - this.ruleErrors = Objects.requireNonNull(ruleErrors); + if (ruleErrors == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "ruleErrors"); + } + this.ruleErrors = ruleErrors; return this; } @CustomType.Setter public Builder ruleFormat(String ruleFormat) { - this.ruleFormat = Objects.requireNonNull(ruleFormat); + if (ruleFormat == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "ruleFormat"); + } + this.ruleFormat = ruleFormat; return this; } @CustomType.Setter public Builder ruleWarnings(String ruleWarnings) { - this.ruleWarnings = Objects.requireNonNull(ruleWarnings); + if (ruleWarnings == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "ruleWarnings"); + } + this.ruleWarnings = ruleWarnings; return this; } @CustomType.Setter public Builder rules(String rules) { - this.rules = Objects.requireNonNull(rules); + if (rules == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "rules"); + } + this.rules = rules; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludeRulesResult", "version"); + } + this.version = version; return this; } public GetPropertyIncludeRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesInclude.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesInclude.java index 6bf2d439625..2cb45b9ee32 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesInclude.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesInclude.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,32 +66,50 @@ public Builder(GetPropertyIncludesInclude defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder latestVersion(Integer latestVersion) { - this.latestVersion = Objects.requireNonNull(latestVersion); + if (latestVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "latestVersion"); + } + this.latestVersion = latestVersion; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder productionVersion(String productionVersion) { - this.productionVersion = Objects.requireNonNull(productionVersion); + if (productionVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "productionVersion"); + } + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingVersion(String stagingVersion) { - this.stagingVersion = Objects.requireNonNull(stagingVersion); + if (stagingVersion == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "stagingVersion"); + } + this.stagingVersion = stagingVersion; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesInclude", "type"); + } + this.type = type; return this; } public GetPropertyIncludesInclude build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesParentProperty.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesParentProperty.java index 2080c02b5f9..d9b6e72a30d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesParentProperty.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesParentProperty.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetPropertyIncludesParentProperty defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentProperty", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesParentProperty", "version"); + } + this.version = version; return this; } public GetPropertyIncludesParentProperty build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesResult.java index a79a33cf008..8e17e6baf26 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyIncludesResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetPropertyIncludesInclude; import com.pulumi.akamai.outputs.GetPropertyIncludesParentProperty; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -77,22 +78,34 @@ public Builder(GetPropertyIncludesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder includes(List includes) { - this.includes = Objects.requireNonNull(includes); + if (includes == null) { + throw new MissingRequiredPropertyException("GetPropertyIncludesResult", "includes"); + } + this.includes = includes; return this; } public Builder includes(GetPropertyIncludesInclude... includes) { @@ -100,11 +113,13 @@ public Builder includes(GetPropertyIncludesInclude... includes) { } @CustomType.Setter public Builder parentProperty(@Nullable GetPropertyIncludesParentProperty parentProperty) { + this.parentProperty = parentProperty; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsProduct.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsProduct.java index 8503e56e322..daf4bfadd1d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsProduct.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsProduct.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetPropertyProductsProduct defaults) { @CustomType.Setter public Builder productId(String productId) { - this.productId = Objects.requireNonNull(productId); + if (productId == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsProduct", "productId"); + } + this.productId = productId; return this; } @CustomType.Setter public Builder productName(String productName) { - this.productName = Objects.requireNonNull(productName); + if (productName == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsProduct", "productName"); + } + this.productName = productName; return this; } public GetPropertyProductsProduct build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsResult.java index 3becada878b..227c492ccb3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyProductsResult.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GetPropertyProductsProduct; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -56,17 +57,26 @@ public Builder(GetPropertyProductsResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder products(List products) { - this.products = Objects.requireNonNull(products); + if (products == null) { + throw new MissingRequiredPropertyException("GetPropertyProductsResult", "products"); + } + this.products = products; return this; } public Builder products(GetPropertyProductsProduct... products) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyResult.java index af84cedd1ae..db37995b348 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,21 +64,31 @@ public Builder(GetPropertyResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder rules(String rules) { - this.rules = Objects.requireNonNull(rules); + if (rules == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "rules"); + } + this.rules = rules; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRuleFormatsResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRuleFormatsResult.java index 4b1236324e6..c516d928c2f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRuleFormatsResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRuleFormatsResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -49,12 +50,18 @@ public Builder(GetPropertyRuleFormatsResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyRuleFormatsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder ruleFormats(List ruleFormats) { - this.ruleFormats = Objects.requireNonNull(ruleFormats); + if (ruleFormats == null) { + throw new MissingRequiredPropertyException("GetPropertyRuleFormatsResult", "ruleFormats"); + } + this.ruleFormats = ruleFormats; return this; } public Builder ruleFormats(String... ruleFormats) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderResult.java index 7e716d60d43..c2582cdf584 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230105; import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230530; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -70,26 +71,37 @@ public Builder(GetPropertyRulesBuilderResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder ruleFormat(String ruleFormat) { - this.ruleFormat = Objects.requireNonNull(ruleFormat); + if (ruleFormat == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderResult", "ruleFormat"); + } + this.ruleFormat = ruleFormat; return this; } @CustomType.Setter public Builder rulesV20230105(@Nullable GetPropertyRulesBuilderRulesV20230105 rulesV20230105) { + this.rulesV20230105 = rulesV20230105; return this; } @CustomType.Setter public Builder rulesV20230530(@Nullable GetPropertyRulesBuilderRulesV20230530 rulesV20230530) { + this.rulesV20230530 = rulesV20230530; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105.java index 4b143831251..6f441807815 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230105CustomOverride; import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230105Variable; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -120,11 +121,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105 defaults) { @CustomType.Setter public Builder advancedOverride(@Nullable String advancedOverride) { + this.advancedOverride = advancedOverride; return this; } @CustomType.Setter public Builder behaviors(@Nullable List behaviors) { + this.behaviors = behaviors; return this; } @@ -133,6 +136,7 @@ public Builder behaviors(GetPropertyRulesBuilderRulesV20230105Behavior... behavi } @CustomType.Setter public Builder childrens(@Nullable List childrens) { + this.childrens = childrens; return this; } @@ -141,21 +145,25 @@ public Builder childrens(String... childrens) { } @CustomType.Setter public Builder comments(@Nullable String comments) { + this.comments = comments; return this; } @CustomType.Setter public Builder criteriaLocked(@Nullable Boolean criteriaLocked) { + this.criteriaLocked = criteriaLocked; return this; } @CustomType.Setter public Builder criteriaMustSatisfy(@Nullable String criteriaMustSatisfy) { + this.criteriaMustSatisfy = criteriaMustSatisfy; return this; } @CustomType.Setter public Builder criterions(@Nullable List criterions) { + this.criterions = criterions; return this; } @@ -164,36 +172,45 @@ public Builder criterions(GetPropertyRulesBuilderRulesV20230105Criterion... crit } @CustomType.Setter public Builder customOverride(@Nullable GetPropertyRulesBuilderRulesV20230105CustomOverride customOverride) { + this.customOverride = customOverride; return this; } @CustomType.Setter public Builder isSecure(@Nullable Boolean isSecure) { + this.isSecure = isSecure; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder templateLink(@Nullable String templateLink) { + this.templateLink = templateLink; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Behavior.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Behavior.java index f1950d7da01..2557ee24384 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Behavior.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Behavior.java @@ -1562,1096 +1562,1315 @@ public Builder(GetPropertyRulesBuilderRulesV20230105Behavior defaults) { @CustomType.Setter public Builder adScalerCircuitBreaker(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreaker adScalerCircuitBreaker) { + this.adScalerCircuitBreaker = adScalerCircuitBreaker; return this; } @CustomType.Setter public Builder adaptiveAcceleration(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration adaptiveAcceleration) { + this.adaptiveAcceleration = adaptiveAcceleration; return this; } @CustomType.Setter public Builder adaptiveImageCompression(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompression adaptiveImageCompression) { + this.adaptiveImageCompression = adaptiveImageCompression; return this; } @CustomType.Setter public Builder advanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder aggregatedReporting(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting aggregatedReporting) { + this.aggregatedReporting = aggregatedReporting; return this; } @CustomType.Setter public Builder akamaizer(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer akamaizer) { + this.akamaizer = akamaizer; return this; } @CustomType.Setter public Builder akamaizerTag(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag akamaizerTag) { + this.akamaizerTag = akamaizerTag; return this; } @CustomType.Setter public Builder allHttpInCacheHierarchy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierarchy allHttpInCacheHierarchy) { + this.allHttpInCacheHierarchy = allHttpInCacheHierarchy; return this; } @CustomType.Setter public Builder allowCloudletsOrigins(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigins allowCloudletsOrigins) { + this.allowCloudletsOrigins = allowCloudletsOrigins; return this; } @CustomType.Setter public Builder allowDelete(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete allowDelete) { + this.allowDelete = allowDelete; return this; } @CustomType.Setter public Builder allowHttpsCacheKeySharing(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySharing allowHttpsCacheKeySharing) { + this.allowHttpsCacheKeySharing = allowHttpsCacheKeySharing; return this; } @CustomType.Setter public Builder allowHttpsDowngrade(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade allowHttpsDowngrade) { + this.allowHttpsDowngrade = allowHttpsDowngrade; return this; } @CustomType.Setter public Builder allowOptions(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions allowOptions) { + this.allowOptions = allowOptions; return this; } @CustomType.Setter public Builder allowPatch(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch allowPatch) { + this.allowPatch = allowPatch; return this; } @CustomType.Setter public Builder allowPost(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost allowPost) { + this.allowPost = allowPost; return this; } @CustomType.Setter public Builder allowPut(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut allowPut) { + this.allowPut = allowPut; return this; } @CustomType.Setter public Builder allowTransferEncoding(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncoding allowTransferEncoding) { + this.allowTransferEncoding = allowTransferEncoding; return this; } @CustomType.Setter public Builder altSvcHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader altSvcHeader) { + this.altSvcHeader = altSvcHeader; return this; } @CustomType.Setter public Builder apiPrioritization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization apiPrioritization) { + this.apiPrioritization = apiPrioritization; return this; } @CustomType.Setter public Builder applicationLoadBalancer(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancer applicationLoadBalancer) { + this.applicationLoadBalancer = applicationLoadBalancer; return this; } @CustomType.Setter public Builder audienceSegmentation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation audienceSegmentation) { + this.audienceSegmentation = audienceSegmentation; return this; } @CustomType.Setter public Builder autoDomainValidation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation autoDomainValidation) { + this.autoDomainValidation = autoDomainValidation; return this; } @CustomType.Setter public Builder baseDirectory(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory baseDirectory) { + this.baseDirectory = baseDirectory; return this; } @CustomType.Setter public Builder bossBeaconing(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing bossBeaconing) { + this.bossBeaconing = bossBeaconing; return this; } @CustomType.Setter public Builder breadcrumbs(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs breadcrumbs) { + this.breadcrumbs = breadcrumbs; return this; } @CustomType.Setter public Builder breakConnection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection breakConnection) { + this.breakConnection = breakConnection; return this; } @CustomType.Setter public Builder brotli(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorBrotli brotli) { + this.brotli = brotli; return this; } @CustomType.Setter public Builder cacheError(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheError cacheError) { + this.cacheError = cacheError; return this; } @CustomType.Setter public Builder cacheId(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheId cacheId) { + this.cacheId = cacheId; return this; } @CustomType.Setter public Builder cacheKeyIgnoreCase(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase cacheKeyIgnoreCase) { + this.cacheKeyIgnoreCase = cacheKeyIgnoreCase; return this; } @CustomType.Setter public Builder cacheKeyQueryParams(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams cacheKeyQueryParams) { + this.cacheKeyQueryParams = cacheKeyQueryParams; return this; } @CustomType.Setter public Builder cacheKeyRewrite(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite cacheKeyRewrite) { + this.cacheKeyRewrite = cacheKeyRewrite; return this; } @CustomType.Setter public Builder cachePost(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCachePost cachePost) { + this.cachePost = cachePost; return this; } @CustomType.Setter public Builder cacheRedirect(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect cacheRedirect) { + this.cacheRedirect = cacheRedirect; return this; } @CustomType.Setter public Builder cacheTag(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag cacheTag) { + this.cacheTag = cacheTag; return this; } @CustomType.Setter public Builder cacheTagVisible(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible cacheTagVisible) { + this.cacheTagVisible = cacheTagVisible; return this; } @CustomType.Setter public Builder caching(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCaching caching) { + this.caching = caching; return this; } @CustomType.Setter public Builder centralAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization centralAuthorization) { + this.centralAuthorization = centralAuthorization; return this; } @CustomType.Setter public Builder chaseRedirects(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects chaseRedirects) { + this.chaseRedirects = chaseRedirects; return this; } @CustomType.Setter public Builder clientCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristics clientCharacteristics) { + this.clientCharacteristics = clientCharacteristics; return this; } @CustomType.Setter public Builder cloudInterconnects(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects cloudInterconnects) { + this.cloudInterconnects = cloudInterconnects; return this; } @CustomType.Setter public Builder cloudWrapper(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper cloudWrapper) { + this.cloudWrapper = cloudWrapper; return this; } @CustomType.Setter public Builder cloudWrapperAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced cloudWrapperAdvanced) { + this.cloudWrapperAdvanced = cloudWrapperAdvanced; return this; } @CustomType.Setter public Builder conditionalOrigin(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin conditionalOrigin) { + this.conditionalOrigin = conditionalOrigin; return this; } @CustomType.Setter public Builder constructResponse(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse constructResponse) { + this.constructResponse = constructResponse; return this; } @CustomType.Setter public Builder contentCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristics contentCharacteristics) { + this.contentCharacteristics = contentCharacteristics; return this; } @CustomType.Setter public Builder contentCharacteristicsAmd(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsAmd contentCharacteristicsAmd) { + this.contentCharacteristicsAmd = contentCharacteristicsAmd; return this; } @CustomType.Setter public Builder contentCharacteristicsDd(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsDd contentCharacteristicsDd) { + this.contentCharacteristicsDd = contentCharacteristicsDd; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdLargeFile(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLargeFile contentCharacteristicsWsdLargeFile) { + this.contentCharacteristicsWsdLargeFile = contentCharacteristicsWsdLargeFile; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdLive(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLive contentCharacteristicsWsdLive) { + this.contentCharacteristicsWsdLive = contentCharacteristicsWsdLive; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdVod(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdVod contentCharacteristicsWsdVod) { + this.contentCharacteristicsWsdVod = contentCharacteristicsWsdVod; return this; } @CustomType.Setter public Builder contentPrePosition(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition contentPrePosition) { + this.contentPrePosition = contentPrePosition; return this; } @CustomType.Setter public Builder contentTargetingProtection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProtection contentTargetingProtection) { + this.contentTargetingProtection = contentTargetingProtection; return this; } @CustomType.Setter public Builder corsSupport(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport corsSupport) { + this.corsSupport = corsSupport; return this; } @CustomType.Setter public Builder cpCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCpCode cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder customBehavior(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior customBehavior) { + this.customBehavior = customBehavior; return this; } @CustomType.Setter public Builder datastream(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDatastream datastream) { + this.datastream = datastream; return this; } @CustomType.Setter public Builder dcp(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcp dcp) { + this.dcp = dcp; return this; } @CustomType.Setter public Builder dcpAuthHmacTransformation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransformation dcpAuthHmacTransformation) { + this.dcpAuthHmacTransformation = dcpAuthHmacTransformation; return this; } @CustomType.Setter public Builder dcpAuthRegexTransformation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransformation dcpAuthRegexTransformation) { + this.dcpAuthRegexTransformation = dcpAuthRegexTransformation; return this; } @CustomType.Setter public Builder dcpAuthSubstringTransformation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTransformation dcpAuthSubstringTransformation) { + this.dcpAuthSubstringTransformation = dcpAuthSubstringTransformation; return this; } @CustomType.Setter public Builder dcpAuthVariableExtractor(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtractor dcpAuthVariableExtractor) { + this.dcpAuthVariableExtractor = dcpAuthVariableExtractor; return this; } @CustomType.Setter public Builder dcpDefaultAuthzGroups(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroups dcpDefaultAuthzGroups) { + this.dcpDefaultAuthzGroups = dcpDefaultAuthzGroups; return this; } @CustomType.Setter public Builder dcpDevRelations(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations dcpDevRelations) { + this.dcpDevRelations = dcpDevRelations; return this; } @CustomType.Setter public Builder dcpRealTimeAuth(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth dcpRealTimeAuth) { + this.dcpRealTimeAuth = dcpRealTimeAuth; return this; } @CustomType.Setter public Builder deliveryReceipt(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; return this; } @CustomType.Setter public Builder denyAccess(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess denyAccess) { + this.denyAccess = denyAccess; return this; } @CustomType.Setter public Builder denyDirectFailoverAccess(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAccess denyDirectFailoverAccess) { + this.denyDirectFailoverAccess = denyDirectFailoverAccess; return this; } @CustomType.Setter public Builder deviceCharacteristicCacheId(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicCacheId deviceCharacteristicCacheId) { + this.deviceCharacteristicCacheId = deviceCharacteristicCacheId; return this; } @CustomType.Setter public Builder deviceCharacteristicHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicHeader deviceCharacteristicHeader) { + this.deviceCharacteristicHeader = deviceCharacteristicHeader; return this; } @CustomType.Setter public Builder dnsAsyncRefresh(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh dnsAsyncRefresh) { + this.dnsAsyncRefresh = dnsAsyncRefresh; return this; } @CustomType.Setter public Builder dnsPrefresh(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh dnsPrefresh) { + this.dnsPrefresh = dnsPrefresh; return this; } @CustomType.Setter public Builder downgradeProtocol(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol downgradeProtocol) { + this.downgradeProtocol = downgradeProtocol; return this; } @CustomType.Setter public Builder downloadCompleteMarker(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMarker downloadCompleteMarker) { + this.downloadCompleteMarker = downloadCompleteMarker; return this; } @CustomType.Setter public Builder downloadNotification(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification downloadNotification) { + this.downloadNotification = downloadNotification; return this; } @CustomType.Setter public Builder downstreamCache(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache downstreamCache) { + this.downstreamCache = downstreamCache; return this; } @CustomType.Setter public Builder dynamicThroughtputOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimization dynamicThroughtputOptimization) { + this.dynamicThroughtputOptimization = dynamicThroughtputOptimization; return this; } @CustomType.Setter public Builder dynamicThroughtputOptimizationOverride(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimizationOverride dynamicThroughtputOptimizationOverride) { + this.dynamicThroughtputOptimizationOverride = dynamicThroughtputOptimizationOverride; return this; } @CustomType.Setter public Builder dynamicWebContent(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent dynamicWebContent) { + this.dynamicWebContent = dynamicWebContent; return this; } @CustomType.Setter public Builder ecmsBulkUpload(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload ecmsBulkUpload) { + this.ecmsBulkUpload = ecmsBulkUpload; return this; } @CustomType.Setter public Builder ecmsDatabase(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase ecmsDatabase) { + this.ecmsDatabase = ecmsDatabase; return this; } @CustomType.Setter public Builder ecmsDataset(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset ecmsDataset) { + this.ecmsDataset = ecmsDataset; return this; } @CustomType.Setter public Builder ecmsObjectKey(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey ecmsObjectKey) { + this.ecmsObjectKey = ecmsObjectKey; return this; } @CustomType.Setter public Builder edgeConnect(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect edgeConnect) { + this.edgeConnect = edgeConnect; return this; } @CustomType.Setter public Builder edgeLoadBalancingAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdvanced edgeLoadBalancingAdvanced) { + this.edgeLoadBalancingAdvanced = edgeLoadBalancingAdvanced; return this; } @CustomType.Setter public Builder edgeLoadBalancingDataCenter(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenter edgeLoadBalancingDataCenter) { + this.edgeLoadBalancingDataCenter = edgeLoadBalancingDataCenter; return this; } @CustomType.Setter public Builder edgeLoadBalancingOrigin(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOrigin edgeLoadBalancingOrigin) { + this.edgeLoadBalancingOrigin = edgeLoadBalancingOrigin; return this; } @CustomType.Setter public Builder edgeOriginAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorization edgeOriginAuthorization) { + this.edgeOriginAuthorization = edgeOriginAuthorization; return this; } @CustomType.Setter public Builder edgeRedirector(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector edgeRedirector) { + this.edgeRedirector = edgeRedirector; return this; } @CustomType.Setter public Builder edgeScape(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape edgeScape) { + this.edgeScape = edgeScape; return this; } @CustomType.Setter public Builder edgeSideIncludes(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes edgeSideIncludes) { + this.edgeSideIncludes = edgeSideIncludes; return this; } @CustomType.Setter public Builder edgeWorker(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker edgeWorker) { + this.edgeWorker = edgeWorker; return this; } @CustomType.Setter public Builder enhancedAkamaiProtocol(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtocol enhancedAkamaiProtocol) { + this.enhancedAkamaiProtocol = enhancedAkamaiProtocol; return this; } @CustomType.Setter public Builder enhancedProxyDetection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetection enhancedProxyDetection) { + this.enhancedProxyDetection = enhancedProxyDetection; return this; } @CustomType.Setter public Builder epdForwardHeaderEnrichment(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnrichment epdForwardHeaderEnrichment) { + this.epdForwardHeaderEnrichment = epdForwardHeaderEnrichment; return this; } @CustomType.Setter public Builder failAction(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFailAction failAction) { + this.failAction = failAction; return this; } @CustomType.Setter public Builder failoverBotManagerFeatureCompatibility(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFeatureCompatibility failoverBotManagerFeatureCompatibility) { + this.failoverBotManagerFeatureCompatibility = failoverBotManagerFeatureCompatibility; return this; } @CustomType.Setter public Builder fastInvalidate(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate fastInvalidate) { + this.fastInvalidate = fastInvalidate; return this; } @CustomType.Setter public Builder firstPartyMarketing(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing firstPartyMarketing) { + this.firstPartyMarketing = firstPartyMarketing; return this; } @CustomType.Setter public Builder firstPartyMarketingPlus(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlus firstPartyMarketingPlus) { + this.firstPartyMarketingPlus = firstPartyMarketingPlus; return this; } @CustomType.Setter public Builder forwardRewrite(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite forwardRewrite) { + this.forwardRewrite = forwardRewrite; return this; } @CustomType.Setter public Builder frontEndOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization frontEndOptimization) { + this.frontEndOptimization = frontEndOptimization; return this; } @CustomType.Setter public Builder g2oheader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader g2oheader) { + this.g2oheader = g2oheader; return this; } @CustomType.Setter public Builder globalRequestNumber(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber globalRequestNumber) { + this.globalRequestNumber = globalRequestNumber; return this; } @CustomType.Setter public Builder graphqlCaching(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching graphqlCaching) { + this.graphqlCaching = graphqlCaching; return this; } @CustomType.Setter public Builder gzipResponse(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse gzipResponse) { + this.gzipResponse = gzipResponse; return this; } @CustomType.Setter public Builder hdDataAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced hdDataAdvanced) { + this.hdDataAdvanced = hdDataAdvanced; return this; } @CustomType.Setter public Builder healthDetection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection healthDetection) { + this.healthDetection = healthDetection; return this; } @CustomType.Setter public Builder hsafEipBinding(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding hsafEipBinding) { + this.hsafEipBinding = hsafEipBinding; return this; } @CustomType.Setter public Builder http2(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHttp2 http2) { + this.http2 = http2; return this; } @CustomType.Setter public Builder http3(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHttp3 http3) { + this.http3 = http3; return this; } @CustomType.Setter public Builder httpStrictTransportSecurity(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportSecurity httpStrictTransportSecurity) { + this.httpStrictTransportSecurity = httpStrictTransportSecurity; return this; } @CustomType.Setter public Builder httpToHttpsUpgrade(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade httpToHttpsUpgrade) { + this.httpToHttpsUpgrade = httpToHttpsUpgrade; return this; } @CustomType.Setter public Builder imOverride(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImOverride imOverride) { + this.imOverride = imOverride; return this; } @CustomType.Setter public Builder imageAndVideoManager(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager imageAndVideoManager) { + this.imageAndVideoManager = imageAndVideoManager; return this; } @CustomType.Setter public Builder imageManager(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManager imageManager) { + this.imageManager = imageManager; return this; } @CustomType.Setter public Builder imageManagerVideo(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo imageManagerVideo) { + this.imageManagerVideo = imageManagerVideo; return this; } @CustomType.Setter public Builder include(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInclude include) { + this.include = include; return this; } @CustomType.Setter public Builder inputValidation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation inputValidation) { + this.inputValidation = inputValidation; return this; } @CustomType.Setter public Builder instant(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInstant instant) { + this.instant = instant; return this; } @CustomType.Setter public Builder instantConfig(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig instantConfig) { + this.instantConfig = instantConfig; return this; } @CustomType.Setter public Builder largeFileOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimization largeFileOptimization) { + this.largeFileOptimization = largeFileOptimization; return this; } @CustomType.Setter public Builder largeFileOptimizationAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizationAdvanced largeFileOptimizationAdvanced) { + this.largeFileOptimizationAdvanced = largeFileOptimizationAdvanced; return this; } @CustomType.Setter public Builder limitBitRate(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate limitBitRate) { + this.limitBitRate = limitBitRate; return this; } @CustomType.Setter public Builder logCustom(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom logCustom) { + this.logCustom = logCustom; return this; } @CustomType.Setter public Builder mPulse(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMPulse mPulse) { + this.mPulse = mPulse; return this; } @CustomType.Setter public Builder manifestPersonalization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalization manifestPersonalization) { + this.manifestPersonalization = manifestPersonalization; return this; } @CustomType.Setter public Builder manifestRerouting(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting manifestRerouting) { + this.manifestRerouting = manifestRerouting; return this; } @CustomType.Setter public Builder manualServerPush(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush manualServerPush) { + this.manualServerPush = manualServerPush; return this; } @CustomType.Setter public Builder mediaAcceleration(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration mediaAcceleration) { + this.mediaAcceleration = mediaAcceleration; return this; } @CustomType.Setter public Builder mediaAccelerationQuicOptout(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQuicOptout mediaAccelerationQuicOptout) { + this.mediaAccelerationQuicOptout = mediaAccelerationQuicOptout; return this; } @CustomType.Setter public Builder mediaClient(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient mediaClient) { + this.mediaClient = mediaClient; return this; } @CustomType.Setter public Builder mediaFileRetrievalOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOptimization mediaFileRetrievalOptimization) { + this.mediaFileRetrievalOptimization = mediaFileRetrievalOptimization; return this; } @CustomType.Setter public Builder mediaOriginFailover(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover mediaOriginFailover) { + this.mediaOriginFailover = mediaOriginFailover; return this; } @CustomType.Setter public Builder metadataCaching(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching metadataCaching) { + this.metadataCaching = metadataCaching; return this; } @CustomType.Setter public Builder mobileSdkPerformance(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance mobileSdkPerformance) { + this.mobileSdkPerformance = mobileSdkPerformance; return this; } @CustomType.Setter public Builder modifyIncomingRequestHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRequestHeader modifyIncomingRequestHeader) { + this.modifyIncomingRequestHeader = modifyIncomingRequestHeader; return this; } @CustomType.Setter public Builder modifyIncomingResponseHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingResponseHeader modifyIncomingResponseHeader) { + this.modifyIncomingResponseHeader = modifyIncomingResponseHeader; return this; } @CustomType.Setter public Builder modifyOutgoingRequestHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRequestHeader modifyOutgoingRequestHeader) { + this.modifyOutgoingRequestHeader = modifyOutgoingRequestHeader; return this; } @CustomType.Setter public Builder modifyOutgoingResponseHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingResponseHeader modifyOutgoingResponseHeader) { + this.modifyOutgoingResponseHeader = modifyOutgoingResponseHeader; return this; } @CustomType.Setter public Builder modifyViaHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader modifyViaHeader) { + this.modifyViaHeader = modifyViaHeader; return this; } @CustomType.Setter public Builder origin(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOrigin origin) { + this.origin = origin; return this; } @CustomType.Setter public Builder originCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristics originCharacteristics) { + this.originCharacteristics = originCharacteristics; return this; } @CustomType.Setter public Builder originCharacteristicsWsd(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristicsWsd originCharacteristicsWsd) { + this.originCharacteristicsWsd = originCharacteristicsWsd; return this; } @CustomType.Setter public Builder originFailureRecoveryMethod(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryMethod originFailureRecoveryMethod) { + this.originFailureRecoveryMethod = originFailureRecoveryMethod; return this; } @CustomType.Setter public Builder originFailureRecoveryPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryPolicy originFailureRecoveryPolicy) { + this.originFailureRecoveryPolicy = originFailureRecoveryPolicy; return this; } @CustomType.Setter public Builder originIpAcl(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl originIpAcl) { + this.originIpAcl = originIpAcl; return this; } @CustomType.Setter public Builder persistentClientConnection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConnection persistentClientConnection) { + this.persistentClientConnection = persistentClientConnection; return this; } @CustomType.Setter public Builder persistentConnection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection persistentConnection) { + this.persistentConnection = persistentConnection; return this; } @CustomType.Setter public Builder personallyIdentifiableInformation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiableInformation personallyIdentifiableInformation) { + this.personallyIdentifiableInformation = personallyIdentifiableInformation; return this; } @CustomType.Setter public Builder phasedRelease(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease phasedRelease) { + this.phasedRelease = phasedRelease; return this; } @CustomType.Setter public Builder preconnect(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect preconnect) { + this.preconnect = preconnect; return this; } @CustomType.Setter public Builder predictiveContentDelivery(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDelivery predictiveContentDelivery) { + this.predictiveContentDelivery = predictiveContentDelivery; return this; } @CustomType.Setter public Builder predictivePrefetching(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetching predictivePrefetching) { + this.predictivePrefetching = predictivePrefetching; return this; } @CustomType.Setter public Builder prefetch(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch prefetch) { + this.prefetch = prefetch; return this; } @CustomType.Setter public Builder prefetchable(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable prefetchable) { + this.prefetchable = prefetchable; return this; } @CustomType.Setter public Builder prefreshCache(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache prefreshCache) { + this.prefreshCache = prefreshCache; return this; } @CustomType.Setter public Builder quality(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorQuality quality) { + this.quality = quality; return this; } @CustomType.Setter public Builder quicBeta(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta quicBeta) { + this.quicBeta = quicBeta; return this; } @CustomType.Setter public Builder randomSeek(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek randomSeek) { + this.randomSeek = randomSeek; return this; } @CustomType.Setter public Builder rapid(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRapid rapid) { + this.rapid = rapid; return this; } @CustomType.Setter public Builder readTimeout(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout readTimeout) { + this.readTimeout = readTimeout; return this; } @CustomType.Setter public Builder realTimeReporting(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting realTimeReporting) { + this.realTimeReporting = realTimeReporting; return this; } @CustomType.Setter public Builder realUserMonitoring(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring realUserMonitoring) { + this.realUserMonitoring = realUserMonitoring; return this; } @CustomType.Setter public Builder redirect(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRedirect redirect) { + this.redirect = redirect; return this; } @CustomType.Setter public Builder redirectplus(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus redirectplus) { + this.redirectplus = redirectplus; return this; } @CustomType.Setter public Builder refererChecking(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking refererChecking) { + this.refererChecking = refererChecking; return this; } @CustomType.Setter public Builder removeQueryParameter(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter removeQueryParameter) { + this.removeQueryParameter = removeQueryParameter; return this; } @CustomType.Setter public Builder removeVary(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary removeVary) { + this.removeVary = removeVary; return this; } @CustomType.Setter public Builder report(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorReport report) { + this.report = report; return this; } @CustomType.Setter public Builder requestControl(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl requestControl) { + this.requestControl = requestControl; return this; } @CustomType.Setter public Builder requestTypeMarker(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker requestTypeMarker) { + this.requestTypeMarker = requestTypeMarker; return this; } @CustomType.Setter public Builder resourceOptimizer(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer resourceOptimizer) { + this.resourceOptimizer = resourceOptimizer; return this; } @CustomType.Setter public Builder resourceOptimizerExtendedCompatibility(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExtendedCompatibility resourceOptimizerExtendedCompatibility) { + this.resourceOptimizerExtendedCompatibility = resourceOptimizerExtendedCompatibility; return this; } @CustomType.Setter public Builder responseCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder responseCookie(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie responseCookie) { + this.responseCookie = responseCookie; return this; } @CustomType.Setter public Builder restrictObjectCaching(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCaching restrictObjectCaching) { + this.restrictObjectCaching = restrictObjectCaching; return this; } @CustomType.Setter public Builder returnCacheStatus(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus returnCacheStatus) { + this.returnCacheStatus = returnCacheStatus; return this; } @CustomType.Setter public Builder rewriteUrl(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl rewriteUrl) { + this.rewriteUrl = rewriteUrl; return this; } @CustomType.Setter public Builder rumCustom(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom rumCustom) { + this.rumCustom = rumCustom; return this; } @CustomType.Setter public Builder saasDefinitions(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions saasDefinitions) { + this.saasDefinitions = saasDefinitions; return this; } @CustomType.Setter public Builder salesForceCommerceCloudClient(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudClient salesForceCommerceCloudClient) { + this.salesForceCommerceCloudClient = salesForceCommerceCloudClient; return this; } @CustomType.Setter public Builder salesForceCommerceCloudProvider(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProvider salesForceCommerceCloudProvider) { + this.salesForceCommerceCloudProvider = salesForceCommerceCloudProvider; return this; } @CustomType.Setter public Builder salesForceCommerceCloudProviderHostHeader(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProviderHostHeader salesForceCommerceCloudProviderHostHeader) { + this.salesForceCommerceCloudProviderHostHeader = salesForceCommerceCloudProviderHostHeader; return this; } @CustomType.Setter public Builder savePostDcaProcessing(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessing savePostDcaProcessing) { + this.savePostDcaProcessing = savePostDcaProcessing; return this; } @CustomType.Setter public Builder scheduleInvalidation(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation scheduleInvalidation) { + this.scheduleInvalidation = scheduleInvalidation; return this; } @CustomType.Setter public Builder scriptManagement(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement scriptManagement) { + this.scriptManagement = scriptManagement; return this; } @CustomType.Setter public Builder segmentedContentProtection(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProtection segmentedContentProtection) { + this.segmentedContentProtection = segmentedContentProtection; return this; } @CustomType.Setter public Builder segmentedMediaOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimization segmentedMediaOptimization) { + this.segmentedMediaOptimization = segmentedMediaOptimization; return this; } @CustomType.Setter public Builder segmentedMediaStreamingPrefetch(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStreamingPrefetch segmentedMediaStreamingPrefetch) { + this.segmentedMediaStreamingPrefetch = segmentedMediaStreamingPrefetch; return this; } @CustomType.Setter public Builder setVariable(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable setVariable) { + this.setVariable = setVariable; return this; } @CustomType.Setter public Builder shutr(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorShutr shutr) { + this.shutr = shutr; return this; } @CustomType.Setter public Builder simulateErrorCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode simulateErrorCode) { + this.simulateErrorCode = simulateErrorCode; return this; } @CustomType.Setter public Builder siteShield(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield siteShield) { + this.siteShield = siteShield; return this; } @CustomType.Setter public Builder standardTlsMigration(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration standardTlsMigration) { + this.standardTlsMigration = standardTlsMigration; return this; } @CustomType.Setter public Builder standardTlsMigrationOverride(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigrationOverride standardTlsMigrationOverride) { + this.standardTlsMigrationOverride = standardTlsMigrationOverride; return this; } @CustomType.Setter public Builder strictHeaderParsing(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing strictHeaderParsing) { + this.strictHeaderParsing = strictHeaderParsing; return this; } @CustomType.Setter public Builder subCustomer(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer subCustomer) { + this.subCustomer = subCustomer; return this; } @CustomType.Setter public Builder sureRoute(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute sureRoute) { + this.sureRoute = sureRoute; return this; } @CustomType.Setter public Builder tcpOptimization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization tcpOptimization) { + this.tcpOptimization = tcpOptimization; return this; } @CustomType.Setter public Builder teaLeaf(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf teaLeaf) { + this.teaLeaf = teaLeaf; return this; } @CustomType.Setter public Builder tieredDistribution(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution tieredDistribution) { + this.tieredDistribution = tieredDistribution; return this; } @CustomType.Setter public Builder tieredDistributionAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAdvanced tieredDistributionAdvanced) { + this.tieredDistributionAdvanced = tieredDistributionAdvanced; return this; } @CustomType.Setter public Builder tieredDistributionCustomization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCustomization tieredDistributionCustomization) { + this.tieredDistributionCustomization = tieredDistributionCustomization; return this; } @CustomType.Setter public Builder timeout(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorTimeout timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uidConfiguration(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration uidConfiguration) { + this.uidConfiguration = uidConfiguration; return this; } @CustomType.Setter public Builder validateEntityTag(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag validateEntityTag) { + this.validateEntityTag = validateEntityTag; return this; } @CustomType.Setter public Builder verifyJsonWebToken(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken verifyJsonWebToken) { + this.verifyJsonWebToken = verifyJsonWebToken; return this; } @CustomType.Setter public Builder verifyJsonWebTokenForDcp(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenForDcp verifyJsonWebTokenForDcp) { + this.verifyJsonWebTokenForDcp = verifyJsonWebTokenForDcp; return this; } @CustomType.Setter public Builder verifyTokenAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthorization verifyTokenAuthorization) { + this.verifyTokenAuthorization = verifyTokenAuthorization; return this; } @CustomType.Setter public Builder virtualWaitingRoom(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom virtualWaitingRoom) { + this.virtualWaitingRoom = virtualWaitingRoom; return this; } @CustomType.Setter public Builder virtualWaitingRoomWithEdgeWorkers(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWithEdgeWorkers virtualWaitingRoomWithEdgeWorkers) { + this.virtualWaitingRoomWithEdgeWorkers = virtualWaitingRoomWithEdgeWorkers; return this; } @CustomType.Setter public Builder visitorPrioritization(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritization visitorPrioritization) { + this.visitorPrioritization = visitorPrioritization; return this; } @CustomType.Setter public Builder visitorPrioritizationFifo(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifo visitorPrioritizationFifo) { + this.visitorPrioritizationFifo = visitorPrioritizationFifo; return this; } @CustomType.Setter public Builder visitorPrioritizationFifoStandalone(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifoStandalone visitorPrioritizationFifoStandalone) { + this.visitorPrioritizationFifoStandalone = visitorPrioritizationFifoStandalone; return this; } @CustomType.Setter public Builder watermarking(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking watermarking) { + this.watermarking = watermarking; return this; } @CustomType.Setter public Builder webApplicationFirewall(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewall webApplicationFirewall) { + this.webApplicationFirewall = webApplicationFirewall; return this; } @CustomType.Setter public Builder webSockets(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets webSockets) { + this.webSockets = webSockets; return this; } @CustomType.Setter public Builder webdav(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorWebdav webdav) { + this.webdav = webdav; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreaker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreaker.java index c2d739274cb..4e1135b7e3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreaker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreaker.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAdScalerCircuitBreak @CustomType.Setter public Builder fallbackActionResponseCodeBased(@Nullable String fallbackActionResponseCodeBased) { + this.fallbackActionResponseCodeBased = fallbackActionResponseCodeBased; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCodeBased(@Nullable Boolean responseCodeBased) { + this.responseCodeBased = responseCodeBased; return this; } @CustomType.Setter public Builder responseCodes(@Nullable String responseCodes) { + this.responseCodes = responseCodes; return this; } @CustomType.Setter public Builder responseDelayBased(@Nullable Boolean responseDelayBased) { + this.responseDelayBased = responseDelayBased; return this; } @CustomType.Setter public Builder responseDelayThreshold(@Nullable String responseDelayThreshold) { + this.responseDelayThreshold = responseDelayThreshold; return this; } @CustomType.Setter public Builder returnErrorResponseCodeBased(@Nullable String returnErrorResponseCodeBased) { + this.returnErrorResponseCodeBased = returnErrorResponseCodeBased; return this; } @CustomType.Setter public Builder specifyYourOwnResponseCodeBased(@Nullable String specifyYourOwnResponseCodeBased) { + this.specifyYourOwnResponseCodeBased = specifyYourOwnResponseCodeBased; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration.java index d2d169f996b..2b7c509a9ac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveAcceleration @CustomType.Setter public Builder abLogic(@Nullable String abLogic) { + this.abLogic = abLogic; return this; } @CustomType.Setter public Builder abTesting(@Nullable String abTesting) { + this.abTesting = abTesting; return this; } @CustomType.Setter public Builder compression(@Nullable String compression) { + this.compression = compression; return this; } @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder enableBrotliCompression(@Nullable Boolean enableBrotliCompression) { + this.enableBrotliCompression = enableBrotliCompression; return this; } @CustomType.Setter public Builder enableForNoncacheable(@Nullable Boolean enableForNoncacheable) { + this.enableForNoncacheable = enableForNoncacheable; return this; } @CustomType.Setter public Builder enablePreconnect(@Nullable Boolean enablePreconnect) { + this.enablePreconnect = enablePreconnect; return this; } @CustomType.Setter public Builder enablePush(@Nullable Boolean enablePush) { + this.enablePush = enablePush; return this; } @CustomType.Setter public Builder enableRo(@Nullable Boolean enableRo) { + this.enableRo = enableRo; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preloadEnable(@Nullable Boolean preloadEnable) { + this.preloadEnable = preloadEnable; return this; } @CustomType.Setter public Builder source(@Nullable String source) { + this.source = source; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder titleBrotli(@Nullable String titleBrotli) { + this.titleBrotli = titleBrotli; return this; } @CustomType.Setter public Builder titleHttp2ServerPush(@Nullable String titleHttp2ServerPush) { + this.titleHttp2ServerPush = titleHttp2ServerPush; return this; } @CustomType.Setter public Builder titlePreconnect(@Nullable String titlePreconnect) { + this.titlePreconnect = titlePreconnect; return this; } @CustomType.Setter public Builder titlePreload(@Nullable String titlePreload) { + this.titlePreload = titlePreload; return this; } @CustomType.Setter public Builder titleRo(@Nullable String titleRo) { + this.titleRo = titleRo; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompression.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompression.java index f62fc8e0d6a..06ab608930b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompression.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompression.java @@ -146,96 +146,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAdaptiveImageCompres @CustomType.Setter public Builder compressMobile(@Nullable Boolean compressMobile) { + this.compressMobile = compressMobile; return this; } @CustomType.Setter public Builder compressStandard(@Nullable Boolean compressStandard) { + this.compressStandard = compressStandard; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier1MobileCompressionMethod(@Nullable String tier1MobileCompressionMethod) { + this.tier1MobileCompressionMethod = tier1MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier1MobileCompressionValue(@Nullable Integer tier1MobileCompressionValue) { + this.tier1MobileCompressionValue = tier1MobileCompressionValue; return this; } @CustomType.Setter public Builder tier1StandardCompressionMethod(@Nullable String tier1StandardCompressionMethod) { + this.tier1StandardCompressionMethod = tier1StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier1StandardCompressionValue(@Nullable Integer tier1StandardCompressionValue) { + this.tier1StandardCompressionValue = tier1StandardCompressionValue; return this; } @CustomType.Setter public Builder tier2MobileCompressionMethod(@Nullable String tier2MobileCompressionMethod) { + this.tier2MobileCompressionMethod = tier2MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier2MobileCompressionValue(@Nullable Integer tier2MobileCompressionValue) { + this.tier2MobileCompressionValue = tier2MobileCompressionValue; return this; } @CustomType.Setter public Builder tier2StandardCompressionMethod(@Nullable String tier2StandardCompressionMethod) { + this.tier2StandardCompressionMethod = tier2StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier2StandardCompressionValue(@Nullable Integer tier2StandardCompressionValue) { + this.tier2StandardCompressionValue = tier2StandardCompressionValue; return this; } @CustomType.Setter public Builder tier3MobileCompressionMethod(@Nullable String tier3MobileCompressionMethod) { + this.tier3MobileCompressionMethod = tier3MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier3MobileCompressionValue(@Nullable Integer tier3MobileCompressionValue) { + this.tier3MobileCompressionValue = tier3MobileCompressionValue; return this; } @CustomType.Setter public Builder tier3StandardCompressionMethod(@Nullable String tier3StandardCompressionMethod) { + this.tier3StandardCompressionMethod = tier3StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier3StandardCompressionValue(@Nullable Integer tier3StandardCompressionValue) { + this.tier3StandardCompressionValue = tier3StandardCompressionValue; return this; } @CustomType.Setter public Builder titleAicMobile(@Nullable String titleAicMobile) { + this.titleAicMobile = titleAicMobile; return this; } @CustomType.Setter public Builder titleAicNonmobile(@Nullable String titleAicNonmobile) { + this.titleAicNonmobile = titleAicNonmobile; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced.java index ab745c2c3fe..a950df03592 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAdvanced defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting.java index 9126555efe9..69c6f8dc8d8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting.java @@ -92,51 +92,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAggregatedReporting @CustomType.Setter public Builder attribute1(@Nullable String attribute1) { + this.attribute1 = attribute1; return this; } @CustomType.Setter public Builder attribute2(@Nullable String attribute2) { + this.attribute2 = attribute2; return this; } @CustomType.Setter public Builder attribute3(@Nullable String attribute3) { + this.attribute3 = attribute3; return this; } @CustomType.Setter public Builder attribute4(@Nullable String attribute4) { + this.attribute4 = attribute4; return this; } @CustomType.Setter public Builder attributesCount(@Nullable Integer attributesCount) { + this.attributesCount = attributesCount; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder reportName(@Nullable String reportName) { + this.reportName = reportName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer.java index 9798b02c722..2c21d2d7989 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizer defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag.java index 13041aafc53..b2ade985446 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAkamaizerTag default @CustomType.Setter public Builder includeTagsAttribute(@Nullable Boolean includeTagsAttribute) { + this.includeTagsAttribute = includeTagsAttribute; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchHostname(@Nullable String matchHostname) { + this.matchHostname = matchHostname; return this; } @CustomType.Setter public Builder replaceAll(@Nullable Boolean replaceAll) { + this.replaceAll = replaceAll; return this; } @CustomType.Setter public Builder replacementHostname(@Nullable String replacementHostname) { + this.replacementHostname = replacementHostname; return this; } @CustomType.Setter public Builder scope(@Nullable String scope) { + this.scope = scope; return this; } @CustomType.Setter public Builder tagsAttribute(@Nullable String tagsAttribute) { + this.tagsAttribute = tagsAttribute; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierarchy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierarchy.java index 58435f9e0f4..10f68c724b3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierarchy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierarchy.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllHttpInCacheHierar @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigins.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigins.java index 38018de5bda..f459f980de5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigins.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigins.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowCloudletsOrigin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder honorBaseDirectory(@Nullable Boolean honorBaseDirectory) { + this.honorBaseDirectory = honorBaseDirectory; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder purgeOriginQueryParameter(@Nullable String purgeOriginQueryParameter) { + this.purgeOriginQueryParameter = purgeOriginQueryParameter; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete.java index 82fa942d10f..625176344c3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowDelete defaults @CustomType.Setter public Builder allowBody(@Nullable Boolean allowBody) { + this.allowBody = allowBody; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySharing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySharing.java index 7dbfc4f03cd..5f61a84546d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySharing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySharing.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsCacheKeySh @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade.java index b66e72291f3..c9a70c8a735 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowHttpsDowngrade @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions.java index d6f21421613..ac00167e1fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowOptions default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch.java index d9b2d5fa079..5f11442a270 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowPatch defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost.java index 43699d9b263..66d852e7da8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowPost defaults) @CustomType.Setter public Builder allowWithoutContentLength(@Nullable Boolean allowWithoutContentLength) { + this.allowWithoutContentLength = allowWithoutContentLength; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut.java index 13207477682..f4ff892873c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowPut defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncoding.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncoding.java index cc373fed843..61a522f19fa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncoding.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncoding.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAllowTransferEncodin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader.java index 85c762f5b51..b028f271bcd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAltSvcHeader default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maxAge(@Nullable Integer maxAge) { + this.maxAge = maxAge; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization.java index 683c403f4b1..80d64197b37 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization.java @@ -113,66 +113,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritization de @CustomType.Setter public Builder alternateResponseCacheTtl(@Nullable Integer alternateResponseCacheTtl) { + this.alternateResponseCacheTtl = alternateResponseCacheTtl; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder netStoragePath(@Nullable String netStoragePath) { + this.netStoragePath = netStoragePath; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder throttledCpCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCode throttledCpCode) { + this.throttledCpCode = throttledCpCode; return this; } @CustomType.Setter public Builder throttledStatusCode(@Nullable Integer throttledStatusCode) { + this.throttledStatusCode = throttledStatusCode; return this; } @CustomType.Setter public Builder useThrottledCpCode(@Nullable Boolean useThrottledCpCode) { + this.useThrottledCpCode = useThrottledCpCode; return this; } @CustomType.Setter public Builder useThrottledStatusCode(@Nullable Boolean useThrottledStatusCode) { + this.useThrottledStatusCode = useThrottledStatusCode; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationCloudletPolicy.java index 42098a552cc..b9bacaab3eb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationClo @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNetStorage.java index 5f117546bcb..0a2a0cf9f7a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationNet @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCode.java index 19fb13f22b0..0ffd1e659b3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java index 1a41abed038..c03f4e579f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApiPrioritizationThr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancer.java index 472c6d3ed2c..534cd54ead3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancer.java @@ -204,56 +204,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalan @CustomType.Setter public Builder allDownNetStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerAllDownNetStorage allDownNetStorage) { + this.allDownNetStorage = allDownNetStorage; return this; } @CustomType.Setter public Builder allDownNetStorageFile(@Nullable String allDownNetStorageFile) { + this.allDownNetStorageFile = allDownNetStorageFile; return this; } @CustomType.Setter public Builder allDownStatusCode(@Nullable String allDownStatusCode) { + this.allDownStatusCode = allDownStatusCode; return this; } @CustomType.Setter public Builder allDownTitle(@Nullable String allDownTitle) { + this.allDownTitle = allDownTitle; return this; } @CustomType.Setter public Builder allowCachePrefresh(@Nullable Boolean allowCachePrefresh) { + this.allowCachePrefresh = allowCachePrefresh; return this; } @CustomType.Setter public Builder cachedContentTitle(@Nullable String cachedContentTitle) { + this.cachedContentTitle = cachedContentTitle; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverAttemptsThreshold(@Nullable Integer failoverAttemptsThreshold) { + this.failoverAttemptsThreshold = failoverAttemptsThreshold; return this; } @CustomType.Setter public Builder failoverMode(@Nullable String failoverMode) { + this.failoverMode = failoverMode; return this; } @CustomType.Setter public Builder failoverOriginMaps(@Nullable List failoverOriginMaps) { + this.failoverOriginMaps = failoverOriginMaps; return this; } @@ -262,6 +273,7 @@ public Builder failoverOriginMaps(GetPropertyRulesBuilderRulesV20230105BehaviorA } @CustomType.Setter public Builder failoverStatusCodes(@Nullable List failoverStatusCodes) { + this.failoverStatusCodes = failoverStatusCodes; return this; } @@ -270,81 +282,97 @@ public Builder failoverStatusCodes(String... failoverStatusCodes) { } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originCookieName(@Nullable String originCookieName) { + this.originCookieName = originCookieName; return this; } @CustomType.Setter public Builder specifyStickinessCookieDomain(@Nullable Boolean specifyStickinessCookieDomain) { + this.specifyStickinessCookieDomain = specifyStickinessCookieDomain; return this; } @CustomType.Setter public Builder stickinessCookieAutomaticSalt(@Nullable Boolean stickinessCookieAutomaticSalt) { + this.stickinessCookieAutomaticSalt = stickinessCookieAutomaticSalt; return this; } @CustomType.Setter public Builder stickinessCookieDomain(@Nullable String stickinessCookieDomain) { + this.stickinessCookieDomain = stickinessCookieDomain; return this; } @CustomType.Setter public Builder stickinessCookieSalt(@Nullable String stickinessCookieSalt) { + this.stickinessCookieSalt = stickinessCookieSalt; return this; } @CustomType.Setter public Builder stickinessCookieSetHttpOnlyFlag(@Nullable Boolean stickinessCookieSetHttpOnlyFlag) { + this.stickinessCookieSetHttpOnlyFlag = stickinessCookieSetHttpOnlyFlag; return this; } @CustomType.Setter public Builder stickinessCookieType(@Nullable String stickinessCookieType) { + this.stickinessCookieType = stickinessCookieType; return this; } @CustomType.Setter public Builder stickinessDuration(@Nullable String stickinessDuration) { + this.stickinessDuration = stickinessDuration; return this; } @CustomType.Setter public Builder stickinessExpirationDate(@Nullable String stickinessExpirationDate) { + this.stickinessExpirationDate = stickinessExpirationDate; return this; } @CustomType.Setter public Builder stickinessRefresh(@Nullable Boolean stickinessRefresh) { + this.stickinessRefresh = stickinessRefresh; return this; } @CustomType.Setter public Builder stickinessTitle(@Nullable String stickinessTitle) { + this.stickinessTitle = stickinessTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerAllDownNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerAllDownNetStorage.java index d49d06db182..fb445c76823 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerAllDownNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerAllDownNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalan @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerCloudletPolicy.java index 026623567c4..194b635ba0a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalan @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerFailoverOriginMap.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerFailoverOriginMap.java index 9a34d901692..6b9116a54f1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerFailoverOriginMap.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalancerFailoverOriginMap.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorApplicationLoadBalan @CustomType.Setter public Builder fromOriginId(@Nullable String fromOriginId) { + this.fromOriginId = fromOriginId; return this; } @CustomType.Setter public Builder toOriginIds(@Nullable List toOriginIds) { + this.toOriginIds = toOriginIds; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation.java index 94a5a767e60..cabc7ecb670 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation.java @@ -165,111 +165,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder populationCookieAutomaticSalt(@Nullable Boolean populationCookieAutomaticSalt) { + this.populationCookieAutomaticSalt = populationCookieAutomaticSalt; return this; } @CustomType.Setter public Builder populationCookieDomain(@Nullable String populationCookieDomain) { + this.populationCookieDomain = populationCookieDomain; return this; } @CustomType.Setter public Builder populationCookieIncludeRuleName(@Nullable Boolean populationCookieIncludeRuleName) { + this.populationCookieIncludeRuleName = populationCookieIncludeRuleName; return this; } @CustomType.Setter public Builder populationCookieSalt(@Nullable String populationCookieSalt) { + this.populationCookieSalt = populationCookieSalt; return this; } @CustomType.Setter public Builder populationCookieType(@Nullable String populationCookieType) { + this.populationCookieType = populationCookieType; return this; } @CustomType.Setter public Builder populationDuration(@Nullable String populationDuration) { + this.populationDuration = populationDuration; return this; } @CustomType.Setter public Builder populationRefresh(@Nullable Boolean populationRefresh) { + this.populationRefresh = populationRefresh; return this; } @CustomType.Setter public Builder populationTitle(@Nullable String populationTitle) { + this.populationTitle = populationTitle; return this; } @CustomType.Setter public Builder segmentTrackingCookieName(@Nullable String segmentTrackingCookieName) { + this.segmentTrackingCookieName = segmentTrackingCookieName; return this; } @CustomType.Setter public Builder segmentTrackingCustomHeader(@Nullable String segmentTrackingCustomHeader) { + this.segmentTrackingCustomHeader = segmentTrackingCustomHeader; return this; } @CustomType.Setter public Builder segmentTrackingMethod(@Nullable String segmentTrackingMethod) { + this.segmentTrackingMethod = segmentTrackingMethod; return this; } @CustomType.Setter public Builder segmentTrackingQueryParam(@Nullable String segmentTrackingQueryParam) { + this.segmentTrackingQueryParam = segmentTrackingQueryParam; return this; } @CustomType.Setter public Builder segmentTrackingTitle(@Nullable String segmentTrackingTitle) { + this.segmentTrackingTitle = segmentTrackingTitle; return this; } @CustomType.Setter public Builder specifyPopulationCookieDomain(@Nullable Boolean specifyPopulationCookieDomain) { + this.specifyPopulationCookieDomain = specifyPopulationCookieDomain; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentationCloudletPolicy.java index f04b2b604d7..fd117524b75 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAudienceSegmentation @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation.java index 0cc4d31097b..0955b83bfb8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorAutoDomainValidation @CustomType.Setter public Builder autodv(@Nullable String autodv) { + this.autodv = autodv; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory.java index 7c3c9a55540..b7907a91917 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorBaseDirectory defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing.java index 18e54b88a4e..85fb8823210 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing.java @@ -98,11 +98,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorBossBeaconing defaul @CustomType.Setter public Builder conditionalErrorPattern(@Nullable String conditionalErrorPattern) { + this.conditionalErrorPattern = conditionalErrorPattern; return this; } @CustomType.Setter public Builder conditionalHttpStatuses(@Nullable List conditionalHttpStatuses) { + this.conditionalHttpStatuses = conditionalHttpStatuses; return this; } @@ -111,46 +113,55 @@ public Builder conditionalHttpStatuses(String... conditionalHttpStatuses) { } @CustomType.Setter public Builder conditionalSamplingFrequency(@Nullable String conditionalSamplingFrequency) { + this.conditionalSamplingFrequency = conditionalSamplingFrequency; return this; } @CustomType.Setter public Builder cpcodes(@Nullable String cpcodes) { + this.cpcodes = cpcodes; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardType(@Nullable String forwardType) { + this.forwardType = forwardType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requestType(@Nullable String requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder samplingFrequency(@Nullable String samplingFrequency) { + this.samplingFrequency = samplingFrequency; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs.java index 4114d5abdf7..c52d2553b8c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorBreadcrumbs defaults @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder loggingEnabled(@Nullable Boolean loggingEnabled) { + this.loggingEnabled = loggingEnabled; return this; } @CustomType.Setter public Builder optMode(@Nullable Boolean optMode) { + this.optMode = optMode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection.java index 12fbd12ccdc..984c8a9c8f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorBreakConnection defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBrotli.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBrotli.java index 417e628bc19..ee3cb896815 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBrotli.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorBrotli.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorBrotli defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheError.java index 80c73435d79..d7cf4ed2469 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheError.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheError defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preserveStale(@Nullable Boolean preserveStale) { + this.preserveStale = preserveStale; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheId.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheId.java index 55e2803a435..89850a9d776 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheId.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheId.java @@ -80,6 +80,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheId defaults) { @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -88,36 +89,43 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder includeValue(@Nullable Boolean includeValue) { + this.includeValue = includeValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder optional(@Nullable Boolean optional) { + this.optional = optional; return this; } @CustomType.Setter public Builder rule(@Nullable String rule) { + this.rule = rule; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase.java index f009947c02d..30abae16c4e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyIgnoreCase d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams.java index aea97311eb8..e88ddfd7c30 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams.java @@ -68,21 +68,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyQueryParams @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder exactMatch(@Nullable Boolean exactMatch) { + this.exactMatch = exactMatch; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -91,11 +95,13 @@ public Builder parameters(String... parameters) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite.java index 640a4cd95d9..02f13136f2c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheKeyRewrite defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder purgeKey(@Nullable String purgeKey) { + this.purgeKey = purgeKey; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCachePost.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCachePost.java index 34924833b1b..b6a87820edb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCachePost.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCachePost.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCachePost defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useBody(@Nullable String useBody) { + this.useBody = useBody; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect.java index 6bfd31fb37f..dc92bc63ae4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheRedirect defaul @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag.java index 9cefcf5ac95..5a01f366fbc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheTag defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder tag(@Nullable String tag) { + this.tag = tag; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible.java index 4ce277ada96..a5a26bfcb0a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCacheTagVisible defa @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCaching.java index 892cca5c22d..180c686773d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCaching.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCaching defaults) { @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder cacheControlDirectives(@Nullable String cacheControlDirectives) { + this.cacheControlDirectives = cacheControlDirectives; return this; } @CustomType.Setter public Builder cacheabilitySettings(@Nullable String cacheabilitySettings) { + this.cacheabilitySettings = cacheabilitySettings; return this; } @CustomType.Setter public Builder defaultTtl(@Nullable String defaultTtl) { + this.defaultTtl = defaultTtl; return this; } @CustomType.Setter public Builder enhancedRfcSupport(@Nullable Boolean enhancedRfcSupport) { + this.enhancedRfcSupport = enhancedRfcSupport; return this; } @CustomType.Setter public Builder expirationSettings(@Nullable String expirationSettings) { + this.expirationSettings = expirationSettings; return this; } @CustomType.Setter public Builder honorMaxAge(@Nullable Boolean honorMaxAge) { + this.honorMaxAge = honorMaxAge; return this; } @CustomType.Setter public Builder honorMustRevalidate(@Nullable Boolean honorMustRevalidate) { + this.honorMustRevalidate = honorMustRevalidate; return this; } @CustomType.Setter public Builder honorNoCache(@Nullable Boolean honorNoCache) { + this.honorNoCache = honorNoCache; return this; } @CustomType.Setter public Builder honorNoStore(@Nullable Boolean honorNoStore) { + this.honorNoStore = honorNoStore; return this; } @CustomType.Setter public Builder honorPrivate(@Nullable Boolean honorPrivate) { + this.honorPrivate = honorPrivate; return this; } @CustomType.Setter public Builder honorProxyRevalidate(@Nullable Boolean honorProxyRevalidate) { + this.honorProxyRevalidate = honorProxyRevalidate; return this; } @CustomType.Setter public Builder honorSMaxage(@Nullable Boolean honorSMaxage) { + this.honorSMaxage = honorSMaxage; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mustRevalidate(@Nullable Boolean mustRevalidate) { + this.mustRevalidate = mustRevalidate; return this; } @CustomType.Setter public Builder revalidationSettings(@Nullable String revalidationSettings) { + this.revalidationSettings = revalidationSettings; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization.java index c7ef0806a4f..29ca976ba89 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCentralAuthorization @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects.java index 9cf245c8006..bf3fc6d6b2e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorChaseRedirects defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder limit(@Nullable String limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serve404(@Nullable Boolean serve404) { + this.serve404 = serve404; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristics.java index 3d367ef5d73..bdbd431ef17 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristics.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorClientCharacteristic @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects.java index bfcf3a9a9e9..3452fb468dd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects.java @@ -62,6 +62,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCloudInterconnects d @CustomType.Setter public Builder cloudLocations(@Nullable List cloudLocations) { + this.cloudLocations = cloudLocations; return this; } @@ -70,21 +71,25 @@ public Builder cloudLocations(String... cloudLocations) { } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper.java index 1351a733005..85f42b5dc90 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapper default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced.java index 1c09d71010c..dbfa92ce439 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCloudWrapperAdvanced @CustomType.Setter public Builder customFailoverMap(@Nullable String customFailoverMap) { + this.customFailoverMap = customFailoverMap; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverMap(@Nullable String failoverMap) { + this.failoverMap = failoverMap; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin.java index 46222177a5c..9368f9b8680 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorConditionalOrigin de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse.java index b3ff445d237..9ecd1635e3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorConstructResponse de @CustomType.Setter public Builder body(@Nullable String body) { + this.body = body; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forceEviction(@Nullable Boolean forceEviction) { + this.forceEviction = forceEviction; return this; } @CustomType.Setter public Builder ignorePurge(@Nullable Boolean ignorePurge) { + this.ignorePurge = ignorePurge; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristics.java index 2fa544fc49b..69088eaab42 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristics.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsAmd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsAmd.java index 7d450b1fdb3..d869c9ef142 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsAmd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsAmd.java @@ -165,111 +165,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationDashCustom(@Nullable Integer segmentDurationDashCustom) { + this.segmentDurationDashCustom = segmentDurationDashCustom; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHdsCustom(@Nullable Integer segmentDurationHdsCustom) { + this.segmentDurationHdsCustom = segmentDurationHdsCustom; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationHlsCustom(@Nullable Double segmentDurationHlsCustom) { + this.segmentDurationHlsCustom = segmentDurationHlsCustom; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentDurationSmoothCustom(@Nullable Double segmentDurationSmoothCustom) { + this.segmentDurationSmoothCustom = segmentDurationSmoothCustom; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsDd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsDd.java index 266eb9dcafb..b352956970d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsDd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsDd.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder optimizeOption(@Nullable Boolean optimizeOption) { + this.optimizeOption = optimizeOption; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLargeFile.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLargeFile.java index f26c22f35e6..b9140329787 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLargeFile.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLargeFile.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLive.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLive.java index 275c2f77bd1..8d22d162d7d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLive.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdLive.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdVod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdVod.java index 1274c90af71..2669d2780a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdVod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristicsWsdVod.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition.java index 97d2795bdde..509278286cd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentPrePosition d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder firstLocation(@Nullable String firstLocation) { + this.firstLocation = firstLocation; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder secondLocation(@Nullable String secondLocation) { + this.secondLocation = secondLocation; return this; } @CustomType.Setter public Builder sourceType(@Nullable String sourceType) { + this.sourceType = sourceType; return this; } @CustomType.Setter public Builder targets(@Nullable String targets) { + this.targets = targets; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProtection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProtection.java index ec58ef0a593..9db15a0a2e1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProtection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProtection.java @@ -182,6 +182,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorContentTargetingProt @CustomType.Setter public Builder countries(@Nullable List countries) { + this.countries = countries; return this; } @@ -190,6 +191,7 @@ public Builder countries(String... countries) { } @CustomType.Setter public Builder dmas(@Nullable List dmas) { + this.dmas = dmas; return this; } @@ -198,56 +200,67 @@ public Builder dmas(String... dmas) { } @CustomType.Setter public Builder enableGeoProtection(@Nullable Boolean enableGeoProtection) { + this.enableGeoProtection = enableGeoProtection; return this; } @CustomType.Setter public Builder enableGeoRedirectOnDeny(@Nullable Boolean enableGeoRedirectOnDeny) { + this.enableGeoRedirectOnDeny = enableGeoRedirectOnDeny; return this; } @CustomType.Setter public Builder enableIpProtection(@Nullable Boolean enableIpProtection) { + this.enableIpProtection = enableIpProtection; return this; } @CustomType.Setter public Builder enableIpRedirectOnDeny(@Nullable Boolean enableIpRedirectOnDeny) { + this.enableIpRedirectOnDeny = enableIpRedirectOnDeny; return this; } @CustomType.Setter public Builder enableReferrerProtection(@Nullable Boolean enableReferrerProtection) { + this.enableReferrerProtection = enableReferrerProtection; return this; } @CustomType.Setter public Builder enableReferrerRedirectOnDeny(@Nullable Boolean enableReferrerRedirectOnDeny) { + this.enableReferrerRedirectOnDeny = enableReferrerRedirectOnDeny; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder geoProtectionMode(@Nullable String geoProtectionMode) { + this.geoProtectionMode = geoProtectionMode; return this; } @CustomType.Setter public Builder geoProtectionTitle(@Nullable String geoProtectionTitle) { + this.geoProtectionTitle = geoProtectionTitle; return this; } @CustomType.Setter public Builder geoRedirectUrl(@Nullable String geoRedirectUrl) { + this.geoRedirectUrl = geoRedirectUrl; return this; } @CustomType.Setter public Builder ipAddresses(@Nullable List ipAddresses) { + this.ipAddresses = ipAddresses; return this; } @@ -256,26 +269,31 @@ public Builder ipAddresses(String... ipAddresses) { } @CustomType.Setter public Builder ipProtectionMode(@Nullable String ipProtectionMode) { + this.ipProtectionMode = ipProtectionMode; return this; } @CustomType.Setter public Builder ipProtectionTitle(@Nullable String ipProtectionTitle) { + this.ipProtectionTitle = ipProtectionTitle; return this; } @CustomType.Setter public Builder ipRedirectUrl(@Nullable String ipRedirectUrl) { + this.ipRedirectUrl = ipRedirectUrl; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder overrideIpAddresses(@Nullable List overrideIpAddresses) { + this.overrideIpAddresses = overrideIpAddresses; return this; } @@ -284,6 +302,7 @@ public Builder overrideIpAddresses(String... overrideIpAddresses) { } @CustomType.Setter public Builder referrerDomains(@Nullable List referrerDomains) { + this.referrerDomains = referrerDomains; return this; } @@ -292,21 +311,25 @@ public Builder referrerDomains(String... referrerDomains) { } @CustomType.Setter public Builder referrerProtectionMode(@Nullable String referrerProtectionMode) { + this.referrerProtectionMode = referrerProtectionMode; return this; } @CustomType.Setter public Builder referrerProtectionTitle(@Nullable String referrerProtectionTitle) { + this.referrerProtectionTitle = referrerProtectionTitle; return this; } @CustomType.Setter public Builder referrerRedirectUrl(@Nullable String referrerRedirectUrl) { + this.referrerRedirectUrl = referrerRedirectUrl; return this; } @CustomType.Setter public Builder regions(@Nullable List regions) { + this.regions = regions; return this; } @@ -315,11 +338,13 @@ public Builder regions(String... regions) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport.java index 0968e4e6e20..460bbee6131 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport.java @@ -104,26 +104,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCorsSupport defaults @CustomType.Setter public Builder allowCredentials(@Nullable Boolean allowCredentials) { + this.allowCredentials = allowCredentials; return this; } @CustomType.Setter public Builder allowHeaders(@Nullable String allowHeaders) { + this.allowHeaders = allowHeaders; return this; } @CustomType.Setter public Builder allowOrigins(@Nullable String allowOrigins) { + this.allowOrigins = allowOrigins; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder exposeHeaders(@Nullable List exposeHeaders) { + this.exposeHeaders = exposeHeaders; return this; } @@ -132,6 +137,7 @@ public Builder exposeHeaders(String... exposeHeaders) { } @CustomType.Setter public Builder headers(@Nullable List headers) { + this.headers = headers; return this; } @@ -140,11 +146,13 @@ public Builder headers(String... headers) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder methods(@Nullable List methods) { + this.methods = methods; return this; } @@ -153,6 +161,7 @@ public Builder methods(String... methods) { } @CustomType.Setter public Builder origins(@Nullable List origins) { + this.origins = origins; return this; } @@ -161,16 +170,19 @@ public Builder origins(String... origins) { } @CustomType.Setter public Builder preflightMaxAge(@Nullable String preflightMaxAge) { + this.preflightMaxAge = preflightMaxAge; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCode.java index b53471cbde1..1d6aac07b6d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCode.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCpCode defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue.java index e5c0db4117a..363006b3216 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValue defaults @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLimits.java index 5b854986c0a..ec792f90dac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCpCodeValueCpCodeLim @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior.java index df802771660..e4d51969d7b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorCustomBehavior defau @CustomType.Setter public Builder behaviorId(@Nullable String behaviorId) { + this.behaviorId = behaviorId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDatastream.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDatastream.java index 05b739f682a..497151145e2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDatastream.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDatastream.java @@ -104,61 +104,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDatastream defaults) @CustomType.Setter public Builder beaconStreamTitle(@Nullable String beaconStreamTitle) { + this.beaconStreamTitle = beaconStreamTitle; return this; } @CustomType.Setter public Builder collectMidgressTraffic(@Nullable Boolean collectMidgressTraffic) { + this.collectMidgressTraffic = collectMidgressTraffic; return this; } @CustomType.Setter public Builder datastreamIds(@Nullable String datastreamIds) { + this.datastreamIds = datastreamIds; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logEnabled(@Nullable Boolean logEnabled) { + this.logEnabled = logEnabled; return this; } @CustomType.Setter public Builder logStreamName(@Nullable Integer logStreamName) { + this.logStreamName = logStreamName; return this; } @CustomType.Setter public Builder logStreamTitle(@Nullable String logStreamTitle) { + this.logStreamTitle = logStreamTitle; return this; } @CustomType.Setter public Builder samplingPercentage(@Nullable Integer samplingPercentage) { + this.samplingPercentage = samplingPercentage; return this; } @CustomType.Setter public Builder streamType(@Nullable String streamType) { + this.streamType = streamType; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcp.java index 3b3898dc463..aceef668ff7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcp.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcp defaults) { @CustomType.Setter public Builder anonymous(@Nullable Boolean anonymous) { + this.anonymous = anonymous; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder gwenabled(@Nullable Boolean gwenabled) { + this.gwenabled = gwenabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder namespaceId(@Nullable String namespaceId) { + this.namespaceId = namespaceId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tlsenabled(@Nullable Boolean tlsenabled) { + this.tlsenabled = tlsenabled; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder wsenabled(@Nullable Boolean wsenabled) { + this.wsenabled = wsenabled; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransformation.java index 30775d41f09..7dddb57e34b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransformation.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthHmacTransform @CustomType.Setter public Builder hashConversionAlgorithm(@Nullable String hashConversionAlgorithm) { + this.hashConversionAlgorithm = hashConversionAlgorithm; return this; } @CustomType.Setter public Builder hashConversionKey(@Nullable String hashConversionKey) { + this.hashConversionKey = hashConversionKey; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransformation.java index 8a590b014ee..c1a6728c914 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransformation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthRegexTransfor @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTransformation.java index df3411c169e..fffcbdbe161 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTransformation.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthSubstringTran @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder substringEnd(@Nullable String substringEnd) { + this.substringEnd = substringEnd; return this; } @CustomType.Setter public Builder substringStart(@Nullable String substringStart) { + this.substringStart = substringStart; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtractor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtractor.java index dc7aec7c7d8..d1163a958a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtractor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtractor.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpAuthVariableExtra @CustomType.Setter public Builder certificateField(@Nullable String certificateField) { + this.certificateField = certificateField; return this; } @CustomType.Setter public Builder dcpMutualAuthProcessingVariableId(@Nullable String dcpMutualAuthProcessingVariableId) { + this.dcpMutualAuthProcessingVariableId = dcpMutualAuthProcessingVariableId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroups.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroups.java index b657f366732..901cd586e6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroups.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroups.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpDefaultAuthzGroup @CustomType.Setter public Builder groupNames(@Nullable List groupNames) { + this.groupNames = groupNames; return this; } @@ -64,16 +65,19 @@ public Builder groupNames(String... groupNames) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations.java index 47bcb73ac9f..9ff993d3606 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpDevRelations defa @CustomType.Setter public Builder customValues(@Nullable Boolean customValues) { + this.customValues = customValues; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth.java index 3b8f13a6540..00ef5db32a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDcpRealTimeAuth defa @CustomType.Setter public Builder extractHostname(@Nullable Boolean extractHostname) { + this.extractHostname = extractHostname; return this; } @CustomType.Setter public Builder extractJurisdiction(@Nullable Boolean extractJurisdiction) { + this.extractJurisdiction = extractJurisdiction; return this; } @CustomType.Setter public Builder extractNamespace(@Nullable Boolean extractNamespace) { + this.extractNamespace = extractNamespace; return this; } @CustomType.Setter public Builder hostnameClaim(@Nullable String hostnameClaim) { + this.hostnameClaim = hostnameClaim; return this; } @CustomType.Setter public Builder jurisdictionClaim(@Nullable String jurisdictionClaim) { + this.jurisdictionClaim = jurisdictionClaim; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder namespaceClaim(@Nullable String namespaceClaim) { + this.namespaceClaim = namespaceClaim; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt.java index babd43103c4..4c9155863a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDeliveryReceipt defa @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess.java index 19bd9b9bcbe..60e8d3a053e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDenyAccess defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder reason(@Nullable String reason) { + this.reason = reason; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAccess.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAccess.java index 86f99b3e131..ceaebec8dba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAccess.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAccess.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDenyDirectFailoverAc @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicCacheId.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicCacheId.java index 12cf99722dd..be88f74266e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicCacheId.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicCacheId.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristic @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -64,16 +65,19 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicHeader.java index 331957103ce..6ab24a4becc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristicHeader.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDeviceCharacteristic @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -64,16 +65,19 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh.java index 43e6c5a7826..813e76d28be 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDnsAsyncRefresh defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh.java index 63b37bf2285..3038894b672 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDnsPrefresh defaults @CustomType.Setter public Builder delay(@Nullable String delay) { + this.delay = delay; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol.java index a4348c515ff..b24841782c1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDowngradeProtocol de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMarker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMarker.java index f5a0dba6649..6514b18f2d8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMarker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMarker.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDownloadCompleteMark @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification.java index 12f59d1de2f..b12d231d04c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDownloadNotification @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache.java index 4a85e12f517..99e150e365e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDownstreamCache defa @CustomType.Setter public Builder allowBehavior(@Nullable String allowBehavior) { + this.allowBehavior = allowBehavior; return this; } @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sendHeaders(@Nullable String sendHeaders) { + this.sendHeaders = sendHeaders; return this; } @CustomType.Setter public Builder sendPrivate(@Nullable Boolean sendPrivate) { + this.sendPrivate = sendPrivate; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimization.java index 8e483fd6120..63c0da44224 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOp @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimizationOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimizationOverride.java index 17724910882..c5beaf216f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimizationOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOptimizationOverride.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDynamicThroughtputOp @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder throughput(@Nullable String throughput) { + this.throughput = throughput; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent.java index c03fb3a7d6b..c1956b13ef8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorDynamicWebContent de @CustomType.Setter public Builder imageCompression(@Nullable Boolean imageCompression) { + this.imageCompression = imageCompression; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefetch(@Nullable Boolean prefetch) { + this.prefetch = prefetch; return this; } @CustomType.Setter public Builder realUserMonitoring(@Nullable Boolean realUserMonitoring) { + this.realUserMonitoring = realUserMonitoring; return this; } @CustomType.Setter public Builder sureRoute(@Nullable Boolean sureRoute) { + this.sureRoute = sureRoute; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload.java index 05102f756e0..d9edfabd2a2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEcmsBulkUpload defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase.java index 0222f1ad8eb..7ed7f7b9a53 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDatabase default @CustomType.Setter public Builder database(@Nullable String database) { + this.database = database; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset.java index dd685aef0d7..3d8c31489ba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEcmsDataset defaults @CustomType.Setter public Builder dataset(@Nullable String dataset) { + this.dataset = dataset; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey.java index 8469ed87a49..4f18fd0cb45 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEcmsObjectKey defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect.java index 470515f260a..a7fd86d949f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect.java @@ -104,26 +104,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeConnect defaults @CustomType.Setter public Builder aggregateLines(@Nullable String aggregateLines) { + this.aggregateLines = aggregateLines; return this; } @CustomType.Setter public Builder aggregateSize(@Nullable String aggregateSize) { + this.aggregateSize = aggregateSize; return this; } @CustomType.Setter public Builder aggregateTime(@Nullable String aggregateTime) { + this.aggregateTime = aggregateTime; return this; } @CustomType.Setter public Builder apiConnector(@Nullable String apiConnector) { + this.apiConnector = apiConnector; return this; } @CustomType.Setter public Builder apiDataElements(@Nullable List apiDataElements) { + this.apiDataElements = apiDataElements; return this; } @@ -132,36 +137,43 @@ public Builder apiDataElements(String... apiDataElements) { } @CustomType.Setter public Builder destinationHostname(@Nullable String destinationHostname) { + this.destinationHostname = destinationHostname; return this; } @CustomType.Setter public Builder destinationPath(@Nullable String destinationPath) { + this.destinationPath = destinationPath; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder overrideAggregateSettings(@Nullable Boolean overrideAggregateSettings) { + this.overrideAggregateSettings = overrideAggregateSettings; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdvanced.java index d3044ee8db9..720ea69963b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingAdv @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenter.java index dbc23b1fc04..85265e4dbb7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenter.java @@ -99,21 +99,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDat @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder enableFailover(@Nullable Boolean enableFailover) { + this.enableFailover = enableFailover; return this; } @CustomType.Setter public Builder failoverRules(@Nullable List failoverRules) { + this.failoverRules = failoverRules; return this; } @@ -122,36 +126,43 @@ public Builder failoverRules(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLo } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder ip(@Nullable String ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenterFailoverRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenterFailoverRule.java index 530f32c0d62..3d10f2cf13f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenterFailoverRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDataCenterFailoverRule.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingDat @CustomType.Setter public Builder absolutePath(@Nullable Boolean absolutePath) { + this.absolutePath = absolutePath; return this; } @CustomType.Setter public Builder contextRoot(@Nullable String contextRoot) { + this.contextRoot = contextRoot; return this; } @CustomType.Setter public Builder failoverHostname(@Nullable String failoverHostname) { + this.failoverHostname = failoverHostname; return this; } @CustomType.Setter public Builder modifyRequest(@Nullable Boolean modifyRequest) { + this.modifyRequest = modifyRequest; return this; } @CustomType.Setter public Builder overrideHostname(@Nullable Boolean overrideHostname) { + this.overrideHostname = overrideHostname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOrigin.java index f372de03d6e..d2b3b626a7f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOrigin.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeLoadBalancingOri @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder enableSessionPersistence(@Nullable Boolean enableSessionPersistence) { + this.enableSessionPersistence = enableSessionPersistence; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder id(@Nullable String id) { + this.id = id; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionPersistenceTitle(@Nullable String sessionPersistenceTitle) { + this.sessionPersistenceTitle = sessionPersistenceTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorization.java index c301a18adbf..718c4543f3a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorization.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeOriginAuthorizat @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector.java index 53b00bef396..97eb81301ef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirector defau @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudletPolicy.java index e753b3a8cb3..b20a4380e42 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeRedirectorCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape.java index 7070accadab..066f0a0e4dc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeScape defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes.java index 8e92e891e7a..272b08ddaec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes.java @@ -92,21 +92,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeSideIncludes def @CustomType.Setter public Builder detectInjection(@Nullable Boolean detectInjection) { + this.detectInjection = detectInjection; return this; } @CustomType.Setter public Builder enableViaHttp(@Nullable Boolean enableViaHttp) { + this.enableViaHttp = enableViaHttp; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder i18nCharsets(@Nullable List i18nCharsets) { + this.i18nCharsets = i18nCharsets; return this; } @@ -115,31 +119,37 @@ public Builder i18nCharsets(String... i18nCharsets) { } @CustomType.Setter public Builder i18nStatus(@Nullable Boolean i18nStatus) { + this.i18nStatus = i18nStatus; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder passClientIp(@Nullable Boolean passClientIp) { + this.passClientIp = passClientIp; return this; } @CustomType.Setter public Builder passSetCookie(@Nullable Boolean passSetCookie) { + this.passSetCookie = passSetCookie; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker.java index f9cebc3147d..97d756d0578 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEdgeWorker defaults) @CustomType.Setter public Builder createEdgeWorker(@Nullable String createEdgeWorker) { + this.createEdgeWorker = createEdgeWorker; return this; } @CustomType.Setter public Builder edgeWorkerId(@Nullable String edgeWorkerId) { + this.edgeWorkerId = edgeWorkerId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder resourceTier(@Nullable String resourceTier) { + this.resourceTier = resourceTier; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtocol.java index f34b0128cb5..26705aa6947 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedAkamaiProtoc @CustomType.Setter public Builder display(@Nullable String display) { + this.display = display; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetection.java index 3fd9ba4411f..0e2c3b63159 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetection.java @@ -247,181 +247,217 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEnhancedProxyDetecti @CustomType.Setter public Builder anonymousVpn(@Nullable String anonymousVpn) { + this.anonymousVpn = anonymousVpn; return this; } @CustomType.Setter public Builder bestPracticeAction(@Nullable String bestPracticeAction) { + this.bestPracticeAction = bestPracticeAction; return this; } @CustomType.Setter public Builder bestPracticeRedirecturl(@Nullable String bestPracticeRedirecturl) { + this.bestPracticeRedirecturl = bestPracticeRedirecturl; return this; } @CustomType.Setter public Builder detectAnonymousVpn(@Nullable Boolean detectAnonymousVpn) { + this.detectAnonymousVpn = detectAnonymousVpn; return this; } @CustomType.Setter public Builder detectAnonymousVpnAction(@Nullable String detectAnonymousVpnAction) { + this.detectAnonymousVpnAction = detectAnonymousVpnAction; return this; } @CustomType.Setter public Builder detectAnonymousVpnRedirecturl(@Nullable String detectAnonymousVpnRedirecturl) { + this.detectAnonymousVpnRedirecturl = detectAnonymousVpnRedirecturl; return this; } @CustomType.Setter public Builder detectHostingProvider(@Nullable Boolean detectHostingProvider) { + this.detectHostingProvider = detectHostingProvider; return this; } @CustomType.Setter public Builder detectHostingProviderAction(@Nullable String detectHostingProviderAction) { + this.detectHostingProviderAction = detectHostingProviderAction; return this; } @CustomType.Setter public Builder detectHostingProviderRedirecturl(@Nullable String detectHostingProviderRedirecturl) { + this.detectHostingProviderRedirecturl = detectHostingProviderRedirecturl; return this; } @CustomType.Setter public Builder detectPublicProxy(@Nullable Boolean detectPublicProxy) { + this.detectPublicProxy = detectPublicProxy; return this; } @CustomType.Setter public Builder detectPublicProxyAction(@Nullable String detectPublicProxyAction) { + this.detectPublicProxyAction = detectPublicProxyAction; return this; } @CustomType.Setter public Builder detectPublicProxyRedirecturl(@Nullable String detectPublicProxyRedirecturl) { + this.detectPublicProxyRedirecturl = detectPublicProxyRedirecturl; return this; } @CustomType.Setter public Builder detectResidentialProxy(@Nullable Boolean detectResidentialProxy) { + this.detectResidentialProxy = detectResidentialProxy; return this; } @CustomType.Setter public Builder detectResidentialProxyAction(@Nullable String detectResidentialProxyAction) { + this.detectResidentialProxyAction = detectResidentialProxyAction; return this; } @CustomType.Setter public Builder detectResidentialProxyRedirecturl(@Nullable String detectResidentialProxyRedirecturl) { + this.detectResidentialProxyRedirecturl = detectResidentialProxyRedirecturl; return this; } @CustomType.Setter public Builder detectSmartDnsProxy(@Nullable Boolean detectSmartDnsProxy) { + this.detectSmartDnsProxy = detectSmartDnsProxy; return this; } @CustomType.Setter public Builder detectSmartDnsProxyAction(@Nullable String detectSmartDnsProxyAction) { + this.detectSmartDnsProxyAction = detectSmartDnsProxyAction; return this; } @CustomType.Setter public Builder detectSmartDnsProxyRedirecturl(@Nullable String detectSmartDnsProxyRedirecturl) { + this.detectSmartDnsProxyRedirecturl = detectSmartDnsProxyRedirecturl; return this; } @CustomType.Setter public Builder detectTorExitNode(@Nullable Boolean detectTorExitNode) { + this.detectTorExitNode = detectTorExitNode; return this; } @CustomType.Setter public Builder detectTorExitNodeAction(@Nullable String detectTorExitNodeAction) { + this.detectTorExitNodeAction = detectTorExitNodeAction; return this; } @CustomType.Setter public Builder detectTorExitNodeRedirecturl(@Nullable String detectTorExitNodeRedirecturl) { + this.detectTorExitNodeRedirecturl = detectTorExitNodeRedirecturl; return this; } @CustomType.Setter public Builder detectVpnDataCenter(@Nullable Boolean detectVpnDataCenter) { + this.detectVpnDataCenter = detectVpnDataCenter; return this; } @CustomType.Setter public Builder detectVpnDataCenterAction(@Nullable String detectVpnDataCenterAction) { + this.detectVpnDataCenterAction = detectVpnDataCenterAction; return this; } @CustomType.Setter public Builder detectVpnDataCenterRedirecturl(@Nullable String detectVpnDataCenterRedirecturl) { + this.detectVpnDataCenterRedirecturl = detectVpnDataCenterRedirecturl; return this; } @CustomType.Setter public Builder enableConfigurationMode(@Nullable String enableConfigurationMode) { + this.enableConfigurationMode = enableConfigurationMode; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardHeaderEnrichment(@Nullable Boolean forwardHeaderEnrichment) { + this.forwardHeaderEnrichment = forwardHeaderEnrichment; return this; } @CustomType.Setter public Builder hostingProvider(@Nullable String hostingProvider) { + this.hostingProvider = hostingProvider; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder publicProxy(@Nullable String publicProxy) { + this.publicProxy = publicProxy; return this; } @CustomType.Setter public Builder residentialProxy(@Nullable String residentialProxy) { + this.residentialProxy = residentialProxy; return this; } @CustomType.Setter public Builder smartDnsProxy(@Nullable String smartDnsProxy) { + this.smartDnsProxy = smartDnsProxy; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder torExitNode(@Nullable String torExitNode) { + this.torExitNode = torExitNode; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder vpnDataCenter(@Nullable String vpnDataCenter) { + this.vpnDataCenter = vpnDataCenter; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnrichment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnrichment.java index d9b20f5b3f4..7c4a5081dba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnrichment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnrichment.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorEpdForwardHeaderEnri @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailAction.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailAction.java index cb620d59f3a..cfd1f44173b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailAction.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailAction.java @@ -244,176 +244,211 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFailAction defaults) @CustomType.Setter public Builder actionType(@Nullable String actionType) { + this.actionType = actionType; return this; } @CustomType.Setter public Builder allowFcmParentOverride(@Nullable Boolean allowFcmParentOverride) { + this.allowFcmParentOverride = allowFcmParentOverride; return this; } @CustomType.Setter public Builder cexCustomPath(@Nullable Boolean cexCustomPath) { + this.cexCustomPath = cexCustomPath; return this; } @CustomType.Setter public Builder cexHostname(@Nullable String cexHostname) { + this.cexHostname = cexHostname; return this; } @CustomType.Setter public Builder cexPath(@Nullable String cexPath) { + this.cexPath = cexPath; return this; } @CustomType.Setter public Builder contentCustomPath(@Nullable Boolean contentCustomPath) { + this.contentCustomPath = contentCustomPath; return this; } @CustomType.Setter public Builder contentHostname(@Nullable String contentHostname) { + this.contentHostname = contentHostname; return this; } @CustomType.Setter public Builder contentPath(@Nullable String contentPath) { + this.contentPath = contentPath; return this; } @CustomType.Setter public Builder cpCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder dynamicCustomPath(@Nullable Boolean dynamicCustomPath) { + this.dynamicCustomPath = dynamicCustomPath; return this; } @CustomType.Setter public Builder dynamicMethod(@Nullable String dynamicMethod) { + this.dynamicMethod = dynamicMethod; return this; } @CustomType.Setter public Builder dynamicPath(@Nullable String dynamicPath) { + this.dynamicPath = dynamicPath; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modifyProtocol(@Nullable Boolean modifyProtocol) { + this.modifyProtocol = modifyProtocol; return this; } @CustomType.Setter public Builder netStorageHostname(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorageHostname netStorageHostname) { + this.netStorageHostname = netStorageHostname; return this; } @CustomType.Setter public Builder netStoragePath(@Nullable String netStoragePath) { + this.netStoragePath = netStoragePath; return this; } @CustomType.Setter public Builder preserveQueryString(@Nullable Boolean preserveQueryString) { + this.preserveQueryString = preserveQueryString; return this; } @CustomType.Setter public Builder protocol(@Nullable String protocol) { + this.protocol = protocol; return this; } @CustomType.Setter public Builder redirectCustomPath(@Nullable Boolean redirectCustomPath) { + this.redirectCustomPath = redirectCustomPath; return this; } @CustomType.Setter public Builder redirectHostname(@Nullable String redirectHostname) { + this.redirectHostname = redirectHostname; return this; } @CustomType.Setter public Builder redirectHostnameType(@Nullable String redirectHostnameType) { + this.redirectHostnameType = redirectHostnameType; return this; } @CustomType.Setter public Builder redirectMethod(@Nullable Integer redirectMethod) { + this.redirectMethod = redirectMethod; return this; } @CustomType.Setter public Builder redirectPath(@Nullable String redirectPath) { + this.redirectPath = redirectPath; return this; } @CustomType.Setter public Builder saasCnameEnabled(@Nullable Boolean saasCnameEnabled) { + this.saasCnameEnabled = saasCnameEnabled; return this; } @CustomType.Setter public Builder saasCnameLevel(@Nullable Integer saasCnameLevel) { + this.saasCnameLevel = saasCnameLevel; return this; } @CustomType.Setter public Builder saasCookie(@Nullable String saasCookie) { + this.saasCookie = saasCookie; return this; } @CustomType.Setter public Builder saasQueryString(@Nullable String saasQueryString) { + this.saasQueryString = saasQueryString; return this; } @CustomType.Setter public Builder saasRegex(@Nullable String saasRegex) { + this.saasRegex = saasRegex; return this; } @CustomType.Setter public Builder saasReplace(@Nullable String saasReplace) { + this.saasReplace = saasReplace; return this; } @CustomType.Setter public Builder saasSuffix(@Nullable String saasSuffix) { + this.saasSuffix = saasSuffix; return this; } @CustomType.Setter public Builder saasType(@Nullable String saasType) { + this.saasType = saasType; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode.java index 33b0cfd0963..19a1c381f43 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCode def @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCodeLimits.java index eeef08ceac1..74999cd2702 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFailActionCpCodeCpCo @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorageHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorageHostname.java index ecf03a29d41..b11a19e51d5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorageHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorageHostname.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFailActionNetStorage @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFeatureCompatibility.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFeatureCompatibility.java index c139dd37df4..0a107e1cfe3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFeatureCompatibility.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFeatureCompatibility.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFailoverBotManagerFe @CustomType.Setter public Builder compatibility(@Nullable Boolean compatibility) { + this.compatibility = compatibility; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate.java index b21e97696ff..53010e3695b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFastInvalidate defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing.java index 15b4c83459e..7b2b548e9b7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketing @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder javaScriptInsertionRule(@Nullable String javaScriptInsertionRule) { + this.javaScriptInsertionRule = javaScriptInsertionRule; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaMathPrefix(@Nullable String mediaMathPrefix) { + this.mediaMathPrefix = mediaMathPrefix; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingCloudletPolicy.java index 6c44a76054f..6721711ac3b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingC @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlus.java index 7f86fd9c600..4c33dcbfc59 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlus.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingP @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlusCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder javaScriptInsertionRule(@Nullable String javaScriptInsertionRule) { + this.javaScriptInsertionRule = javaScriptInsertionRule; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaMathPrefix(@Nullable String mediaMathPrefix) { + this.mediaMathPrefix = mediaMathPrefix; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlusCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlusCloudletPolicy.java index d1717c4eaab..09534726056 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlusCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingPlusCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFirstPartyMarketingP @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite.java index 1ac27e1bfcd..14454152a5a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewrite defau @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudletPolicy.java index 30b2f4ca844..076a58e77ca 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorForwardRewriteCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization.java index 919a8edebdd..25869a48784 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorFrontEndOptimization @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader.java index 74432d8a124..d957c9556b9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader.java @@ -99,6 +99,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorG2oheader defaults) @CustomType.Setter public Builder customSignStrings(@Nullable List customSignStrings) { + this.customSignStrings = customSignStrings; return this; } @@ -107,51 +108,61 @@ public Builder customSignStrings(String... customSignStrings) { } @CustomType.Setter public Builder dataHeader(@Nullable String dataHeader) { + this.dataHeader = dataHeader; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder encodingVersion(@Nullable Integer encodingVersion) { + this.encodingVersion = encodingVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder secretKey(@Nullable String secretKey) { + this.secretKey = secretKey; return this; } @CustomType.Setter public Builder signedHeader(@Nullable String signedHeader) { + this.signedHeader = signedHeader; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useCustomSignString(@Nullable Boolean useCustomSignString) { + this.useCustomSignString = useCustomSignString; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber.java index cedca8ab52d..b5b7f2a7148 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorGlobalRequestNumber @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder outputOption(@Nullable String outputOption) { + this.outputOption = outputOption; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching.java index 9ad435b38de..7177c328344 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorGraphqlCaching defau @CustomType.Setter public Builder advanced(@Nullable String advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder cacheResponsesWithErrors(@Nullable Boolean cacheResponsesWithErrors) { + this.cacheResponsesWithErrors = cacheResponsesWithErrors; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder operationsJsonBodyParameterName(@Nullable String operationsJsonBodyParameterName) { + this.operationsJsonBodyParameterName = operationsJsonBodyParameterName; return this; } @CustomType.Setter public Builder operationsUrlQueryParameterName(@Nullable String operationsUrlQueryParameterName) { + this.operationsUrlQueryParameterName = operationsUrlQueryParameterName; return this; } @CustomType.Setter public Builder postRequestProcessingErrorHandling(@Nullable String postRequestProcessingErrorHandling) { + this.postRequestProcessingErrorHandling = postRequestProcessingErrorHandling; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse.java index a2215b9e504..dec6210351f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorGzipResponse default @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced.java index 40e16b1ac51..76593355a02 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHdDataAdvanced defau @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection.java index ad11fdd9726..60856f88415 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHealthDetection defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumReconnects(@Nullable Integer maximumReconnects) { + this.maximumReconnects = maximumReconnects; return this; } @CustomType.Setter public Builder retryCount(@Nullable Integer retryCount) { + this.retryCount = retryCount; return this; } @CustomType.Setter public Builder retryInterval(@Nullable String retryInterval) { + this.retryInterval = retryInterval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding.java index ecf94e56cdd..850e55d0d3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHsafEipBinding defau @CustomType.Setter public Builder customExtractedSerial(@Nullable Boolean customExtractedSerial) { + this.customExtractedSerial = customExtractedSerial; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hashMaxValue(@Nullable Integer hashMaxValue) { + this.hashMaxValue = hashMaxValue; return this; } @CustomType.Setter public Builder hashMinValue(@Nullable Integer hashMinValue) { + this.hashMinValue = hashMinValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier(@Nullable String tier) { + this.tier = tier; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp2.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp2.java index 71ddd84a13d..fb2cf52bc45 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp2.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp2.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHttp2 defaults) { @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp3.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp3.java index a46ebd61842..3773247b318 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp3.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttp3.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHttp3 defaults) { @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportSecurity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportSecurity.java index 51f251540b8..6ef8318fbbf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportSecurity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportSecurity.java @@ -86,46 +86,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHttpStrictTransportS @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder includeSubDomains(@Nullable Boolean includeSubDomains) { + this.includeSubDomains = includeSubDomains; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maxAge(@Nullable String maxAge) { + this.maxAge = maxAge; return this; } @CustomType.Setter public Builder preload(@Nullable Boolean preload) { + this.preload = preload; return this; } @CustomType.Setter public Builder redirect(@Nullable Boolean redirect) { + this.redirect = redirect; return this; } @CustomType.Setter public Builder redirectStatusCode(@Nullable Integer redirectStatusCode) { + this.redirectStatusCode = redirectStatusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade.java index 18d3acc675f..58e03b09e0c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorHttpToHttpsUpgrade d @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upgrade(@Nullable String upgrade) { + this.upgrade = upgrade; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImOverride.java index 530209fe0b5..67c469760a3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImOverride.java @@ -135,21 +135,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImOverride defaults) @CustomType.Setter public Builder dpr(@Nullable Double dpr) { + this.dpr = dpr; return this; } @CustomType.Setter public Builder dprvar(@Nullable String dprvar) { + this.dprvar = dprvar; return this; } @CustomType.Setter public Builder excludeAllQueryParameters(@Nullable Boolean excludeAllQueryParameters) { + this.excludeAllQueryParameters = excludeAllQueryParameters; return this; } @CustomType.Setter public Builder excludedQueryParameters(@Nullable List excludedQueryParameters) { + this.excludedQueryParameters = excludedQueryParameters; return this; } @@ -158,66 +162,79 @@ public Builder excludedQueryParameters(String... excludedQueryParameters) { } @CustomType.Setter public Builder format(@Nullable String format) { + this.format = format; return this; } @CustomType.Setter public Builder formatvar(@Nullable String formatvar) { + this.formatvar = formatvar; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder override(@Nullable String override) { + this.override = override; return this; } @CustomType.Setter public Builder policy(@Nullable String policy) { + this.policy = policy; return this; } @CustomType.Setter public Builder policyvar(@Nullable String policyvar) { + this.policyvar = policyvar; return this; } @CustomType.Setter public Builder policyvarIMvar(@Nullable String policyvarIMvar) { + this.policyvarIMvar = policyvarIMvar; return this; } @CustomType.Setter public Builder policyvarName(@Nullable String policyvarName) { + this.policyvarName = policyvarName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder typesel(@Nullable String typesel) { + this.typesel = typesel; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder width(@Nullable Double width) { + this.width = width; return this; } @CustomType.Setter public Builder widthvar(@Nullable String widthvar) { + this.widthvar = widthvar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager.java index ad1bc1e0fda..6c1a9fa4294 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager.java @@ -99,56 +99,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder imageSet(@Nullable String imageSet) { + this.imageSet = imageSet; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySetType(@Nullable String policySetType) { + this.policySetType = policySetType; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder videoSet(@Nullable String videoSet) { + this.videoSet = videoSet; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginal.java index 6e522cbc222..62a453910bd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java index a00a26d17d3..446a854b859 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformed.java index e8a4b401bfb..406ae46651a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java index d439dc03cf0..76582015df8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageAndVideoManager @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManager.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManager.java index d27cab16095..6ff3b3d431e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManager.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManager.java @@ -135,86 +135,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManager default @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder apiReferenceTitle(@Nullable String apiReferenceTitle) { + this.apiReferenceTitle = apiReferenceTitle; return this; } @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySet(@Nullable String policySet) { + this.policySet = policySet; return this; } @CustomType.Setter public Builder policyToken(@Nullable String policyToken) { + this.policyToken = policyToken; return this; } @CustomType.Setter public Builder policyTokenDefault(@Nullable String policyTokenDefault) { + this.policyTokenDefault = policyTokenDefault; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder settingsTitle(@Nullable String settingsTitle) { + this.settingsTitle = settingsTitle; return this; } @CustomType.Setter public Builder superCacheRegion(@Nullable String superCacheRegion) { + this.superCacheRegion = superCacheRegion; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trafficTitle(@Nullable String trafficTitle) { + this.trafficTitle = trafficTitle; return this; } @CustomType.Setter public Builder useExistingPolicySet(@Nullable Boolean useExistingPolicySet) { + this.useExistingPolicySet = useExistingPolicySet; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginal.java index 1711c00138e..f40140041de 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginalCpCodeLimits.java index 7122ff7bf6b..96068082d44 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeOr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformed.java index 8bd3d9331a9..40a4000fbef 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformedCpCodeLimits.java index 812e90614e9..25a4568860b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerCpCodeTr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo.java index 77ac0ea0155..2ab2770d257 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo.java @@ -135,86 +135,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideo de @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder apiReferenceTitle(@Nullable String apiReferenceTitle) { + this.apiReferenceTitle = apiReferenceTitle; return this; } @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySet(@Nullable String policySet) { + this.policySet = policySet; return this; } @CustomType.Setter public Builder policyToken(@Nullable String policyToken) { + this.policyToken = policyToken; return this; } @CustomType.Setter public Builder policyTokenDefault(@Nullable String policyTokenDefault) { + this.policyTokenDefault = policyTokenDefault; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder settingsTitle(@Nullable String settingsTitle) { + this.settingsTitle = settingsTitle; return this; } @CustomType.Setter public Builder superCacheRegion(@Nullable String superCacheRegion) { + this.superCacheRegion = superCacheRegion; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trafficTitle(@Nullable String trafficTitle) { + this.trafficTitle = trafficTitle; return this; } @CustomType.Setter public Builder useExistingPolicySet(@Nullable Boolean useExistingPolicySet) { + this.useExistingPolicySet = useExistingPolicySet; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginal.java index aadc9303759..f851c8fb315 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpC @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java index 9f48964cca3..be872a60413 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformed.java index 2483ea371b5..78098f5de94 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpC @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java index b288dcda406..1f5897270be 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorImageManagerVideoCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInclude.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInclude.java index 379af0e79dd..455fbaf35b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInclude.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInclude.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInclude defaults) { @CustomType.Setter public Builder id(@Nullable String id) { + this.id = id; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation.java index fbeace442bc..0564a65a4fd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation.java @@ -209,106 +209,127 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInputValidation defa @CustomType.Setter public Builder allowLargePostBody(@Nullable Boolean allowLargePostBody) { + this.allowLargePostBody = allowLargePostBody; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failure302Uri(@Nullable String failure302Uri) { + this.failure302Uri = failure302Uri; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder penalty302Uri(@Nullable String penalty302Uri) { + this.penalty302Uri = penalty302Uri; return this; } @CustomType.Setter public Builder penalty403NetStoragePath(@Nullable String penalty403NetStoragePath) { + this.penalty403NetStoragePath = penalty403NetStoragePath; return this; } @CustomType.Setter public Builder penaltyAction(@Nullable String penaltyAction) { + this.penaltyAction = penaltyAction; return this; } @CustomType.Setter public Builder penaltyBrandedDenyCacheTtl(@Nullable Integer penaltyBrandedDenyCacheTtl) { + this.penaltyBrandedDenyCacheTtl = penaltyBrandedDenyCacheTtl; return this; } @CustomType.Setter public Builder penaltyNetStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenaltyNetStorage penaltyNetStorage) { + this.penaltyNetStorage = penaltyNetStorage; return this; } @CustomType.Setter public Builder penaltyThreshold(@Nullable Integer penaltyThreshold) { + this.penaltyThreshold = penaltyThreshold; return this; } @CustomType.Setter public Builder penaltyTitle(@Nullable String penaltyTitle) { + this.penaltyTitle = penaltyTitle; return this; } @CustomType.Setter public Builder resetOnValid(@Nullable Boolean resetOnValid) { + this.resetOnValid = resetOnValid; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder userIdentificationByCookie(@Nullable Boolean userIdentificationByCookie) { + this.userIdentificationByCookie = userIdentificationByCookie; return this; } @CustomType.Setter public Builder userIdentificationByHeaders(@Nullable Boolean userIdentificationByHeaders) { + this.userIdentificationByHeaders = userIdentificationByHeaders; return this; } @CustomType.Setter public Builder userIdentificationByIp(@Nullable Boolean userIdentificationByIp) { + this.userIdentificationByIp = userIdentificationByIp; return this; } @CustomType.Setter public Builder userIdentificationByParams(@Nullable Boolean userIdentificationByParams) { + this.userIdentificationByParams = userIdentificationByParams; return this; } @CustomType.Setter public Builder userIdentificationKeyCookie(@Nullable String userIdentificationKeyCookie) { + this.userIdentificationKeyCookie = userIdentificationKeyCookie; return this; } @CustomType.Setter public Builder userIdentificationKeyHeaders(@Nullable List userIdentificationKeyHeaders) { + this.userIdentificationKeyHeaders = userIdentificationKeyHeaders; return this; } @@ -317,6 +338,7 @@ public Builder userIdentificationKeyHeaders(String... userIdentificationKeyHeade } @CustomType.Setter public Builder userIdentificationKeyParams(@Nullable List userIdentificationKeyParams) { + this.userIdentificationKeyParams = userIdentificationKeyParams; return this; } @@ -325,36 +347,43 @@ public Builder userIdentificationKeyParams(String... userIdentificationKeyParams } @CustomType.Setter public Builder userIdentificationTitle(@Nullable String userIdentificationTitle) { + this.userIdentificationTitle = userIdentificationTitle; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder validateOnOriginHeaderName(@Nullable String validateOnOriginHeaderName) { + this.validateOnOriginHeaderName = validateOnOriginHeaderName; return this; } @CustomType.Setter public Builder validateOnOriginHeaderValue(@Nullable String validateOnOriginHeaderValue) { + this.validateOnOriginHeaderValue = validateOnOriginHeaderValue; return this; } @CustomType.Setter public Builder validateOnOriginResponseCode(@Nullable Integer validateOnOriginResponseCode) { + this.validateOnOriginResponseCode = validateOnOriginResponseCode; return this; } @CustomType.Setter public Builder validateOnOriginWith(@Nullable String validateOnOriginWith) { + this.validateOnOriginWith = validateOnOriginWith; return this; } @CustomType.Setter public Builder validationTitle(@Nullable String validationTitle) { + this.validationTitle = validationTitle; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloudletPolicy.java index 2e308fbcf3b..c571463c897 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationCloud @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenaltyNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenaltyNetStorage.java index 500d946d6a2..89d85600741 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenaltyNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenaltyNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInputValidationPenal @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstant.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstant.java index 1fcbaf8ac63..757ba7e41e5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstant.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstant.java @@ -80,6 +80,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInstant defaults) { @CustomType.Setter public Builder customLinkRelations(@Nullable List customLinkRelations) { + this.customLinkRelations = customLinkRelations; return this; } @@ -88,26 +89,31 @@ public Builder customLinkRelations(String... customLinkRelations) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefetchCacheable(@Nullable Boolean prefetchCacheable) { + this.prefetchCacheable = prefetchCacheable; return this; } @CustomType.Setter public Builder prefetchHtml(@Nullable Boolean prefetchHtml) { + this.prefetchHtml = prefetchHtml; return this; } @CustomType.Setter public Builder prefetchNoStore(@Nullable Boolean prefetchNoStore) { + this.prefetchNoStore = prefetchNoStore; return this; } @CustomType.Setter public Builder prefetchNoStoreExtensions(@Nullable List prefetchNoStoreExtensions) { + this.prefetchNoStoreExtensions = prefetchNoStoreExtensions; return this; } @@ -116,11 +122,13 @@ public Builder prefetchNoStoreExtensions(String... prefetchNoStoreExtensions) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig.java index c824e56e6da..cdc33e86384 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorInstantConfig defaul @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimization.java index bd71efb2e78..a952f596018 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimization.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizatio @CustomType.Setter public Builder enablePartialObjectCaching(@Nullable String enablePartialObjectCaching) { + this.enablePartialObjectCaching = enablePartialObjectCaching; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder minimumSize(@Nullable String minimumSize) { + this.minimumSize = minimumSize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useVersioning(@Nullable Boolean useVersioning) { + this.useVersioning = useVersioning; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizationAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizationAdvanced.java index fea5c709bf9..101ac301f89 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizationAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizationAdvanced.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLargeFileOptimizatio @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder fragmentSize(@Nullable String fragmentSize) { + this.fragmentSize = fragmentSize; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder prefetchAfterRequest(@Nullable Integer prefetchAfterRequest) { + this.prefetchAfterRequest = prefetchAfterRequest; return this; } @CustomType.Setter public Builder prefetchDuringRequest(@Nullable Integer prefetchDuringRequest) { + this.prefetchDuringRequest = prefetchDuringRequest; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate.java index 7b9bdfaaa2d..83f98dc058b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate.java @@ -70,6 +70,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRate default @CustomType.Setter public Builder bitrateTables(@Nullable List bitrateTables) { + this.bitrateTables = bitrateTables; return this; } @@ -78,21 +79,25 @@ public Builder bitrateTables(GetPropertyRulesBuilderRulesV20230105BehaviorLimitB } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder thresholdTables(@Nullable List thresholdTables) { + this.thresholdTables = thresholdTables; return this; } @@ -101,6 +106,7 @@ public Builder thresholdTables(GetPropertyRulesBuilderRulesV20230105BehaviorLimi } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateBitrateTable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateBitrateTable.java index eb0c1f36863..c1685d29f96 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateBitrateTable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateBitrateTable.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateBitrateT @CustomType.Setter public Builder bitrateUnit(@Nullable String bitrateUnit) { + this.bitrateUnit = bitrateUnit; return this; } @CustomType.Setter public Builder bitrateValue(@Nullable Double bitrateValue) { + this.bitrateValue = bitrateValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateThresholdTable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateThresholdTable.java index 5a6133ac44c..50c73eeb1f8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateThresholdTable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateThresholdTable.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLimitBitRateThreshol @CustomType.Setter public Builder thresholdUnit(@Nullable String thresholdUnit) { + this.thresholdUnit = thresholdUnit; return this; } @CustomType.Setter public Builder thresholdValue(@Nullable Integer thresholdValue) { + this.thresholdValue = thresholdValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom.java index 4b940c25aa1..5eb24bbe2d4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorLogCustom defaults) @CustomType.Setter public Builder customLogField(@Nullable String customLogField) { + this.customLogField = customLogField; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logCustomLogField(@Nullable Boolean logCustomLogField) { + this.logCustomLogField = logCustomLogField; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMPulse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMPulse.java index 02cc4776429..92ee4daee99 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMPulse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMPulse.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMPulse defaults) { @CustomType.Setter public Builder apiKey(@Nullable String apiKey) { + this.apiKey = apiKey; return this; } @CustomType.Setter public Builder bufferSize(@Nullable String bufferSize) { + this.bufferSize = bufferSize; return this; } @CustomType.Setter public Builder configOverride(@Nullable String configOverride) { + this.configOverride = configOverride; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder loaderVersion(@Nullable String loaderVersion) { + this.loaderVersion = loaderVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requirePci(@Nullable Boolean requirePci) { + this.requirePci = requirePci; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder titleOptional(@Nullable String titleOptional) { + this.titleOptional = titleOptional; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalization.java index 9577de220bf..386080d363b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalization.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorManifestPersonalizat @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hlsEnableDebugHeaders(@Nullable Boolean hlsEnableDebugHeaders) { + this.hlsEnableDebugHeaders = hlsEnableDebugHeaders; return this; } @CustomType.Setter public Builder hlsEnabled(@Nullable Boolean hlsEnabled) { + this.hlsEnabled = hlsEnabled; return this; } @CustomType.Setter public Builder hlsFilterInBitrateRanges(@Nullable String hlsFilterInBitrateRanges) { + this.hlsFilterInBitrateRanges = hlsFilterInBitrateRanges; return this; } @CustomType.Setter public Builder hlsFilterInBitrates(@Nullable String hlsFilterInBitrates) { + this.hlsFilterInBitrates = hlsFilterInBitrates; return this; } @CustomType.Setter public Builder hlsMode(@Nullable String hlsMode) { + this.hlsMode = hlsMode; return this; } @CustomType.Setter public Builder hlsPreferredBitrate(@Nullable String hlsPreferredBitrate) { + this.hlsPreferredBitrate = hlsPreferredBitrate; return this; } @CustomType.Setter public Builder hlsQueryParamEnabled(@Nullable Boolean hlsQueryParamEnabled) { + this.hlsQueryParamEnabled = hlsQueryParamEnabled; return this; } @CustomType.Setter public Builder hlsQueryParamSecretKey(@Nullable String hlsQueryParamSecretKey) { + this.hlsQueryParamSecretKey = hlsQueryParamSecretKey; return this; } @CustomType.Setter public Builder hlsQueryParamTransitionKey(@Nullable String hlsQueryParamTransitionKey) { + this.hlsQueryParamTransitionKey = hlsQueryParamTransitionKey; return this; } @CustomType.Setter public Builder hlsShowAdvanced(@Nullable Boolean hlsShowAdvanced) { + this.hlsShowAdvanced = hlsShowAdvanced; return this; } @CustomType.Setter public Builder hlsTitle(@Nullable String hlsTitle) { + this.hlsTitle = hlsTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting.java index 1cfbf230c43..1f118f6a32e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorManifestRerouting de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder partner(@Nullable String partner) { + this.partner = partner; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder username(@Nullable String username) { + this.username = username; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush.java index 3c0b90d648b..948389318fb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorManualServerPush def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serverpushlists(@Nullable List serverpushlists) { + this.serverpushlists = serverpushlists; return this; } @@ -69,11 +71,13 @@ public Builder serverpushlists(String... serverpushlists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration.java index b2d6e36b267..4cd620c6a38 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMediaAcceleration de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQuicOptout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQuicOptout.java index bae7f92979b..7f9024ca997 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQuicOptout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQuicOptout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMediaAccelerationQui @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder optout(@Nullable String optout) { + this.optout = optout; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient.java index 5e2d21ad661..a40def28c88 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMediaClient defaults @CustomType.Setter public Builder beaconId(@Nullable String beaconId) { + this.beaconId = beaconId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useHybridHttpUdp(@Nullable Boolean useHybridHttpUdp) { + this.useHybridHttpUdp = useHybridHttpUdp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOptimization.java index b3ba5f68d15..3fdf9121dd0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMediaFileRetrievalOp @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover.java index 7c45a624ee2..5d81585e028 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover.java @@ -357,116 +357,139 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMediaOriginFailover @CustomType.Setter public Builder cacheErrorResponse(@Nullable Boolean cacheErrorResponse) { + this.cacheErrorResponse = cacheErrorResponse; return this; } @CustomType.Setter public Builder cacheWindow(@Nullable String cacheWindow) { + this.cacheWindow = cacheWindow; return this; } @CustomType.Setter public Builder clientResponseCode(@Nullable String clientResponseCode) { + this.clientResponseCode = clientResponseCode; return this; } @CustomType.Setter public Builder detectObjectUnavailable(@Nullable Boolean detectObjectUnavailable) { + this.detectObjectUnavailable = detectObjectUnavailable; return this; } @CustomType.Setter public Builder detectObjectUnavailableTitle(@Nullable String detectObjectUnavailableTitle) { + this.detectObjectUnavailableTitle = detectObjectUnavailableTitle; return this; } @CustomType.Setter public Builder detectOriginUnavailable(@Nullable Boolean detectOriginUnavailable) { + this.detectOriginUnavailable = detectOriginUnavailable; return this; } @CustomType.Setter public Builder detectOriginUnavailableTitle(@Nullable String detectOriginUnavailableTitle) { + this.detectOriginUnavailableTitle = detectOriginUnavailableTitle; return this; } @CustomType.Setter public Builder detectOriginUnresponsive(@Nullable Boolean detectOriginUnresponsive) { + this.detectOriginUnresponsive = detectOriginUnresponsive; return this; } @CustomType.Setter public Builder detectOriginUnresponsiveTitle(@Nullable String detectOriginUnresponsiveTitle) { + this.detectOriginUnresponsiveTitle = detectOriginUnresponsiveTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectUnavailableAlternateHost(@Nullable String objectUnavailableAlternateHost) { + this.objectUnavailableAlternateHost = objectUnavailableAlternateHost; return this; } @CustomType.Setter public Builder objectUnavailableBackupHost(@Nullable String objectUnavailableBackupHost) { + this.objectUnavailableBackupHost = objectUnavailableBackupHost; return this; } @CustomType.Setter public Builder objectUnavailableBlacklistOriginIp(@Nullable Boolean objectUnavailableBlacklistOriginIp) { + this.objectUnavailableBlacklistOriginIp = objectUnavailableBlacklistOriginIp; return this; } @CustomType.Setter public Builder objectUnavailableBlacklistWindow(@Nullable String objectUnavailableBlacklistWindow) { + this.objectUnavailableBlacklistWindow = objectUnavailableBlacklistWindow; return this; } @CustomType.Setter public Builder objectUnavailableChangeProtocol(@Nullable Boolean objectUnavailableChangeProtocol) { + this.objectUnavailableChangeProtocol = objectUnavailableChangeProtocol; return this; } @CustomType.Setter public Builder objectUnavailableDetectionLevel(@Nullable String objectUnavailableDetectionLevel) { + this.objectUnavailableDetectionLevel = objectUnavailableDetectionLevel; return this; } @CustomType.Setter public Builder objectUnavailableIncludeQueryString(@Nullable Boolean objectUnavailableIncludeQueryString) { + this.objectUnavailableIncludeQueryString = objectUnavailableIncludeQueryString; return this; } @CustomType.Setter public Builder objectUnavailableModifiedPath(@Nullable String objectUnavailableModifiedPath) { + this.objectUnavailableModifiedPath = objectUnavailableModifiedPath; return this; } @CustomType.Setter public Builder objectUnavailableModifyRequestPath(@Nullable Boolean objectUnavailableModifyRequestPath) { + this.objectUnavailableModifyRequestPath = objectUnavailableModifyRequestPath; return this; } @CustomType.Setter public Builder objectUnavailableProtocol(@Nullable String objectUnavailableProtocol) { + this.objectUnavailableProtocol = objectUnavailableProtocol; return this; } @CustomType.Setter public Builder objectUnavailableRecovery(@Nullable String objectUnavailableRecovery) { + this.objectUnavailableRecovery = objectUnavailableRecovery; return this; } @CustomType.Setter public Builder objectUnavailableRedirectMethod(@Nullable Integer objectUnavailableRedirectMethod) { + this.objectUnavailableRedirectMethod = objectUnavailableRedirectMethod; return this; } @CustomType.Setter public Builder objectUnavailableResponseCodes(@Nullable List objectUnavailableResponseCodes) { + this.objectUnavailableResponseCodes = objectUnavailableResponseCodes; return this; } @@ -475,71 +498,85 @@ public Builder objectUnavailableResponseCodes(String... objectUnavailableRespons } @CustomType.Setter public Builder objectUnavailableRetryLimit(@Nullable String objectUnavailableRetryLimit) { + this.objectUnavailableRetryLimit = objectUnavailableRetryLimit; return this; } @CustomType.Setter public Builder originUnavailableAlternateHost(@Nullable String originUnavailableAlternateHost) { + this.originUnavailableAlternateHost = originUnavailableAlternateHost; return this; } @CustomType.Setter public Builder originUnavailableBackupHost(@Nullable String originUnavailableBackupHost) { + this.originUnavailableBackupHost = originUnavailableBackupHost; return this; } @CustomType.Setter public Builder originUnavailableBlacklistOriginIp(@Nullable Boolean originUnavailableBlacklistOriginIp) { + this.originUnavailableBlacklistOriginIp = originUnavailableBlacklistOriginIp; return this; } @CustomType.Setter public Builder originUnavailableBlacklistWindow(@Nullable String originUnavailableBlacklistWindow) { + this.originUnavailableBlacklistWindow = originUnavailableBlacklistWindow; return this; } @CustomType.Setter public Builder originUnavailableChangeProtocol(@Nullable Boolean originUnavailableChangeProtocol) { + this.originUnavailableChangeProtocol = originUnavailableChangeProtocol; return this; } @CustomType.Setter public Builder originUnavailableDetectionLevel(@Nullable String originUnavailableDetectionLevel) { + this.originUnavailableDetectionLevel = originUnavailableDetectionLevel; return this; } @CustomType.Setter public Builder originUnavailableIncludeQueryString(@Nullable Boolean originUnavailableIncludeQueryString) { + this.originUnavailableIncludeQueryString = originUnavailableIncludeQueryString; return this; } @CustomType.Setter public Builder originUnavailableModifiedPath(@Nullable String originUnavailableModifiedPath) { + this.originUnavailableModifiedPath = originUnavailableModifiedPath; return this; } @CustomType.Setter public Builder originUnavailableModifyRequestPath(@Nullable Boolean originUnavailableModifyRequestPath) { + this.originUnavailableModifyRequestPath = originUnavailableModifyRequestPath; return this; } @CustomType.Setter public Builder originUnavailableProtocol(@Nullable String originUnavailableProtocol) { + this.originUnavailableProtocol = originUnavailableProtocol; return this; } @CustomType.Setter public Builder originUnavailableRecovery(@Nullable String originUnavailableRecovery) { + this.originUnavailableRecovery = originUnavailableRecovery; return this; } @CustomType.Setter public Builder originUnavailableRedirectMethod(@Nullable Integer originUnavailableRedirectMethod) { + this.originUnavailableRedirectMethod = originUnavailableRedirectMethod; return this; } @CustomType.Setter public Builder originUnavailableResponseCodes(@Nullable List originUnavailableResponseCodes) { + this.originUnavailableResponseCodes = originUnavailableResponseCodes; return this; } @@ -548,86 +585,103 @@ public Builder originUnavailableResponseCodes(String... originUnavailableRespons } @CustomType.Setter public Builder originUnavailableRetryLimit(@Nullable String originUnavailableRetryLimit) { + this.originUnavailableRetryLimit = originUnavailableRetryLimit; return this; } @CustomType.Setter public Builder originUnresponsiveAlternateHost(@Nullable String originUnresponsiveAlternateHost) { + this.originUnresponsiveAlternateHost = originUnresponsiveAlternateHost; return this; } @CustomType.Setter public Builder originUnresponsiveBackupHost(@Nullable String originUnresponsiveBackupHost) { + this.originUnresponsiveBackupHost = originUnresponsiveBackupHost; return this; } @CustomType.Setter public Builder originUnresponsiveBlacklistOriginIp(@Nullable Boolean originUnresponsiveBlacklistOriginIp) { + this.originUnresponsiveBlacklistOriginIp = originUnresponsiveBlacklistOriginIp; return this; } @CustomType.Setter public Builder originUnresponsiveBlacklistWindow(@Nullable String originUnresponsiveBlacklistWindow) { + this.originUnresponsiveBlacklistWindow = originUnresponsiveBlacklistWindow; return this; } @CustomType.Setter public Builder originUnresponsiveChangeProtocol(@Nullable Boolean originUnresponsiveChangeProtocol) { + this.originUnresponsiveChangeProtocol = originUnresponsiveChangeProtocol; return this; } @CustomType.Setter public Builder originUnresponsiveDetectionLevel(@Nullable String originUnresponsiveDetectionLevel) { + this.originUnresponsiveDetectionLevel = originUnresponsiveDetectionLevel; return this; } @CustomType.Setter public Builder originUnresponsiveIncludeQueryString(@Nullable Boolean originUnresponsiveIncludeQueryString) { + this.originUnresponsiveIncludeQueryString = originUnresponsiveIncludeQueryString; return this; } @CustomType.Setter public Builder originUnresponsiveModifiedPath(@Nullable String originUnresponsiveModifiedPath) { + this.originUnresponsiveModifiedPath = originUnresponsiveModifiedPath; return this; } @CustomType.Setter public Builder originUnresponsiveModifyRequestPath(@Nullable Boolean originUnresponsiveModifyRequestPath) { + this.originUnresponsiveModifyRequestPath = originUnresponsiveModifyRequestPath; return this; } @CustomType.Setter public Builder originUnresponsiveProtocol(@Nullable String originUnresponsiveProtocol) { + this.originUnresponsiveProtocol = originUnresponsiveProtocol; return this; } @CustomType.Setter public Builder originUnresponsiveRecovery(@Nullable String originUnresponsiveRecovery) { + this.originUnresponsiveRecovery = originUnresponsiveRecovery; return this; } @CustomType.Setter public Builder originUnresponsiveRedirectMethod(@Nullable Integer originUnresponsiveRedirectMethod) { + this.originUnresponsiveRedirectMethod = originUnresponsiveRedirectMethod; return this; } @CustomType.Setter public Builder originUnresponsiveRetryLimit(@Nullable String originUnresponsiveRetryLimit) { + this.originUnresponsiveRetryLimit = originUnresponsiveRetryLimit; return this; } @CustomType.Setter public Builder otherOptions(@Nullable String otherOptions) { + this.otherOptions = otherOptions; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching.java index cb6b47e2543..3c7a6d2974f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMetadataCaching defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance.java index fb6b780af19..554752ec9f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorMobileSdkPerformance @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder secondaryMultipathToOrigin(@Nullable Boolean secondaryMultipathToOrigin) { + this.secondaryMultipathToOrigin = secondaryMultipathToOrigin; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRequestHeader.java index 0d83f097dbd..f19904bbffd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRequestHeader.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingReques @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder standardPassHeaderName(@Nullable String standardPassHeaderName) { + this.standardPassHeaderName = standardPassHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingResponseHeader.java index e654d556506..16c674bd5d3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingResponseHeader.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorModifyIncomingRespon @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder standardPassHeaderName(@Nullable String standardPassHeaderName) { + this.standardPassHeaderName = standardPassHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRequestHeader.java index fb6753dfa0b..de7bae2d673 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRequestHeader.java @@ -115,71 +115,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingReques @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder regexHeaderMatch(@Nullable String regexHeaderMatch) { + this.regexHeaderMatch = regexHeaderMatch; return this; } @CustomType.Setter public Builder regexHeaderReplace(@Nullable String regexHeaderReplace) { + this.regexHeaderReplace = regexHeaderReplace; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingResponseHeader.java index 5c43f3fa6f9..2234e65837e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingResponseHeader.java @@ -115,71 +115,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorModifyOutgoingRespon @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder regexHeaderMatch(@Nullable String regexHeaderMatch) { + this.regexHeaderMatch = regexHeaderMatch; return this; } @CustomType.Setter public Builder regexHeaderReplace(@Nullable String regexHeaderReplace) { + this.regexHeaderReplace = regexHeaderReplace; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader.java index b49b2813710..20c08ba9d05 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorModifyViaHeader defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modificationOption(@Nullable String modificationOption) { + this.modificationOption = modificationOption; return this; } @CustomType.Setter public Builder renameHeaderTo(@Nullable String renameHeaderTo) { + this.renameHeaderTo = renameHeaderTo; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOrigin.java index 5b2d7002f64..7a69f48fee4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOrigin.java @@ -264,16 +264,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOrigin defaults) { @CustomType.Setter public Builder cacheKeyHostname(@Nullable String cacheKeyHostname) { + this.cacheKeyHostname = cacheKeyHostname; return this; } @CustomType.Setter public Builder compress(@Nullable Boolean compress) { + this.compress = compress; return this; } @CustomType.Setter public Builder customCertificateAuthorities(@Nullable List customCertificateAuthorities) { + this.customCertificateAuthorities = customCertificateAuthorities; return this; } @@ -282,6 +285,7 @@ public Builder customCertificateAuthorities(GetPropertyRulesBuilderRulesV2023010 } @CustomType.Setter public Builder customCertificates(@Nullable List customCertificates) { + this.customCertificates = customCertificates; return this; } @@ -290,11 +294,13 @@ public Builder customCertificates(GetPropertyRulesBuilderRulesV20230105BehaviorO } @CustomType.Setter public Builder customForwardHostHeader(@Nullable String customForwardHostHeader) { + this.customForwardHostHeader = customForwardHostHeader; return this; } @CustomType.Setter public Builder customValidCnValues(@Nullable List customValidCnValues) { + this.customValidCnValues = customValidCnValues; return this; } @@ -303,131 +309,157 @@ public Builder customValidCnValues(String... customValidCnValues) { } @CustomType.Setter public Builder enableTrueClientIp(@Nullable Boolean enableTrueClientIp) { + this.enableTrueClientIp = enableTrueClientIp; return this; } @CustomType.Setter public Builder forwardHostHeader(@Nullable String forwardHostHeader) { + this.forwardHostHeader = forwardHostHeader; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder httpPort(@Nullable Integer httpPort) { + this.httpPort = httpPort; return this; } @CustomType.Setter public Builder httpsPort(@Nullable Integer httpsPort) { + this.httpsPort = httpsPort; return this; } @CustomType.Setter public Builder ipVersion(@Nullable String ipVersion) { + this.ipVersion = ipVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mslorigin(@Nullable String mslorigin) { + this.mslorigin = mslorigin; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder originCertificate(@Nullable String originCertificate) { + this.originCertificate = originCertificate; return this; } @CustomType.Setter public Builder originCertsToHonor(@Nullable String originCertsToHonor) { + this.originCertsToHonor = originCertsToHonor; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder originSni(@Nullable Boolean originSni) { + this.originSni = originSni; return this; } @CustomType.Setter public Builder originType(@Nullable String originType) { + this.originType = originType; return this; } @CustomType.Setter public Builder ports(@Nullable String ports) { + this.ports = ports; return this; } @CustomType.Setter public Builder saasCnameEnabled(@Nullable Boolean saasCnameEnabled) { + this.saasCnameEnabled = saasCnameEnabled; return this; } @CustomType.Setter public Builder saasCnameLevel(@Nullable Integer saasCnameLevel) { + this.saasCnameLevel = saasCnameLevel; return this; } @CustomType.Setter public Builder saasCookie(@Nullable String saasCookie) { + this.saasCookie = saasCookie; return this; } @CustomType.Setter public Builder saasQueryString(@Nullable String saasQueryString) { + this.saasQueryString = saasQueryString; return this; } @CustomType.Setter public Builder saasRegex(@Nullable String saasRegex) { + this.saasRegex = saasRegex; return this; } @CustomType.Setter public Builder saasReplace(@Nullable String saasReplace) { + this.saasReplace = saasReplace; return this; } @CustomType.Setter public Builder saasSuffix(@Nullable String saasSuffix) { + this.saasSuffix = saasSuffix; return this; } @CustomType.Setter public Builder saasType(@Nullable String saasType) { + this.saasType = saasType; return this; } @CustomType.Setter public Builder secondHostname(@Nullable String secondHostname) { + this.secondHostname = secondHostname; return this; } @CustomType.Setter public Builder secondHostnameEnabled(@Nullable Boolean secondHostnameEnabled) { + this.secondHostnameEnabled = secondHostnameEnabled; return this; } @CustomType.Setter public Builder standardCertificateAuthorities(@Nullable List standardCertificateAuthorities) { + this.standardCertificateAuthorities = standardCertificateAuthorities; return this; } @@ -436,31 +468,37 @@ public Builder standardCertificateAuthorities(String... standardCertificateAutho } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trueClientIpClientSetting(@Nullable Boolean trueClientIpClientSetting) { + this.trueClientIpClientSetting = trueClientIpClientSetting; return this; } @CustomType.Setter public Builder trueClientIpHeader(@Nullable String trueClientIpHeader) { + this.trueClientIpHeader = trueClientIpHeader; return this; } @CustomType.Setter public Builder useUniqueCacheKey(@Nullable Boolean useUniqueCacheKey) { + this.useUniqueCacheKey = useUniqueCacheKey; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder verificationMode(@Nullable String verificationMode) { + this.verificationMode = verificationMode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristics.java index 90c1bb47c47..623be03c1b0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristics.java @@ -183,61 +183,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristic @CustomType.Setter public Builder accessKeyEncryptedStorage(@Nullable Boolean accessKeyEncryptedStorage) { + this.accessKeyEncryptedStorage = accessKeyEncryptedStorage; return this; } @CustomType.Setter public Builder adcTitle(@Nullable String adcTitle) { + this.adcTitle = adcTitle; return this; } @CustomType.Setter public Builder authenticationMethod(@Nullable String authenticationMethod) { + this.authenticationMethod = authenticationMethod; return this; } @CustomType.Setter public Builder authenticationMethodTitle(@Nullable String authenticationMethodTitle) { + this.authenticationMethodTitle = authenticationMethodTitle; return this; } @CustomType.Setter public Builder awsAccessKeyId(@Nullable String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; return this; } @CustomType.Setter public Builder awsAccessKeyVersionGuid(@Nullable String awsAccessKeyVersionGuid) { + this.awsAccessKeyVersionGuid = awsAccessKeyVersionGuid; return this; } @CustomType.Setter public Builder awsHost(@Nullable String awsHost) { + this.awsHost = awsHost; return this; } @CustomType.Setter public Builder awsRegion(@Nullable String awsRegion) { + this.awsRegion = awsRegion; return this; } @CustomType.Setter public Builder awsSecretAccessKey(@Nullable String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; return this; } @CustomType.Setter public Builder awsService(@Nullable String awsService) { + this.awsService = awsService; return this; } @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder customSignStrings(@Nullable List customSignStrings) { + this.customSignStrings = customSignStrings; return this; } @@ -246,66 +258,79 @@ public Builder customSignStrings(String... customSignStrings) { } @CustomType.Setter public Builder directConnectGeo(@Nullable String directConnectGeo) { + this.directConnectGeo = directConnectGeo; return this; } @CustomType.Setter public Builder encodingVersion(@Nullable Integer encodingVersion) { + this.encodingVersion = encodingVersion; return this; } @CustomType.Setter public Builder gcsAccessKeyVersionGuid(@Nullable String gcsAccessKeyVersionGuid) { + this.gcsAccessKeyVersionGuid = gcsAccessKeyVersionGuid; return this; } @CustomType.Setter public Builder gcsHmacKeyAccessId(@Nullable String gcsHmacKeyAccessId) { + this.gcsHmacKeyAccessId = gcsHmacKeyAccessId; return this; } @CustomType.Setter public Builder gcsHmacKeySecret(@Nullable String gcsHmacKeySecret) { + this.gcsHmacKeySecret = gcsHmacKeySecret; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mslkey(@Nullable String mslkey) { + this.mslkey = mslkey; return this; } @CustomType.Setter public Builder mslname(@Nullable String mslname) { + this.mslname = mslname; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder secretKey(@Nullable String secretKey) { + this.secretKey = secretKey; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useCustomSignString(@Nullable Boolean useCustomSignString) { + this.useCustomSignString = useCustomSignString; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristicsWsd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristicsWsd.java index 82684dc2e57..31cae6a1c47 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristicsWsd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristicsWsd.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCharacteristic @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder origintype(@Nullable String origintype) { + this.origintype = origintype; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificate.java index 2688cdf81e5..a6aeb85e7d0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificate.java @@ -137,71 +137,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder canBeCa(@Nullable Boolean canBeCa) { + this.canBeCa = canBeCa; return this; } @CustomType.Setter public Builder canBeLeaf(@Nullable Boolean canBeLeaf) { + this.canBeLeaf = canBeLeaf; return this; } @CustomType.Setter public Builder issuerRdns(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateIssuerRdns issuerRdns) { + this.issuerRdns = issuerRdns; return this; } @CustomType.Setter public Builder notAfter(@Nullable Integer notAfter) { + this.notAfter = notAfter; return this; } @CustomType.Setter public Builder notBefore(@Nullable Integer notBefore) { + this.notBefore = notBefore; return this; } @CustomType.Setter public Builder pemEncodedCert(@Nullable String pemEncodedCert) { + this.pemEncodedCert = pemEncodedCert; return this; } @CustomType.Setter public Builder publicKey(@Nullable String publicKey) { + this.publicKey = publicKey; return this; } @CustomType.Setter public Builder publicKeyAlgorithm(@Nullable String publicKeyAlgorithm) { + this.publicKeyAlgorithm = publicKeyAlgorithm; return this; } @CustomType.Setter public Builder publicKeyFormat(@Nullable String publicKeyFormat) { + this.publicKeyFormat = publicKeyFormat; return this; } @CustomType.Setter public Builder selfSigned(@Nullable Boolean selfSigned) { + this.selfSigned = selfSigned; return this; } @CustomType.Setter public Builder serialNumber(@Nullable String serialNumber) { + this.serialNumber = serialNumber; return this; } @CustomType.Setter public Builder sha1Fingerprint(@Nullable String sha1Fingerprint) { + this.sha1Fingerprint = sha1Fingerprint; return this; } @CustomType.Setter public Builder sigAlgName(@Nullable String sigAlgName) { + this.sigAlgName = sigAlgName; return this; } @CustomType.Setter public Builder subjectAlternativeNames(@Nullable List subjectAlternativeNames) { + this.subjectAlternativeNames = subjectAlternativeNames; return this; } @@ -210,16 +224,19 @@ public Builder subjectAlternativeNames(String... subjectAlternativeNames) { } @CustomType.Setter public Builder subjectCn(@Nullable String subjectCn) { + this.subjectCn = subjectCn; return this; } @CustomType.Setter public Builder subjectRdns(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateSubjectRdns subjectRdns) { + this.subjectRdns = subjectRdns; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthority.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthority.java index 3cf9dd56d30..b92b29a834d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthority.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthority.java @@ -137,71 +137,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder canBeCa(@Nullable Boolean canBeCa) { + this.canBeCa = canBeCa; return this; } @CustomType.Setter public Builder canBeLeaf(@Nullable Boolean canBeLeaf) { + this.canBeLeaf = canBeLeaf; return this; } @CustomType.Setter public Builder issuerRdns(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthorityIssuerRdns issuerRdns) { + this.issuerRdns = issuerRdns; return this; } @CustomType.Setter public Builder notAfter(@Nullable Integer notAfter) { + this.notAfter = notAfter; return this; } @CustomType.Setter public Builder notBefore(@Nullable Integer notBefore) { + this.notBefore = notBefore; return this; } @CustomType.Setter public Builder pemEncodedCert(@Nullable String pemEncodedCert) { + this.pemEncodedCert = pemEncodedCert; return this; } @CustomType.Setter public Builder publicKey(@Nullable String publicKey) { + this.publicKey = publicKey; return this; } @CustomType.Setter public Builder publicKeyAlgorithm(@Nullable String publicKeyAlgorithm) { + this.publicKeyAlgorithm = publicKeyAlgorithm; return this; } @CustomType.Setter public Builder publicKeyFormat(@Nullable String publicKeyFormat) { + this.publicKeyFormat = publicKeyFormat; return this; } @CustomType.Setter public Builder selfSigned(@Nullable Boolean selfSigned) { + this.selfSigned = selfSigned; return this; } @CustomType.Setter public Builder serialNumber(@Nullable String serialNumber) { + this.serialNumber = serialNumber; return this; } @CustomType.Setter public Builder sha1Fingerprint(@Nullable String sha1Fingerprint) { + this.sha1Fingerprint = sha1Fingerprint; return this; } @CustomType.Setter public Builder sigAlgName(@Nullable String sigAlgName) { + this.sigAlgName = sigAlgName; return this; } @CustomType.Setter public Builder subjectAlternativeNames(@Nullable List subjectAlternativeNames) { + this.subjectAlternativeNames = subjectAlternativeNames; return this; } @@ -210,16 +224,19 @@ public Builder subjectAlternativeNames(String... subjectAlternativeNames) { } @CustomType.Setter public Builder subjectCn(@Nullable String subjectCn) { + this.subjectCn = subjectCn; return this; } @CustomType.Setter public Builder subjectRdns(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthoritySubjectRdns subjectRdns) { + this.subjectRdns = subjectRdns; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthorityIssuerRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthorityIssuerRdns.java index 52f2ede2173..72e56a22d02 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthorityIssuerRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthorityIssuerRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthoritySubjectRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthoritySubjectRdns.java index 1fdc03f44c3..472b86dc4e3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthoritySubjectRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateAuthoritySubjectRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateIssuerRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateIssuerRdns.java index e1b13f7fd2b..2ea7f7de1b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateIssuerRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateIssuerRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateSubjectRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateSubjectRdns.java index ecf2603fb98..0d03a6dbcfc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateSubjectRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertificateSubjectRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryMethod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryMethod.java index 12ffe6b6cc0..963e9862fba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryMethod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryMethod.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecover @CustomType.Setter public Builder customStatusCode(@Nullable String customStatusCode) { + this.customStatusCode = customStatusCode; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder recoveryMethod(@Nullable String recoveryMethod) { + this.recoveryMethod = recoveryMethod; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryPolicy.java index 5110a2f6347..018d97db9f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecoveryPolicy.java @@ -237,41 +237,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginFailureRecover @CustomType.Setter public Builder binaryEquivalentContent(@Nullable Boolean binaryEquivalentContent) { + this.binaryEquivalentContent = binaryEquivalentContent; return this; } @CustomType.Setter public Builder enableIpAvoidance(@Nullable Boolean enableIpAvoidance) { + this.enableIpAvoidance = enableIpAvoidance; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder ipAvoidanceErrorThreshold(@Nullable Integer ipAvoidanceErrorThreshold) { + this.ipAvoidanceErrorThreshold = ipAvoidanceErrorThreshold; return this; } @CustomType.Setter public Builder ipAvoidanceRetryInterval(@Nullable Integer ipAvoidanceRetryInterval) { + this.ipAvoidanceRetryInterval = ipAvoidanceRetryInterval; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder monitorOriginResponsiveness(@Nullable Boolean monitorOriginResponsiveness) { + this.monitorOriginResponsiveness = monitorOriginResponsiveness; return this; } @CustomType.Setter public Builder monitorResponseCodes1s(@Nullable List monitorResponseCodes1s) { + this.monitorResponseCodes1s = monitorResponseCodes1s; return this; } @@ -280,6 +288,7 @@ public Builder monitorResponseCodes1s(String... monitorResponseCodes1s) { } @CustomType.Setter public Builder monitorResponseCodes2s(@Nullable List monitorResponseCodes2s) { + this.monitorResponseCodes2s = monitorResponseCodes2s; return this; } @@ -288,6 +297,7 @@ public Builder monitorResponseCodes2s(String... monitorResponseCodes2s) { } @CustomType.Setter public Builder monitorResponseCodes3s(@Nullable List monitorResponseCodes3s) { + this.monitorResponseCodes3s = monitorResponseCodes3s; return this; } @@ -296,121 +306,145 @@ public Builder monitorResponseCodes3s(String... monitorResponseCodes3s) { } @CustomType.Setter public Builder monitorStatusCodes1(@Nullable Boolean monitorStatusCodes1) { + this.monitorStatusCodes1 = monitorStatusCodes1; return this; } @CustomType.Setter public Builder monitorStatusCodes1EnableRecovery(@Nullable Boolean monitorStatusCodes1EnableRecovery) { + this.monitorStatusCodes1EnableRecovery = monitorStatusCodes1EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes1EnableRetry(@Nullable Boolean monitorStatusCodes1EnableRetry) { + this.monitorStatusCodes1EnableRetry = monitorStatusCodes1EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes1RecoveryConfigName(@Nullable String monitorStatusCodes1RecoveryConfigName) { + this.monitorStatusCodes1RecoveryConfigName = monitorStatusCodes1RecoveryConfigName; return this; } @CustomType.Setter public Builder monitorStatusCodes2(@Nullable Boolean monitorStatusCodes2) { + this.monitorStatusCodes2 = monitorStatusCodes2; return this; } @CustomType.Setter public Builder monitorStatusCodes2EnableRecovery(@Nullable Boolean monitorStatusCodes2EnableRecovery) { + this.monitorStatusCodes2EnableRecovery = monitorStatusCodes2EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes2EnableRetry(@Nullable Boolean monitorStatusCodes2EnableRetry) { + this.monitorStatusCodes2EnableRetry = monitorStatusCodes2EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes2RecoveryConfigName(@Nullable String monitorStatusCodes2RecoveryConfigName) { + this.monitorStatusCodes2RecoveryConfigName = monitorStatusCodes2RecoveryConfigName; return this; } @CustomType.Setter public Builder monitorStatusCodes3(@Nullable Boolean monitorStatusCodes3) { + this.monitorStatusCodes3 = monitorStatusCodes3; return this; } @CustomType.Setter public Builder monitorStatusCodes3EnableRecovery(@Nullable Boolean monitorStatusCodes3EnableRecovery) { + this.monitorStatusCodes3EnableRecovery = monitorStatusCodes3EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes3EnableRetry(@Nullable Boolean monitorStatusCodes3EnableRetry) { + this.monitorStatusCodes3EnableRetry = monitorStatusCodes3EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes3RecoveryConfigName(@Nullable String monitorStatusCodes3RecoveryConfigName) { + this.monitorStatusCodes3RecoveryConfigName = monitorStatusCodes3RecoveryConfigName; return this; } @CustomType.Setter public Builder originResponsivenessCustomTimeout(@Nullable Integer originResponsivenessCustomTimeout) { + this.originResponsivenessCustomTimeout = originResponsivenessCustomTimeout; return this; } @CustomType.Setter public Builder originResponsivenessEnableRecovery(@Nullable Boolean originResponsivenessEnableRecovery) { + this.originResponsivenessEnableRecovery = originResponsivenessEnableRecovery; return this; } @CustomType.Setter public Builder originResponsivenessEnableRetry(@Nullable Boolean originResponsivenessEnableRetry) { + this.originResponsivenessEnableRetry = originResponsivenessEnableRetry; return this; } @CustomType.Setter public Builder originResponsivenessMonitoring(@Nullable String originResponsivenessMonitoring) { + this.originResponsivenessMonitoring = originResponsivenessMonitoring; return this; } @CustomType.Setter public Builder originResponsivenessRecoveryConfigName(@Nullable String originResponsivenessRecoveryConfigName) { + this.originResponsivenessRecoveryConfigName = originResponsivenessRecoveryConfigName; return this; } @CustomType.Setter public Builder originResponsivenessTimeout(@Nullable String originResponsivenessTimeout) { + this.originResponsivenessTimeout = originResponsivenessTimeout; return this; } @CustomType.Setter public Builder statusCodeMonitoring1(@Nullable String statusCodeMonitoring1) { + this.statusCodeMonitoring1 = statusCodeMonitoring1; return this; } @CustomType.Setter public Builder statusCodeMonitoring2(@Nullable String statusCodeMonitoring2) { + this.statusCodeMonitoring2 = statusCodeMonitoring2; return this; } @CustomType.Setter public Builder statusCodeMonitoring3(@Nullable String statusCodeMonitoring3) { + this.statusCodeMonitoring3 = statusCodeMonitoring3; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tuningParameters(@Nullable String tuningParameters) { + this.tuningParameters = tuningParameters; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl.java index 296272a9cbc..57e7f23b218 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginIpAcl defaults @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage.java index 832b8cdc553..ee4894cf693 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorOriginNetStorage def @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConnection.java index 738a46a1113..c4c1276e80d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConnection.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPersistentClientConn @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection.java index 4f47bb75e52..41ff690058d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPersistentConnection @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiableInformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiableInformation.java index e166ecb92c4..2cb5a77f741 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiableInformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiableInformation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPersonallyIdentifiab @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease.java index e1c97a20f4a..f8d0e4337c9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease.java @@ -124,26 +124,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPhasedRelease defaul @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverDuration(@Nullable Integer failoverDuration) { + this.failoverDuration = failoverDuration; return this; } @CustomType.Setter public Builder failoverEnabled(@Nullable Boolean failoverEnabled) { + this.failoverEnabled = failoverEnabled; return this; } @CustomType.Setter public Builder failoverResponseCodes(@Nullable List failoverResponseCodes) { + this.failoverResponseCodes = failoverResponseCodes; return this; } @@ -152,51 +157,61 @@ public Builder failoverResponseCodes(String... failoverResponseCodes) { } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder populationCookieType(@Nullable String populationCookieType) { + this.populationCookieType = populationCookieType; return this; } @CustomType.Setter public Builder populationDuration(@Nullable String populationDuration) { + this.populationDuration = populationDuration; return this; } @CustomType.Setter public Builder populationExpirationDate(@Nullable String populationExpirationDate) { + this.populationExpirationDate = populationExpirationDate; return this; } @CustomType.Setter public Builder populationRefresh(@Nullable Boolean populationRefresh) { + this.populationRefresh = populationRefresh; return this; } @CustomType.Setter public Builder populationTitle(@Nullable String populationTitle) { + this.populationTitle = populationTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudletPolicy.java index c3ac2a900e4..9580097e66b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPhasedReleaseCloudle @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect.java index b92aba18c90..bb7006faf79 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPreconnect defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preconnectlists(@Nullable List preconnectlists) { + this.preconnectlists = preconnectlists; return this; } @@ -69,11 +71,13 @@ public Builder preconnectlists(String... preconnectlists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDelivery.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDelivery.java index 12441f5b415..27162c17459 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDelivery.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDelivery.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPredictiveContentDel @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetching.java index 9b7156d5489..78f8097cfb5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetching.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPredictivePrefetchin @CustomType.Setter public Builder accuracyTarget(@Nullable String accuracyTarget) { + this.accuracyTarget = accuracyTarget; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch.java index 8bc113aa62a..990f3b0e0f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPrefetch defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable.java index abbe0868903..3b760486ab6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPrefetchable default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache.java index f7fe358fc6d..a93fe176f68 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorPrefreshCache defaul @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefreshval(@Nullable Integer prefreshval) { + this.prefreshval = prefreshval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuality.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuality.java index 837e7650e13..f941b666e97 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuality.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuality.java @@ -146,96 +146,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorQuality defaults) { @CustomType.Setter public Builder audienceSettings(@Nullable String audienceSettings) { + this.audienceSettings = audienceSettings; return this; } @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentSettings(@Nullable String contentSettings) { + this.contentSettings = contentSettings; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder deliveryFormat(@Nullable String deliveryFormat) { + this.deliveryFormat = deliveryFormat; return this; } @CustomType.Setter public Builder deliveryType(@Nullable String deliveryType) { + this.deliveryType = deliveryType; return this; } @CustomType.Setter public Builder downloadType(@Nullable String downloadType) { + this.downloadType = downloadType; return this; } @CustomType.Setter public Builder endUserLocation(@Nullable String endUserLocation) { + this.endUserLocation = endUserLocation; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumConcurrentUsers(@Nullable String maximumConcurrentUsers) { + this.maximumConcurrentUsers = maximumConcurrentUsers; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder optimizeFor(@Nullable String optimizeFor) { + this.optimizeFor = optimizeFor; return this; } @CustomType.Setter public Builder originSettings(@Nullable String originSettings) { + this.originSettings = originSettings; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder refreshRate(@Nullable String refreshRate) { + this.refreshRate = refreshRate; return this; } @CustomType.Setter public Builder segmentDuration(@Nullable Integer segmentDuration) { + this.segmentDuration = segmentDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta.java index 03e2cde806c..df97edc654f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorQuicBeta defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder quicOfferPercentage(@Nullable Integer quicOfferPercentage) { + this.quicOfferPercentage = quicOfferPercentage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek.java index cd1c2de1e8b..cc88a58907e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRandomSeek defaults) @CustomType.Setter public Builder flv(@Nullable Boolean flv) { + this.flv = flv; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder mp4(@Nullable Boolean mp4) { + this.mp4 = mp4; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRapid.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRapid.java index 95c6d249c8e..5e495024afb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRapid.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRapid.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRapid defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout.java index feeaaf1a6d5..cdf165ec8dc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorReadTimeout defaults @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting.java index 47390fee9e8..bc304617472 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRealTimeReporting de @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder beaconSamplingPercentage(@Nullable Double beaconSamplingPercentage) { + this.beaconSamplingPercentage = beaconSamplingPercentage; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring.java index e1914ae3046..9aaeded29d9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRealUserMonitoring d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirect.java index 3b43f179b75..900ebcfb610 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirect.java @@ -128,81 +128,97 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRedirect defaults) { @CustomType.Setter public Builder destinationHostname(@Nullable String destinationHostname) { + this.destinationHostname = destinationHostname; return this; } @CustomType.Setter public Builder destinationHostnameOther(@Nullable String destinationHostnameOther) { + this.destinationHostnameOther = destinationHostnameOther; return this; } @CustomType.Setter public Builder destinationHostnameSibling(@Nullable String destinationHostnameSibling) { + this.destinationHostnameSibling = destinationHostnameSibling; return this; } @CustomType.Setter public Builder destinationHostnameSubdomain(@Nullable String destinationHostnameSubdomain) { + this.destinationHostnameSubdomain = destinationHostnameSubdomain; return this; } @CustomType.Setter public Builder destinationPath(@Nullable String destinationPath) { + this.destinationPath = destinationPath; return this; } @CustomType.Setter public Builder destinationPathOther(@Nullable String destinationPathOther) { + this.destinationPathOther = destinationPathOther; return this; } @CustomType.Setter public Builder destinationPathPrefix(@Nullable String destinationPathPrefix) { + this.destinationPathPrefix = destinationPathPrefix; return this; } @CustomType.Setter public Builder destinationPathSuffix(@Nullable String destinationPathSuffix) { + this.destinationPathSuffix = destinationPathSuffix; return this; } @CustomType.Setter public Builder destinationPathSuffixStatus(@Nullable String destinationPathSuffixStatus) { + this.destinationPathSuffixStatus = destinationPathSuffixStatus; return this; } @CustomType.Setter public Builder destinationProtocol(@Nullable String destinationProtocol) { + this.destinationProtocol = destinationProtocol; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mobileDefaultChoice(@Nullable String mobileDefaultChoice) { + this.mobileDefaultChoice = mobileDefaultChoice; return this; } @CustomType.Setter public Builder queryString(@Nullable String queryString) { + this.queryString = queryString; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus.java index 8412bd3de31..02ab74c1fa3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRedirectplus default @CustomType.Setter public Builder destination(@Nullable String destination) { + this.destination = destination; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking.java index 70dda05d6f0..2c951d570cc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking.java @@ -74,11 +74,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRefererChecking defa @CustomType.Setter public Builder allowChildren(@Nullable Boolean allowChildren) { + this.allowChildren = allowChildren; return this; } @CustomType.Setter public Builder domains(@Nullable List domains) { + this.domains = domains; return this; } @@ -87,26 +89,31 @@ public Builder domains(String... domains) { } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder strict(@Nullable Boolean strict) { + this.strict = strict; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter.java index c540f099715..ed48f8c98e8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRemoveQueryParameter @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -69,11 +71,13 @@ public Builder parameters(String... parameters) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary.java index f65e5c1ca2c..ceab386b609 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRemoveVary defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReport.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReport.java index 5b7d61f5bbd..420103c2ebc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReport.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReport.java @@ -110,6 +110,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorReport defaults) { @CustomType.Setter public Builder cookies(@Nullable List cookies) { + this.cookies = cookies; return this; } @@ -118,61 +119,73 @@ public Builder cookies(String... cookies) { } @CustomType.Setter public Builder customLogField(@Nullable String customLogField) { + this.customLogField = customLogField; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logAcceptLanguage(@Nullable Boolean logAcceptLanguage) { + this.logAcceptLanguage = logAcceptLanguage; return this; } @CustomType.Setter public Builder logCookies(@Nullable String logCookies) { + this.logCookies = logCookies; return this; } @CustomType.Setter public Builder logCustomLogField(@Nullable Boolean logCustomLogField) { + this.logCustomLogField = logCustomLogField; return this; } @CustomType.Setter public Builder logEdgeIp(@Nullable Boolean logEdgeIp) { + this.logEdgeIp = logEdgeIp; return this; } @CustomType.Setter public Builder logHost(@Nullable Boolean logHost) { + this.logHost = logHost; return this; } @CustomType.Setter public Builder logReferer(@Nullable Boolean logReferer) { + this.logReferer = logReferer; return this; } @CustomType.Setter public Builder logUserAgent(@Nullable Boolean logUserAgent) { + this.logUserAgent = logUserAgent; return this; } @CustomType.Setter public Builder logXForwardedFor(@Nullable Boolean logXForwardedFor) { + this.logXForwardedFor = logXForwardedFor; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl.java index b61baad10ed..89673015b37 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl.java @@ -100,56 +100,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRequestControl defau @CustomType.Setter public Builder branded403File(@Nullable String branded403File) { + this.branded403File = branded403File; return this; } @CustomType.Setter public Builder branded403StatusCode(@Nullable Integer branded403StatusCode) { + this.branded403StatusCode = branded403StatusCode; return this; } @CustomType.Setter public Builder branded403Url(@Nullable String branded403Url) { + this.branded403Url = branded403Url; return this; } @CustomType.Setter public Builder brandedDenyCacheTtl(@Nullable Integer brandedDenyCacheTtl) { + this.brandedDenyCacheTtl = brandedDenyCacheTtl; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enableBranded403(@Nullable Boolean enableBranded403) { + this.enableBranded403 = enableBranded403; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudletPolicy.java index ffb91374042..62d01f1ba52 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetStorage.java index ccf912038f2..4506b583dbb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRequestControlNetSto @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker.java index 6e25f5a18b5..87b6054ef7a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRequestTypeMarker de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requestType(@Nullable String requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer.java index 33e7c35d4d9..55fe1eff339 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizer de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExtendedCompatibility.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExtendedCompatibility.java index d8e26fe0f12..1c65e8091ff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExtendedCompatibility.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExtendedCompatibility.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorResourceOptimizerExt @CustomType.Setter public Builder enableAllFeatures(@Nullable Boolean enableAllFeatures) { + this.enableAllFeatures = enableAllFeatures; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode.java index 52086daa1bf..02ee8818e63 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorResponseCode default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder override206(@Nullable Boolean override206) { + this.override206 = override206; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie.java index cfc0a15b8ce..f90fb4272e2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorResponseCookie defau @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder defaultDomain(@Nullable Boolean defaultDomain) { + this.defaultDomain = defaultDomain; return this; } @CustomType.Setter public Builder defaultPath(@Nullable Boolean defaultPath) { + this.defaultPath = defaultPath; return this; } @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder duration(@Nullable String duration) { + this.duration = duration; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder expirationDate(@Nullable String expirationDate) { + this.expirationDate = expirationDate; return this; } @CustomType.Setter public Builder expires(@Nullable String expires) { + this.expires = expires; return this; } @CustomType.Setter public Builder format(@Nullable String format) { + this.format = format; return this; } @CustomType.Setter public Builder httpOnly(@Nullable Boolean httpOnly) { + this.httpOnly = httpOnly; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } @CustomType.Setter public Builder sameSite(@Nullable String sameSite) { + this.sameSite = sameSite; return this; } @CustomType.Setter public Builder secure(@Nullable Boolean secure) { + this.secure = secure; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCaching.java index 9debcff6ab4..4235cbe8817 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCaching.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRestrictObjectCachin @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus.java index a82c6febc3e..9b9d6d252fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorReturnCacheStatus de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseHeaderName(@Nullable String responseHeaderName) { + this.responseHeaderName = responseHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl.java index 78e57e677d6..5b4f3e79f07 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRewriteUrl defaults) @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder keepQueryString(@Nullable Boolean keepQueryString) { + this.keepQueryString = keepQueryString; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder match(@Nullable String match) { + this.match = match; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder matchRegex(@Nullable String matchRegex) { + this.matchRegex = matchRegex; return this; } @CustomType.Setter public Builder targetPath(@Nullable String targetPath) { + this.targetPath = targetPath; return this; } @CustomType.Setter public Builder targetPathPrepend(@Nullable String targetPathPrepend) { + this.targetPathPrepend = targetPathPrepend; return this; } @CustomType.Setter public Builder targetRegex(@Nullable String targetRegex) { + this.targetRegex = targetRegex; return this; } @CustomType.Setter public Builder targetUrl(@Nullable String targetUrl) { + this.targetUrl = targetUrl; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom.java index 7f21e88f9d6..2cd02b95053 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorRumCustom defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder rumGroupName(@Nullable String rumGroupName) { + this.rumGroupName = rumGroupName; return this; } @CustomType.Setter public Builder rumSampleRate(@Nullable Integer rumSampleRate) { + this.rumSampleRate = rumSampleRate; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions.java index 0dd2c4ff6e4..33341058f2b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions.java @@ -194,136 +194,163 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSaasDefinitions defa @CustomType.Setter public Builder applicationAction(@Nullable String applicationAction) { + this.applicationAction = applicationAction; return this; } @CustomType.Setter public Builder applicationCnameEnabled(@Nullable Boolean applicationCnameEnabled) { + this.applicationCnameEnabled = applicationCnameEnabled; return this; } @CustomType.Setter public Builder applicationCnameLevel(@Nullable Integer applicationCnameLevel) { + this.applicationCnameLevel = applicationCnameLevel; return this; } @CustomType.Setter public Builder applicationCookie(@Nullable String applicationCookie) { + this.applicationCookie = applicationCookie; return this; } @CustomType.Setter public Builder applicationQueryString(@Nullable String applicationQueryString) { + this.applicationQueryString = applicationQueryString; return this; } @CustomType.Setter public Builder applicationRegex(@Nullable String applicationRegex) { + this.applicationRegex = applicationRegex; return this; } @CustomType.Setter public Builder applicationReplace(@Nullable String applicationReplace) { + this.applicationReplace = applicationReplace; return this; } @CustomType.Setter public Builder applicationTitle(@Nullable String applicationTitle) { + this.applicationTitle = applicationTitle; return this; } @CustomType.Setter public Builder customerAction(@Nullable String customerAction) { + this.customerAction = customerAction; return this; } @CustomType.Setter public Builder customerCnameEnabled(@Nullable Boolean customerCnameEnabled) { + this.customerCnameEnabled = customerCnameEnabled; return this; } @CustomType.Setter public Builder customerCnameLevel(@Nullable Integer customerCnameLevel) { + this.customerCnameLevel = customerCnameLevel; return this; } @CustomType.Setter public Builder customerCookie(@Nullable String customerCookie) { + this.customerCookie = customerCookie; return this; } @CustomType.Setter public Builder customerQueryString(@Nullable String customerQueryString) { + this.customerQueryString = customerQueryString; return this; } @CustomType.Setter public Builder customerRegex(@Nullable String customerRegex) { + this.customerRegex = customerRegex; return this; } @CustomType.Setter public Builder customerReplace(@Nullable String customerReplace) { + this.customerReplace = customerReplace; return this; } @CustomType.Setter public Builder customerTitle(@Nullable String customerTitle) { + this.customerTitle = customerTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder usersAction(@Nullable String usersAction) { + this.usersAction = usersAction; return this; } @CustomType.Setter public Builder usersCnameEnabled(@Nullable Boolean usersCnameEnabled) { + this.usersCnameEnabled = usersCnameEnabled; return this; } @CustomType.Setter public Builder usersCnameLevel(@Nullable Integer usersCnameLevel) { + this.usersCnameLevel = usersCnameLevel; return this; } @CustomType.Setter public Builder usersCookie(@Nullable String usersCookie) { + this.usersCookie = usersCookie; return this; } @CustomType.Setter public Builder usersQueryString(@Nullable String usersQueryString) { + this.usersQueryString = usersQueryString; return this; } @CustomType.Setter public Builder usersRegex(@Nullable String usersRegex) { + this.usersRegex = usersRegex; return this; } @CustomType.Setter public Builder usersReplace(@Nullable String usersReplace) { + this.usersReplace = usersReplace; return this; } @CustomType.Setter public Builder usersTitle(@Nullable String usersTitle) { + this.usersTitle = usersTitle; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudClient.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudClient.java index 4185f562808..578d024124d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudClient.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudClient.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCl @CustomType.Setter public Builder allowOverrideOriginCacheKey(@Nullable Boolean allowOverrideOriginCacheKey) { + this.allowOverrideOriginCacheKey = allowOverrideOriginCacheKey; return this; } @CustomType.Setter public Builder connectorId(@Nullable String connectorId) { + this.connectorId = connectorId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originHostHeader(@Nullable String originHostHeader) { + this.originHostHeader = originHostHeader; return this; } @CustomType.Setter public Builder originType(@Nullable String originType) { + this.originType = originType; return this; } @CustomType.Setter public Builder sf3cOriginHost(@Nullable String sf3cOriginHost) { + this.sf3cOriginHost = sf3cOriginHost; return this; } @CustomType.Setter public Builder sf3cOriginHostHeader(@Nullable String sf3cOriginHostHeader) { + this.sf3cOriginHostHeader = sf3cOriginHostHeader; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProvider.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProvider.java index 49e6ae27693..fc534073751 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProvider.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProvider.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCl @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProviderHostHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProviderHostHeader.java index 8d6ba1ada09..1c1bb8377a4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProviderHostHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCloudProviderHostHeader.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSalesForceCommerceCl @CustomType.Setter public Builder hostHeaderSource(@Nullable String hostHeaderSource) { + this.hostHeaderSource = hostHeaderSource; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessing.java index ade9c936767..a4407ca1b66 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessing.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSavePostDcaProcessin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation.java index 7fb342d6ce4..a4447640951 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorScheduleInvalidation @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder refreshMethod(@Nullable String refreshMethod) { + this.refreshMethod = refreshMethod; return this; } @CustomType.Setter public Builder repeat(@Nullable Boolean repeat) { + this.repeat = repeat; return this; } @CustomType.Setter public Builder repeatInterval(@Nullable String repeatInterval) { + this.repeatInterval = repeatInterval; return this; } @CustomType.Setter public Builder start(@Nullable String start) { + this.start = start; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement.java index d5c2b3e32df..314a1926a0f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorScriptManagement def @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serviceworker(@Nullable String serviceworker) { + this.serviceworker = serviceworker; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timestamp(@Nullable Integer timestamp) { + this.timestamp = timestamp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProtection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProtection.java index 364dc5f6b7c..69a7f1ba3c2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProtection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProtection.java @@ -177,36 +177,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedContentProt @CustomType.Setter public Builder acl(@Nullable Boolean acl) { + this.acl = acl; return this; } @CustomType.Setter public Builder dashMediaEncryption(@Nullable Boolean dashMediaEncryption) { + this.dashMediaEncryption = dashMediaEncryption; return this; } @CustomType.Setter public Builder dataPayload(@Nullable Boolean dataPayload) { + this.dataPayload = dataPayload; return this; } @CustomType.Setter public Builder enableTokenInUri(@Nullable Boolean enableTokenInUri) { + this.enableTokenInUri = enableTokenInUri; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder fieldCarryOver(@Nullable String fieldCarryOver) { + this.fieldCarryOver = fieldCarryOver; return this; } @CustomType.Setter public Builder headerForSalts(@Nullable List headerForSalts) { + this.headerForSalts = headerForSalts; return this; } @@ -215,6 +222,7 @@ public Builder headerForSalts(String... headerForSalts) { } @CustomType.Setter public Builder hlsMasterManifestFiles(@Nullable List hlsMasterManifestFiles) { + this.hlsMasterManifestFiles = hlsMasterManifestFiles; return this; } @@ -223,81 +231,97 @@ public Builder hlsMasterManifestFiles(String... hlsMasterManifestFiles) { } @CustomType.Setter public Builder hlsMediaEncryption(@Nullable Boolean hlsMediaEncryption) { + this.hlsMediaEncryption = hlsMediaEncryption; return this; } @CustomType.Setter public Builder ip(@Nullable Boolean ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder key(@Nullable String key) { + this.key = key; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaEncryptionTitle(@Nullable String mediaEncryptionTitle) { + this.mediaEncryptionTitle = mediaEncryptionTitle; return this; } @CustomType.Setter public Builder revokedListId(@Nullable Integer revokedListId) { + this.revokedListId = revokedListId; return this; } @CustomType.Setter public Builder salt(@Nullable String salt) { + this.salt = salt; return this; } @CustomType.Setter public Builder sessionId(@Nullable Boolean sessionId) { + this.sessionId = sessionId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenAuthHlsTitle(@Nullable String tokenAuthHlsTitle) { + this.tokenAuthHlsTitle = tokenAuthHlsTitle; return this; } @CustomType.Setter public Builder tokenAuthenticationTitle(@Nullable String tokenAuthenticationTitle) { + this.tokenAuthenticationTitle = tokenAuthenticationTitle; return this; } @CustomType.Setter public Builder tokenRevocationEnabled(@Nullable Boolean tokenRevocationEnabled) { + this.tokenRevocationEnabled = tokenRevocationEnabled; return this; } @CustomType.Setter public Builder tokenRevocationTitle(@Nullable String tokenRevocationTitle) { + this.tokenRevocationTitle = tokenRevocationTitle; return this; } @CustomType.Setter public Builder transitionKey(@Nullable String transitionKey) { + this.transitionKey = transitionKey; return this; } @CustomType.Setter public Builder useAdvanced(@Nullable Boolean useAdvanced) { + this.useAdvanced = useAdvanced; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimization.java index c9b8279461c..1f1f63dae51 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimization.java @@ -97,56 +97,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaOptimi @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder dvrType(@Nullable String dvrType) { + this.dvrType = dvrType; return this; } @CustomType.Setter public Builder dvrWindow(@Nullable String dvrWindow) { + this.dvrWindow = dvrWindow; return this; } @CustomType.Setter public Builder enableUllStreaming(@Nullable Boolean enableUllStreaming) { + this.enableUllStreaming = enableUllStreaming; return this; } @CustomType.Setter public Builder endTime(@Nullable String endTime) { + this.endTime = endTime; return this; } @CustomType.Setter public Builder liveType(@Nullable String liveType) { + this.liveType = liveType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder showAdvanced(@Nullable Boolean showAdvanced) { + this.showAdvanced = showAdvanced; return this; } @CustomType.Setter public Builder startTime(@Nullable String startTime) { + this.startTime = startTime; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStreamingPrefetch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStreamingPrefetch.java index 07cfc761b2d..368c46d9971 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStreamingPrefetch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStreamingPrefetch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSegmentedMediaStream @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable.java index dfff8f79ad6..c2698c937c6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable.java @@ -314,236 +314,283 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSetVariable defaults @CustomType.Setter public Builder algorithm(@Nullable String algorithm) { + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder certificateFieldName(@Nullable String certificateFieldName) { + this.certificateFieldName = certificateFieldName; return this; } @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder deviceProfile(@Nullable String deviceProfile) { + this.deviceProfile = deviceProfile; return this; } @CustomType.Setter public Builder encryptionKey(@Nullable String encryptionKey) { + this.encryptionKey = encryptionKey; return this; } @CustomType.Setter public Builder encryptionMode(@Nullable String encryptionMode) { + this.encryptionMode = encryptionMode; return this; } @CustomType.Setter public Builder endIndex(@Nullable String endIndex) { + this.endIndex = endIndex; return this; } @CustomType.Setter public Builder exceptChars(@Nullable String exceptChars) { + this.exceptChars = exceptChars; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder forceChars(@Nullable String forceChars) { + this.forceChars = forceChars; return this; } @CustomType.Setter public Builder formatString(@Nullable String formatString) { + this.formatString = formatString; return this; } @CustomType.Setter public Builder generator(@Nullable String generator) { + this.generator = generator; return this; } @CustomType.Setter public Builder globalSubstitution(@Nullable Boolean globalSubstitution) { + this.globalSubstitution = globalSubstitution; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder hmacAlgorithm(@Nullable String hmacAlgorithm) { + this.hmacAlgorithm = hmacAlgorithm; return this; } @CustomType.Setter public Builder hmacKey(@Nullable String hmacKey) { + this.hmacKey = hmacKey; return this; } @CustomType.Setter public Builder initializationVector(@Nullable String initializationVector) { + this.initializationVector = initializationVector; return this; } @CustomType.Setter public Builder ipVersion(@Nullable String ipVersion) { + this.ipVersion = ipVersion; return this; } @CustomType.Setter public Builder ipv4Prefix(@Nullable Integer ipv4Prefix) { + this.ipv4Prefix = ipv4Prefix; return this; } @CustomType.Setter public Builder ipv6Prefix(@Nullable Integer ipv6Prefix) { + this.ipv6Prefix = ipv6Prefix; return this; } @CustomType.Setter public Builder locationId(@Nullable String locationId) { + this.locationId = locationId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder max(@Nullable Integer max) { + this.max = max; return this; } @CustomType.Setter public Builder maxRandomNumber(@Nullable String maxRandomNumber) { + this.maxRandomNumber = maxRandomNumber; return this; } @CustomType.Setter public Builder min(@Nullable Integer min) { + this.min = min; return this; } @CustomType.Setter public Builder minRandomNumber(@Nullable String minRandomNumber) { + this.minRandomNumber = minRandomNumber; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder numberOfBytes(@Nullable Integer numberOfBytes) { + this.numberOfBytes = numberOfBytes; return this; } @CustomType.Setter public Builder operandOne(@Nullable String operandOne) { + this.operandOne = operandOne; return this; } @CustomType.Setter public Builder paramName(@Nullable String paramName) { + this.paramName = paramName; return this; } @CustomType.Setter public Builder pathComponentOffset(@Nullable String pathComponentOffset) { + this.pathComponentOffset = pathComponentOffset; return this; } @CustomType.Setter public Builder prependBytes(@Nullable Boolean prependBytes) { + this.prependBytes = prependBytes; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder replacement(@Nullable String replacement) { + this.replacement = replacement; return this; } @CustomType.Setter public Builder responseHeaderName(@Nullable String responseHeaderName) { + this.responseHeaderName = responseHeaderName; return this; } @CustomType.Setter public Builder separator(@Nullable String separator) { + this.separator = separator; return this; } @CustomType.Setter public Builder setCookieName(@Nullable String setCookieName) { + this.setCookieName = setCookieName; return this; } @CustomType.Setter public Builder startIndex(@Nullable String startIndex) { + this.startIndex = startIndex; return this; } @CustomType.Setter public Builder subString(@Nullable String subString) { + this.subString = subString; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder transform(@Nullable String transform) { + this.transform = transform; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder valueSource(@Nullable String valueSource) { + this.valueSource = valueSource; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } @CustomType.Setter public Builder variableValue(@Nullable String variableValue) { + this.variableValue = variableValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorShutr.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorShutr.java index a5772fae2b9..49b640ce164 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorShutr.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorShutr.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorShutr defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder status(@Nullable String status) { + this.status = status; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode.java index 6cc7151fc4f..9a7a6a2eec0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSimulateErrorCode de @CustomType.Setter public Builder errorType(@Nullable String errorType) { + this.errorType = errorType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield.java index b7d531f15f4..55505078dc6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSiteShield defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder nossmap(@Nullable String nossmap) { + this.nossmap = nossmap; return this; } @CustomType.Setter public Builder ssmap(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap ssmap) { + this.ssmap = ssmap; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap.java index 9a34d1214df..cce52f15163 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSiteShieldSsmap defa @CustomType.Setter public Builder chinaCdnMap(@Nullable String chinaCdnMap) { + this.chinaCdnMap = chinaCdnMap; return this; } @CustomType.Setter public Builder hasMixedHosts(@Nullable Boolean hasMixedHosts) { + this.hasMixedHosts = hasMixedHosts; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder src(@Nullable String src) { + this.src = src; return this; } @CustomType.Setter public Builder srmap(@Nullable String srmap) { + this.srmap = srmap; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration.java index 507affed2dd..c18d8574c52 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration.java @@ -116,71 +116,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration @CustomType.Setter public Builder allowHttpsDowngrade(@Nullable Boolean allowHttpsDowngrade) { + this.allowHttpsDowngrade = allowHttpsDowngrade; return this; } @CustomType.Setter public Builder allowHttpsUpgrade(@Nullable Boolean allowHttpsUpgrade) { + this.allowHttpsUpgrade = allowHttpsUpgrade; return this; } @CustomType.Setter public Builder cacheSharingDuration(@Nullable Integer cacheSharingDuration) { + this.cacheSharingDuration = cacheSharingDuration; return this; } @CustomType.Setter public Builder cacheSharingStartTime(@Nullable String cacheSharingStartTime) { + this.cacheSharingStartTime = cacheSharingStartTime; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isCertificateSniOnly(@Nullable Boolean isCertificateSniOnly) { + this.isCertificateSniOnly = isCertificateSniOnly; return this; } @CustomType.Setter public Builder isTieredDistributionUsed(@Nullable Boolean isTieredDistributionUsed) { + this.isTieredDistributionUsed = isTieredDistributionUsed; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder migrationDuration(@Nullable Integer migrationDuration) { + this.migrationDuration = migrationDuration; return this; } @CustomType.Setter public Builder migrationFrom(@Nullable String migrationFrom) { + this.migrationFrom = migrationFrom; return this; } @CustomType.Setter public Builder migrationStartTime(@Nullable String migrationStartTime) { + this.migrationStartTime = migrationStartTime; return this; } @CustomType.Setter public Builder tdLocation(@Nullable String tdLocation) { + this.tdLocation = tdLocation; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigrationOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigrationOverride.java index 0c96e9b294a..0beee9f04ad 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigrationOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigrationOverride.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorStandardTlsMigration @CustomType.Setter public Builder info(@Nullable String info) { + this.info = info; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing.java index 0736defc66d..cc11ed44656 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorStrictHeaderParsing @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder strictMode(@Nullable Boolean strictMode) { + this.strictMode = strictMode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder validMode(@Nullable Boolean validMode) { + this.validMode = validMode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer.java index 959170ddc51..3f0e7a2b1ba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer.java @@ -163,111 +163,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSubCustomer defaults @CustomType.Setter public Builder accessControl(@Nullable Boolean accessControl) { + this.accessControl = accessControl; return this; } @CustomType.Setter public Builder cacheKey(@Nullable Boolean cacheKey) { + this.cacheKey = cacheKey; return this; } @CustomType.Setter public Builder caching(@Nullable Boolean caching) { + this.caching = caching; return this; } @CustomType.Setter public Builder contentCompressor(@Nullable Boolean contentCompressor) { + this.contentCompressor = contentCompressor; return this; } @CustomType.Setter public Builder dynamicWebContent(@Nullable Boolean dynamicWebContent) { + this.dynamicWebContent = dynamicWebContent; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder geoLocation(@Nullable Boolean geoLocation) { + this.geoLocation = geoLocation; return this; } @CustomType.Setter public Builder ip(@Nullable Boolean ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder largeFileDelivery(@Nullable Boolean largeFileDelivery) { + this.largeFileDelivery = largeFileDelivery; return this; } @CustomType.Setter public Builder liveVideoDelivery(@Nullable Boolean liveVideoDelivery) { + this.liveVideoDelivery = liveVideoDelivery; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modifyPath(@Nullable Boolean modifyPath) { + this.modifyPath = modifyPath; return this; } @CustomType.Setter public Builder onDemandVideoDelivery(@Nullable Boolean onDemandVideoDelivery) { + this.onDemandVideoDelivery = onDemandVideoDelivery; return this; } @CustomType.Setter public Builder origin(@Nullable Boolean origin) { + this.origin = origin; return this; } @CustomType.Setter public Builder partnerDomainSuffix(@Nullable String partnerDomainSuffix) { + this.partnerDomainSuffix = partnerDomainSuffix; return this; } @CustomType.Setter public Builder referrer(@Nullable Boolean referrer) { + this.referrer = referrer; return this; } @CustomType.Setter public Builder refreshContent(@Nullable Boolean refreshContent) { + this.refreshContent = refreshContent; return this; } @CustomType.Setter public Builder siteFailover(@Nullable Boolean siteFailover) { + this.siteFailover = siteFailover; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenAuthorization(@Nullable Boolean tokenAuthorization) { + this.tokenAuthorization = tokenAuthorization; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder webApplicationFirewall(@Nullable Boolean webApplicationFirewall) { + this.webApplicationFirewall = webApplicationFirewall; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute.java index 2ecc8e08865..1769e32ecc4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorSureRoute defaults) @CustomType.Setter public Builder allowFcmParentOverride(@Nullable Boolean allowFcmParentOverride) { + this.allowFcmParentOverride = allowFcmParentOverride; return this; } @CustomType.Setter public Builder customMap(@Nullable String customMap) { + this.customMap = customMap; return this; } @CustomType.Setter public Builder customStatKey(@Nullable String customStatKey) { + this.customStatKey = customStatKey; return this; } @CustomType.Setter public Builder enableCustomKey(@Nullable Boolean enableCustomKey) { + this.enableCustomKey = enableCustomKey; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forceSslForward(@Nullable Boolean forceSslForward) { + this.forceSslForward = forceSslForward; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder raceStatTtl(@Nullable String raceStatTtl) { + this.raceStatTtl = raceStatTtl; return this; } @CustomType.Setter public Builder srDownloadLinkTitle(@Nullable String srDownloadLinkTitle) { + this.srDownloadLinkTitle = srDownloadLinkTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder testObjectUrl(@Nullable String testObjectUrl) { + this.testObjectUrl = testObjectUrl; return this; } @CustomType.Setter public Builder toHost(@Nullable String toHost) { + this.toHost = toHost; return this; } @CustomType.Setter public Builder toHostStatus(@Nullable String toHostStatus) { + this.toHostStatus = toHostStatus; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization.java index 1973f337d5e..282f5cc87f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTcpOptimization defa @CustomType.Setter public Builder display(@Nullable String display) { + this.display = display; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf.java index a582d8b359b..c19a8542dae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTeaLeaf defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder ibmCustomerId(@Nullable Integer ibmCustomerId) { + this.ibmCustomerId = ibmCustomerId; return this; } @CustomType.Setter public Builder limitToDynamic(@Nullable Boolean limitToDynamic) { + this.limitToDynamic = limitToDynamic; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution.java index a141b857a4f..57ad90d223d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistribution d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tieredDistributionMap(@Nullable String tieredDistributionMap) { + this.tieredDistributionMap = tieredDistributionMap; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAdvanced.java index 40bd03310b2..78e3e564174 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAdvanced.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionAd @CustomType.Setter public Builder allowall(@Nullable Boolean allowall) { + this.allowall = allowall; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder method(@Nullable String method) { + this.method = method; return this; } @CustomType.Setter public Builder policy(@Nullable String policy) { + this.policy = policy; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tieredDistributionMap(@Nullable String tieredDistributionMap) { + this.tieredDistributionMap = tieredDistributionMap; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCustomization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCustomization.java index cb0c2a27be4..fe232e8f351 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCustomization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCustomization.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTieredDistributionCu @CustomType.Setter public Builder cloudwrapperMapMigrationTitle(@Nullable String cloudwrapperMapMigrationTitle) { + this.cloudwrapperMapMigrationTitle = cloudwrapperMapMigrationTitle; return this; } @CustomType.Setter public Builder customMapEnabled(@Nullable Boolean customMapEnabled) { + this.customMapEnabled = customMapEnabled; return this; } @CustomType.Setter public Builder customMapName(@Nullable String customMapName) { + this.customMapName = customMapName; return this; } @CustomType.Setter public Builder hashAlgorithm(@Nullable String hashAlgorithm) { + this.hashAlgorithm = hashAlgorithm; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mapMigrationEnabled(@Nullable Boolean mapMigrationEnabled) { + this.mapMigrationEnabled = mapMigrationEnabled; return this; } @CustomType.Setter public Builder migrationEndDate(@Nullable String migrationEndDate) { + this.migrationEndDate = migrationEndDate; return this; } @CustomType.Setter public Builder migrationStartDate(@Nullable String migrationStartDate) { + this.migrationStartDate = migrationStartDate; return this; } @CustomType.Setter public Builder migrationWithinCwMapsEnabled(@Nullable Boolean migrationWithinCwMapsEnabled) { + this.migrationWithinCwMapsEnabled = migrationWithinCwMapsEnabled; return this; } @CustomType.Setter public Builder serialEnd(@Nullable String serialEnd) { + this.serialEnd = serialEnd; return this; } @CustomType.Setter public Builder serialStart(@Nullable String serialStart) { + this.serialStart = serialStart; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier1Title(@Nullable String tier1Title) { + this.tier1Title = tier1Title; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTimeout.java index 0ea4f34ced7..539af3fc856 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorTimeout defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration.java index 512e785eb10..17145fdc386 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorUidConfiguration def @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder legalText(@Nullable String legalText) { + this.legalText = legalText; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag.java index b4f7ce14829..06132b85a37 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorValidateEntityTag de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken.java index d27b741d3c2..5c65417c80b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebToken d @CustomType.Setter public Builder enableEs256(@Nullable Boolean enableEs256) { + this.enableEs256 = enableEs256; return this; } @CustomType.Setter public Builder enableRs256(@Nullable Boolean enableRs256) { + this.enableRs256 = enableRs256; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder jwt(@Nullable String jwt) { + this.jwt = jwt; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenForDcp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenForDcp.java index dc1d014a8d5..f30c2efb28b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenForDcp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenForDcp.java @@ -133,86 +133,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVerifyJsonWebTokenFo @CustomType.Setter public Builder authorizations(@Nullable String authorizations) { + this.authorizations = authorizations; return this; } @CustomType.Setter public Builder clientId(@Nullable String clientId) { + this.clientId = clientId; return this; } @CustomType.Setter public Builder customHeader(@Nullable Boolean customHeader) { + this.customHeader = customHeader; return this; } @CustomType.Setter public Builder enableEs256(@Nullable Boolean enableEs256) { + this.enableEs256 = enableEs256; return this; } @CustomType.Setter public Builder enableRs256(@Nullable Boolean enableRs256) { + this.enableRs256 = enableRs256; return this; } @CustomType.Setter public Builder extractAuthorizations(@Nullable Boolean extractAuthorizations) { + this.extractAuthorizations = extractAuthorizations; return this; } @CustomType.Setter public Builder extractClientId(@Nullable Boolean extractClientId) { + this.extractClientId = extractClientId; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder extractUserName(@Nullable Boolean extractUserName) { + this.extractUserName = extractUserName; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder jwt(@Nullable String jwt) { + this.jwt = jwt; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder primaryLocation(@Nullable String primaryLocation) { + this.primaryLocation = primaryLocation; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder userName(@Nullable String userName) { + this.userName = userName; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthorization.java index dbd7973416b..88dbe8c4220 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthorization.java @@ -109,66 +109,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVerifyTokenAuthoriza @CustomType.Setter public Builder algorithm(@Nullable String algorithm) { + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder escapeHmacInputs(@Nullable Boolean escapeHmacInputs) { + this.escapeHmacInputs = escapeHmacInputs; return this; } @CustomType.Setter public Builder failureResponse(@Nullable Boolean failureResponse) { + this.failureResponse = failureResponse; return this; } @CustomType.Setter public Builder ignoreQueryString(@Nullable Boolean ignoreQueryString) { + this.ignoreQueryString = ignoreQueryString; return this; } @CustomType.Setter public Builder key(@Nullable String key) { + this.key = key; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locationId(@Nullable String locationId) { + this.locationId = locationId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder salt(@Nullable String salt) { + this.salt = salt; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder transitionKey(@Nullable String transitionKey) { + this.transitionKey = transitionKey; return this; } @CustomType.Setter public Builder useAdvanced(@Nullable Boolean useAdvanced) { + this.useAdvanced = useAdvanced; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom.java index c24ceae9358..7ae9bb53f7f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom.java @@ -105,51 +105,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoom d @CustomType.Setter public Builder accessTitle(@Nullable String accessTitle) { + this.accessTitle = accessTitle; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder customCookieDomain(@Nullable String customCookieDomain) { + this.customCookieDomain = customCookieDomain; return this; } @CustomType.Setter public Builder domainConfig(@Nullable String domainConfig) { + this.domainConfig = domainConfig; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionAutoProlong(@Nullable Boolean sessionAutoProlong) { + this.sessionAutoProlong = sessionAutoProlong; return this; } @CustomType.Setter public Builder sessionDuration(@Nullable Integer sessionDuration) { + this.sessionDuration = sessionDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomAssetsPaths(@Nullable List waitingRoomAssetsPaths) { + this.waitingRoomAssetsPaths = waitingRoomAssetsPaths; return this; } @@ -158,11 +168,13 @@ public Builder waitingRoomAssetsPaths(String... waitingRoomAssetsPaths) { } @CustomType.Setter public Builder waitingRoomPath(@Nullable String waitingRoomPath) { + this.waitingRoomPath = waitingRoomPath; return this; } @CustomType.Setter public Builder waitingRoomTitle(@Nullable String waitingRoomTitle) { + this.waitingRoomTitle = waitingRoomTitle; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWithEdgeWorkers.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWithEdgeWorkers.java index 46c9702d06d..39576084e6b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWithEdgeWorkers.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWithEdgeWorkers.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVirtualWaitingRoomWi @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritization.java index 622d7bd1592..45054d27f9b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritization.java @@ -288,106 +288,127 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder allowedUserCookieAdvanced(@Nullable Boolean allowedUserCookieAdvanced) { + this.allowedUserCookieAdvanced = allowedUserCookieAdvanced; return this; } @CustomType.Setter public Builder allowedUserCookieAutomaticSalt(@Nullable Boolean allowedUserCookieAutomaticSalt) { + this.allowedUserCookieAutomaticSalt = allowedUserCookieAutomaticSalt; return this; } @CustomType.Setter public Builder allowedUserCookieDomain(@Nullable String allowedUserCookieDomain) { + this.allowedUserCookieDomain = allowedUserCookieDomain; return this; } @CustomType.Setter public Builder allowedUserCookieDomainType(@Nullable String allowedUserCookieDomainType) { + this.allowedUserCookieDomainType = allowedUserCookieDomainType; return this; } @CustomType.Setter public Builder allowedUserCookieDuration(@Nullable Integer allowedUserCookieDuration) { + this.allowedUserCookieDuration = allowedUserCookieDuration; return this; } @CustomType.Setter public Builder allowedUserCookieEnabled(@Nullable Boolean allowedUserCookieEnabled) { + this.allowedUserCookieEnabled = allowedUserCookieEnabled; return this; } @CustomType.Setter public Builder allowedUserCookieHttpOnly(@Nullable Boolean allowedUserCookieHttpOnly) { + this.allowedUserCookieHttpOnly = allowedUserCookieHttpOnly; return this; } @CustomType.Setter public Builder allowedUserCookieLabel(@Nullable String allowedUserCookieLabel) { + this.allowedUserCookieLabel = allowedUserCookieLabel; return this; } @CustomType.Setter public Builder allowedUserCookieManagementTitle(@Nullable String allowedUserCookieManagementTitle) { + this.allowedUserCookieManagementTitle = allowedUserCookieManagementTitle; return this; } @CustomType.Setter public Builder allowedUserCookieRefresh(@Nullable Boolean allowedUserCookieRefresh) { + this.allowedUserCookieRefresh = allowedUserCookieRefresh; return this; } @CustomType.Setter public Builder allowedUserCookieSalt(@Nullable String allowedUserCookieSalt) { + this.allowedUserCookieSalt = allowedUserCookieSalt; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder userIdentificationByCookie(@Nullable Boolean userIdentificationByCookie) { + this.userIdentificationByCookie = userIdentificationByCookie; return this; } @CustomType.Setter public Builder userIdentificationByHeaders(@Nullable Boolean userIdentificationByHeaders) { + this.userIdentificationByHeaders = userIdentificationByHeaders; return this; } @CustomType.Setter public Builder userIdentificationByIp(@Nullable Boolean userIdentificationByIp) { + this.userIdentificationByIp = userIdentificationByIp; return this; } @CustomType.Setter public Builder userIdentificationByParams(@Nullable Boolean userIdentificationByParams) { + this.userIdentificationByParams = userIdentificationByParams; return this; } @CustomType.Setter public Builder userIdentificationKeyCookie(@Nullable String userIdentificationKeyCookie) { + this.userIdentificationKeyCookie = userIdentificationKeyCookie; return this; } @CustomType.Setter public Builder userIdentificationKeyHeaders(@Nullable List userIdentificationKeyHeaders) { + this.userIdentificationKeyHeaders = userIdentificationKeyHeaders; return this; } @@ -396,6 +417,7 @@ public Builder userIdentificationKeyHeaders(String... userIdentificationKeyHeade } @CustomType.Setter public Builder userIdentificationKeyParams(@Nullable List userIdentificationKeyParams) { + this.userIdentificationKeyParams = userIdentificationKeyParams; return this; } @@ -404,101 +426,121 @@ public Builder userIdentificationKeyParams(String... userIdentificationKeyParams } @CustomType.Setter public Builder userIdentificationTitle(@Nullable String userIdentificationTitle) { + this.userIdentificationTitle = userIdentificationTitle; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomCacheTtl(@Nullable Integer waitingRoomCacheTtl) { + this.waitingRoomCacheTtl = waitingRoomCacheTtl; return this; } @CustomType.Setter public Builder waitingRoomCookieAdvanced(@Nullable Boolean waitingRoomCookieAdvanced) { + this.waitingRoomCookieAdvanced = waitingRoomCookieAdvanced; return this; } @CustomType.Setter public Builder waitingRoomCookieAutomaticSalt(@Nullable Boolean waitingRoomCookieAutomaticSalt) { + this.waitingRoomCookieAutomaticSalt = waitingRoomCookieAutomaticSalt; return this; } @CustomType.Setter public Builder waitingRoomCookieDomain(@Nullable String waitingRoomCookieDomain) { + this.waitingRoomCookieDomain = waitingRoomCookieDomain; return this; } @CustomType.Setter public Builder waitingRoomCookieDomainType(@Nullable String waitingRoomCookieDomainType) { + this.waitingRoomCookieDomainType = waitingRoomCookieDomainType; return this; } @CustomType.Setter public Builder waitingRoomCookieDuration(@Nullable Integer waitingRoomCookieDuration) { + this.waitingRoomCookieDuration = waitingRoomCookieDuration; return this; } @CustomType.Setter public Builder waitingRoomCookieEnabled(@Nullable Boolean waitingRoomCookieEnabled) { + this.waitingRoomCookieEnabled = waitingRoomCookieEnabled; return this; } @CustomType.Setter public Builder waitingRoomCookieHttpOnly(@Nullable Boolean waitingRoomCookieHttpOnly) { + this.waitingRoomCookieHttpOnly = waitingRoomCookieHttpOnly; return this; } @CustomType.Setter public Builder waitingRoomCookieLabel(@Nullable String waitingRoomCookieLabel) { + this.waitingRoomCookieLabel = waitingRoomCookieLabel; return this; } @CustomType.Setter public Builder waitingRoomCookieManagementTitle(@Nullable String waitingRoomCookieManagementTitle) { + this.waitingRoomCookieManagementTitle = waitingRoomCookieManagementTitle; return this; } @CustomType.Setter public Builder waitingRoomCookieSalt(@Nullable String waitingRoomCookieSalt) { + this.waitingRoomCookieSalt = waitingRoomCookieSalt; return this; } @CustomType.Setter public Builder waitingRoomCookieShareLabel(@Nullable Boolean waitingRoomCookieShareLabel) { + this.waitingRoomCookieShareLabel = waitingRoomCookieShareLabel; return this; } @CustomType.Setter public Builder waitingRoomCpCode(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCode waitingRoomCpCode) { + this.waitingRoomCpCode = waitingRoomCpCode; return this; } @CustomType.Setter public Builder waitingRoomDirectory(@Nullable String waitingRoomDirectory) { + this.waitingRoomDirectory = waitingRoomDirectory; return this; } @CustomType.Setter public Builder waitingRoomManagementTitle(@Nullable String waitingRoomManagementTitle) { + this.waitingRoomManagementTitle = waitingRoomManagementTitle; return this; } @CustomType.Setter public Builder waitingRoomNetStorage(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomNetStorage waitingRoomNetStorage) { + this.waitingRoomNetStorage = waitingRoomNetStorage; return this; } @CustomType.Setter public Builder waitingRoomStatusCode(@Nullable Integer waitingRoomStatusCode) { + this.waitingRoomStatusCode = waitingRoomStatusCode; return this; } @CustomType.Setter public Builder waitingRoomUseCpCode(@Nullable Boolean waitingRoomUseCpCode) { + this.waitingRoomUseCpCode = waitingRoomUseCpCode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationCloudletPolicy.java index b07a06e54bf..176789f983f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifo.java index 1e96adbf978..bdf308c6925 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifo.java @@ -105,51 +105,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder accessTitle(@Nullable String accessTitle) { + this.accessTitle = accessTitle; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder customCookieDomain(@Nullable String customCookieDomain) { + this.customCookieDomain = customCookieDomain; return this; } @CustomType.Setter public Builder domainConfig(@Nullable String domainConfig) { + this.domainConfig = domainConfig; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionAutoProlong(@Nullable Boolean sessionAutoProlong) { + this.sessionAutoProlong = sessionAutoProlong; return this; } @CustomType.Setter public Builder sessionDuration(@Nullable Integer sessionDuration) { + this.sessionDuration = sessionDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomAssetsPaths(@Nullable List waitingRoomAssetsPaths) { + this.waitingRoomAssetsPaths = waitingRoomAssetsPaths; return this; } @@ -158,11 +168,13 @@ public Builder waitingRoomAssetsPaths(String... waitingRoomAssetsPaths) { } @CustomType.Setter public Builder waitingRoomPath(@Nullable String waitingRoomPath) { + this.waitingRoomPath = waitingRoomPath; return this; } @CustomType.Setter public Builder waitingRoomTitle(@Nullable String waitingRoomTitle) { + this.waitingRoomTitle = waitingRoomTitle; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifoStandalone.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifoStandalone.java index c0c60cc6e9e..759e8be66af 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifoStandalone.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationFifoStandalone.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCode.java index 5139c80fb4d..4893f605137 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java index 20fff368df1..65c9f507758 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomNetStorage.java index af91167a852..22ff6d07838 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizationWaitingRoomNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorVisitorPrioritizatio @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking.java index 615c97addab..d85f1eef4e7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorWatermarking default @CustomType.Setter public Builder abVariantLocation(@Nullable String abVariantLocation) { + this.abVariantLocation = abVariantLocation; return this; } @CustomType.Setter public Builder decryptionPassword1(@Nullable String decryptionPassword1) { + this.decryptionPassword1 = decryptionPassword1; return this; } @CustomType.Setter public Builder decryptionPassword2(@Nullable String decryptionPassword2) { + this.decryptionPassword2 = decryptionPassword2; return this; } @CustomType.Setter public Builder decryptionPasswordId1(@Nullable String decryptionPasswordId1) { + this.decryptionPasswordId1 = decryptionPasswordId1; return this; } @CustomType.Setter public Builder decryptionPasswordId2(@Nullable String decryptionPasswordId2) { + this.decryptionPasswordId2 = decryptionPasswordId2; return this; } @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder miscellaneousSettingsTitle(@Nullable String miscellaneousSettingsTitle) { + this.miscellaneousSettingsTitle = miscellaneousSettingsTitle; return this; } @CustomType.Setter public Builder patternDecryptionEnable(@Nullable Boolean patternDecryptionEnable) { + this.patternDecryptionEnable = patternDecryptionEnable; return this; } @CustomType.Setter public Builder patternEncryptionTitle(@Nullable String patternEncryptionTitle) { + this.patternEncryptionTitle = patternEncryptionTitle; return this; } @CustomType.Setter public Builder signatureVerificationEnable(@Nullable Boolean signatureVerificationEnable) { + this.signatureVerificationEnable = signatureVerificationEnable; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenSigningTitle(@Nullable String tokenSigningTitle) { + this.tokenSigningTitle = tokenSigningTitle; return this; } @CustomType.Setter public Builder useOriginalAsA(@Nullable Boolean useOriginalAsA) { + this.useOriginalAsA = useOriginalAsA; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder verificationKeyId1(@Nullable String verificationKeyId1) { + this.verificationKeyId1 = verificationKeyId1; return this; } @CustomType.Setter public Builder verificationKeyId2(@Nullable String verificationKeyId2) { + this.verificationKeyId2 = verificationKeyId2; return this; } @CustomType.Setter public Builder verificationPublicKey1(@Nullable String verificationPublicKey1) { + this.verificationPublicKey1 = verificationPublicKey1; return this; } @CustomType.Setter public Builder verificationPublicKey2(@Nullable String verificationPublicKey2) { + this.verificationPublicKey2 = verificationPublicKey2; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewall.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewall.java index 41628086f3c..954f982369b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewall.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewall.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewa @CustomType.Setter public Builder firewallConfiguration(@Nullable GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewallFirewallConfiguration firewallConfiguration) { + this.firewallConfiguration = firewallConfiguration; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewallFirewallConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewallFirewallConfiguration.java index ec5e789f251..dfd7f7c08e5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewallFirewallConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewallFirewallConfiguration.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorWebApplicationFirewa @CustomType.Setter public Builder configId(@Nullable Integer configId) { + this.configId = configId; return this; } @CustomType.Setter public Builder fileName(@Nullable String fileName) { + this.fileName = fileName; return this; } @CustomType.Setter public Builder productionStatus(@Nullable String productionStatus) { + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder productionVersion(@Nullable Integer productionVersion) { + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingStatus(@Nullable String stagingStatus) { + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder stagingVersion(@Nullable Integer stagingVersion) { + this.stagingVersion = stagingVersion; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets.java index 81a3c91dc52..95d5fea2df7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorWebSockets defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebdav.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebdav.java index 2f1749c11b8..77273c46932 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebdav.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105BehaviorWebdav.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105BehaviorWebdav defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Criterion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Criterion.java index a1367606e64..c44e5adcc03 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Criterion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Criterion.java @@ -337,221 +337,265 @@ public Builder(GetPropertyRulesBuilderRulesV20230105Criterion defaults) { @CustomType.Setter public Builder advancedImMatch(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch advancedImMatch) { + this.advancedImMatch = advancedImMatch; return this; } @CustomType.Setter public Builder bucket(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionBucket bucket) { + this.bucket = bucket; return this; } @CustomType.Setter public Builder cacheability(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionCacheability cacheability) { + this.cacheability = cacheability; return this; } @CustomType.Setter public Builder chinaCdnRegion(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion chinaCdnRegion) { + this.chinaCdnRegion = chinaCdnRegion; return this; } @CustomType.Setter public Builder clientCertificate(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate clientCertificate) { + this.clientCertificate = clientCertificate; return this; } @CustomType.Setter public Builder clientIp(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionClientIp clientIp) { + this.clientIp = clientIp; return this; } @CustomType.Setter public Builder clientIpVersion(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion clientIpVersion) { + this.clientIpVersion = clientIpVersion; return this; } @CustomType.Setter public Builder cloudletsOrigin(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin cloudletsOrigin) { + this.cloudletsOrigin = cloudletsOrigin; return this; } @CustomType.Setter public Builder contentDeliveryNetwork(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetwork contentDeliveryNetwork) { + this.contentDeliveryNetwork = contentDeliveryNetwork; return this; } @CustomType.Setter public Builder contentType(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionContentType contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder deviceCharacteristic(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristic deviceCharacteristic) { + this.deviceCharacteristic = deviceCharacteristic; return this; } @CustomType.Setter public Builder ecmdAuthGroups(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups ecmdAuthGroups) { + this.ecmdAuthGroups = ecmdAuthGroups; return this; } @CustomType.Setter public Builder ecmdAuthScheme(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme ecmdAuthScheme) { + this.ecmdAuthScheme = ecmdAuthScheme; return this; } @CustomType.Setter public Builder ecmdIsAuthenticated(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated ecmdIsAuthenticated) { + this.ecmdIsAuthenticated = ecmdIsAuthenticated; return this; } @CustomType.Setter public Builder ecmdUsername(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername ecmdUsername) { + this.ecmdUsername = ecmdUsername; return this; } @CustomType.Setter public Builder edgeWorkersFailure(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure edgeWorkersFailure) { + this.edgeWorkersFailure = edgeWorkersFailure; return this; } @CustomType.Setter public Builder fileExtension(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionFileExtension fileExtension) { + this.fileExtension = fileExtension; return this; } @CustomType.Setter public Builder filename(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionFilename filename) { + this.filename = filename; return this; } @CustomType.Setter public Builder hostname(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionHostname hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder matchAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced matchAdvanced) { + this.matchAdvanced = matchAdvanced; return this; } @CustomType.Setter public Builder matchCpCode(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode matchCpCode) { + this.matchCpCode = matchCpCode; return this; } @CustomType.Setter public Builder matchResponseCode(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode matchResponseCode) { + this.matchResponseCode = matchResponseCode; return this; } @CustomType.Setter public Builder matchVariable(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable matchVariable) { + this.matchVariable = matchVariable; return this; } @CustomType.Setter public Builder metadataStage(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage metadataStage) { + this.metadataStage = metadataStage; return this; } @CustomType.Setter public Builder originTimeout(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout originTimeout) { + this.originTimeout = originTimeout; return this; } @CustomType.Setter public Builder path(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionPath path) { + this.path = path; return this; } @CustomType.Setter public Builder queryStringParameter(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParameter queryStringParameter) { + this.queryStringParameter = queryStringParameter; return this; } @CustomType.Setter public Builder random(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRandom random) { + this.random = random; return this; } @CustomType.Setter public Builder recoveryConfig(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig recoveryConfig) { + this.recoveryConfig = recoveryConfig; return this; } @CustomType.Setter public Builder regularExpression(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression regularExpression) { + this.regularExpression = regularExpression; return this; } @CustomType.Setter public Builder requestCookie(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie requestCookie) { + this.requestCookie = requestCookie; return this; } @CustomType.Setter public Builder requestHeader(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader requestHeader) { + this.requestHeader = requestHeader; return this; } @CustomType.Setter public Builder requestMethod(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod requestMethod) { + this.requestMethod = requestMethod; return this; } @CustomType.Setter public Builder requestProtocol(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol requestProtocol) { + this.requestProtocol = requestProtocol; return this; } @CustomType.Setter public Builder requestType(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionRequestType requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder responseHeader(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader responseHeader) { + this.responseHeader = responseHeader; return this; } @CustomType.Setter public Builder time(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionTime time) { + this.time = time; return this; } @CustomType.Setter public Builder tokenAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization tokenAuthorization) { + this.tokenAuthorization = tokenAuthorization; return this; } @CustomType.Setter public Builder userAgent(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionUserAgent userAgent) { + this.userAgent = userAgent; return this; } @CustomType.Setter public Builder userLocation(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionUserLocation userLocation) { + this.userLocation = userLocation; return this; } @CustomType.Setter public Builder userNetwork(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork userNetwork) { + this.userNetwork = userNetwork; return this; } @CustomType.Setter public Builder variableError(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionVariableError variableError) { + this.variableError = variableError; return this; } @CustomType.Setter public Builder virtualWaitingRoomRequest(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomRequest virtualWaitingRoomRequest) { + this.virtualWaitingRoomRequest = virtualWaitingRoomRequest; return this; } @CustomType.Setter public Builder visitorPrioritizationRequest(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizationRequest visitorPrioritizationRequest) { + this.visitorPrioritizationRequest = visitorPrioritizationRequest; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch.java index febf07d5b80..c835db3a9fa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionAdvancedImMatch def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionBucket.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionBucket.java index a428ec5ebd1..2263846c449 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionBucket.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionBucket.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionBucket defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder percentage(@Nullable Integer percentage) { + this.percentage = percentage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCacheability.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCacheability.java index 2963a52f831..92d3411d5ba 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCacheability.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCacheability.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionCacheability defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion.java index 6d2d84e2ddc..ca01cfa5a5c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionChinaCdnRegion defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate.java index 0662f78f05e..d4daf3e8dae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionClientCertificate d @CustomType.Setter public Builder isCertificatePresent(@Nullable Boolean isCertificatePresent) { + this.isCertificatePresent = isCertificatePresent; return this; } @CustomType.Setter public Builder isCertificateValid(@Nullable String isCertificateValid) { + this.isCertificateValid = isCertificateValid; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIp.java index d86fab7c65a..7caff3b8abd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIp.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionClientIp defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useHeaders(@Nullable Boolean useHeaders) { + this.useHeaders = useHeaders; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion.java index 54141be7f17..9c59ada74d0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionClientIpVersion def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useXForwardedFor(@Nullable Boolean useXForwardedFor) { + this.useXForwardedFor = useXForwardedFor; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin.java index f8ede38e26a..769327530a3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionCloudletsOrigin def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetwork.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetwork.java index 9699bc3f299..627ed0e4241 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetwork.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetwork.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionContentDeliveryNetw @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder network(@Nullable String network) { + this.network = network; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentType.java index d43ce7ffb61..8cb25725e91 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionContentType.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionContentType default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristic.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristic.java index 8a4ac2807b4..ca4818cf865 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristic.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristic.java @@ -111,46 +111,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionDeviceCharacteristi @CustomType.Setter public Builder booleanValue(@Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; return this; } @CustomType.Setter public Builder characteristic(@Nullable String characteristic) { + this.characteristic = characteristic; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder numericMatchOperator(@Nullable String numericMatchOperator) { + this.numericMatchOperator = numericMatchOperator; return this; } @CustomType.Setter public Builder numericValue(@Nullable Integer numericValue) { + this.numericValue = numericValue; return this; } @CustomType.Setter public Builder stringMatchOperator(@Nullable String stringMatchOperator) { + this.stringMatchOperator = stringMatchOperator; return this; } @CustomType.Setter public Builder stringValues(@Nullable List stringValues) { + this.stringValues = stringValues; return this; } @@ -159,21 +168,25 @@ public Builder stringValues(String... stringValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder versionMatchOperator(@Nullable String versionMatchOperator) { + this.versionMatchOperator = versionMatchOperator; return this; } @CustomType.Setter public Builder versionValue(@Nullable String versionValue) { + this.versionValue = versionValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups.java index a7bb2994386..c0ec7fb752b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthGroups defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme.java index 4addcb793b5..d193b78e1e3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionEcmdAuthScheme defa @CustomType.Setter public Builder authScheme(@Nullable String authScheme) { + this.authScheme = authScheme; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated.java index 6d9c0a345b4..4c4fc763eb6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionEcmdIsAuthenticated @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername.java index 7a8a0a29f17..c7ac3317e1f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionEcmdUsername defaul @CustomType.Setter public Builder length(@Nullable String length) { + this.length = length; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure.java index f3206ec32ec..67363a0a24d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionEdgeWorkersFailure @CustomType.Setter public Builder execStatus(@Nullable String execStatus) { + this.execStatus = execStatus; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFileExtension.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFileExtension.java index bd954cc3a9c..9a7d0db3d29 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFileExtension.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFileExtension.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionFileExtension defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFilename.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFilename.java index 2c35bec3597..3966e4e6b01 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFilename.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionFilename.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionFilename defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionHostname.java index 548386c1720..b39516d71a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionHostname.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionHostname defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced.java index 0baa1f1d208..7864e0a2cea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchAdvanced defau @CustomType.Setter public Builder closeXml(@Nullable String closeXml) { + this.closeXml = closeXml; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder openXml(@Nullable String openXml) { + this.openXml = openXml; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode.java index 1799f3fad66..4cc63574a9c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCode default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue.java index 918abfbdb9d..5544d3b0821 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValue de @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpCodeLimits.java index e80a6c012ab..ad50fe70336 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchCpCodeValueCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode.java index adde4432289..9716f281ff7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchResponseCode d @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable.java index 4c7f4b7920c..265273952b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable.java @@ -98,56 +98,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMatchVariable defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable String lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable String upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableExpression(@Nullable String variableExpression) { + this.variableExpression = variableExpression; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } @CustomType.Setter public Builder variableValues(@Nullable List variableValues) { + this.variableValues = variableValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage.java index d02784a087e..8205996f06e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionMetadataStage defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout.java index e6ef319c9ad..4d5f770c301 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionOriginTimeout defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionPath.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionPath.java index 19432ed214f..3d5080dbb7e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionPath.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionPath.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionPath defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder normalize(@Nullable Boolean normalize) { + this.normalize = normalize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParameter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParameter.java index b1311cc03ed..6067084d75d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParameter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParameter.java @@ -111,66 +111,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionQueryStringParamete @CustomType.Setter public Builder escapeValue(@Nullable Boolean escapeValue) { + this.escapeValue = escapeValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveName(@Nullable Boolean matchCaseSensitiveName) { + this.matchCaseSensitiveName = matchCaseSensitiveName; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder parameterName(@Nullable String parameterName) { + this.parameterName = parameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRandom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRandom.java index 97b31414fcf..c7bc5283735 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRandom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRandom.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRandom defaults) { @CustomType.Setter public Builder bucket(@Nullable Integer bucket) { + this.bucket = bucket; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig.java index 89fa37355c0..233ef344b65 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRecoveryConfig defa @CustomType.Setter public Builder configName(@Nullable String configName) { + this.configName = configName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression.java index 9a0b855141d..8dd305ad936 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRegularExpression d @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchString(@Nullable String matchString) { + this.matchString = matchString; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie.java index b34dc0848c8..0a26d2b7b9b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie.java @@ -104,61 +104,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRequestCookie defau @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveName(@Nullable Boolean matchCaseSensitiveName) { + this.matchCaseSensitiveName = matchCaseSensitiveName; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader.java index 4902d9cead1..4888422f66e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader.java @@ -86,46 +86,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRequestHeader defau @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod.java index 4d5dcc4923f..6f8f3cb7263 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRequestMethod defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol.java index 2e841422f63..7e4420ceeee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRequestProtocol def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestType.java index 8ccdaa4bcc2..def6899a868 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionRequestType.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionRequestType default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader.java index e8c533d411f..8b9d55d11ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader.java @@ -99,56 +99,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionResponseHeader defa @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTime.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTime.java index d6a92b9007c..5a602e37890 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTime.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTime.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionTime defaults) { @CustomType.Setter public Builder applyDaylightSavingsTime(@Nullable Boolean applyDaylightSavingsTime) { + this.applyDaylightSavingsTime = applyDaylightSavingsTime; return this; } @CustomType.Setter public Builder beginDate(@Nullable String beginDate) { + this.beginDate = beginDate; return this; } @CustomType.Setter public Builder endDate(@Nullable String endDate) { + this.endDate = endDate; return this; } @CustomType.Setter public Builder lastingDate(@Nullable String lastingDate) { + this.lastingDate = lastingDate; return this; } @CustomType.Setter public Builder lastingDuration(@Nullable String lastingDuration) { + this.lastingDuration = lastingDuration; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder repeatBeginDate(@Nullable String repeatBeginDate) { + this.repeatBeginDate = repeatBeginDate; return this; } @CustomType.Setter public Builder repeatDuration(@Nullable String repeatDuration) { + this.repeatDuration = repeatDuration; return this; } @CustomType.Setter public Builder repeatInterval(@Nullable String repeatInterval) { + this.repeatInterval = repeatInterval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization.java index 8f8053b80a4..2da9d74115f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization.java @@ -62,16 +62,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionTokenAuthorization @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder statusLists(@Nullable List statusLists) { + this.statusLists = statusLists; return this; } @@ -80,11 +83,13 @@ public Builder statusLists(String... statusLists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserAgent.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserAgent.java index 21bfe42a38b..14b0c280671 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserAgent.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserAgent.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionUserAgent defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserLocation.java index ab60677b782..8c29e9d4d69 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserLocation.java @@ -92,11 +92,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionUserLocation defaul @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder continentValues(@Nullable List continentValues) { + this.continentValues = continentValues; return this; } @@ -105,6 +107,7 @@ public Builder continentValues(String... continentValues) { } @CustomType.Setter public Builder countryValues(@Nullable List countryValues) { + this.countryValues = countryValues; return this; } @@ -113,21 +116,25 @@ public Builder countryValues(String... countryValues) { } @CustomType.Setter public Builder field(@Nullable String field) { + this.field = field; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder regionValues(@Nullable List regionValues) { + this.regionValues = regionValues; return this; } @@ -136,16 +143,19 @@ public Builder regionValues(String... regionValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useOnlyFirstXForwardedForIp(@Nullable Boolean useOnlyFirstXForwardedForIp) { + this.useOnlyFirstXForwardedForIp = useOnlyFirstXForwardedForIp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork.java index 8dfe7d3edc1..173414f48f8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork.java @@ -92,6 +92,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionUserNetwork default @CustomType.Setter public Builder bandwidthValues(@Nullable List bandwidthValues) { + this.bandwidthValues = bandwidthValues; return this; } @@ -100,26 +101,31 @@ public Builder bandwidthValues(String... bandwidthValues) { } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder field(@Nullable String field) { + this.field = field; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder networkTypeValues(@Nullable List networkTypeValues) { + this.networkTypeValues = networkTypeValues; return this; } @@ -128,6 +134,7 @@ public Builder networkTypeValues(String... networkTypeValues) { } @CustomType.Setter public Builder networkValues(@Nullable List networkValues) { + this.networkValues = networkValues; return this; } @@ -136,16 +143,19 @@ public Builder networkValues(String... networkValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useOnlyFirstXForwardedForIp(@Nullable Boolean useOnlyFirstXForwardedForIp) { + this.useOnlyFirstXForwardedForIp = useOnlyFirstXForwardedForIp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVariableError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVariableError.java index e733d928c4f..8bc6946dcdb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVariableError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVariableError.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionVariableError defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder result(@Nullable Boolean result) { + this.result = result; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableNames(@Nullable List variableNames) { + this.variableNames = variableNames; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomRequest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomRequest.java index fee75d44b75..5d785ed9889 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomRequest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomRequest.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionVirtualWaitingRoomR @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizationRequest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizationRequest.java index 2d2bb3074e2..ee5b7b4b141 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizationRequest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizationRequest.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CriterionVisitorPrioritizati @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CustomOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CustomOverride.java index 914743a2e61..574a85d0674 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CustomOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105CustomOverride.java @@ -42,11 +42,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230105CustomOverride defaults) { @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder overrideId(@Nullable String overrideId) { + this.overrideId = overrideId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Variable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Variable.java index 788e77253a4..e47fc0fdd51 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Variable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230105Variable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetPropertyRulesBuilderRulesV20230105Variable defaults) { @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder hidden(Boolean hidden) { - this.hidden = Objects.requireNonNull(hidden); + if (hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "hidden"); + } + this.hidden = hidden; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder sensitive(Boolean sensitive) { - this.sensitive = Objects.requireNonNull(sensitive); + if (sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "sensitive"); + } + this.sensitive = sensitive; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230105Variable", "value"); + } + this.value = value; return this; } public GetPropertyRulesBuilderRulesV20230105Variable build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530.java index 8be178aa40d..58e164a3442 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530.java @@ -8,6 +8,7 @@ import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230530CustomOverride; import com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20230530Variable; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.List; @@ -120,11 +121,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530 defaults) { @CustomType.Setter public Builder advancedOverride(@Nullable String advancedOverride) { + this.advancedOverride = advancedOverride; return this; } @CustomType.Setter public Builder behaviors(@Nullable List behaviors) { + this.behaviors = behaviors; return this; } @@ -133,6 +136,7 @@ public Builder behaviors(GetPropertyRulesBuilderRulesV20230530Behavior... behavi } @CustomType.Setter public Builder childrens(@Nullable List childrens) { + this.childrens = childrens; return this; } @@ -141,21 +145,25 @@ public Builder childrens(String... childrens) { } @CustomType.Setter public Builder comments(@Nullable String comments) { + this.comments = comments; return this; } @CustomType.Setter public Builder criteriaLocked(@Nullable Boolean criteriaLocked) { + this.criteriaLocked = criteriaLocked; return this; } @CustomType.Setter public Builder criteriaMustSatisfy(@Nullable String criteriaMustSatisfy) { + this.criteriaMustSatisfy = criteriaMustSatisfy; return this; } @CustomType.Setter public Builder criterions(@Nullable List criterions) { + this.criterions = criterions; return this; } @@ -164,36 +172,45 @@ public Builder criterions(GetPropertyRulesBuilderRulesV20230530Criterion... crit } @CustomType.Setter public Builder customOverride(@Nullable GetPropertyRulesBuilderRulesV20230530CustomOverride customOverride) { + this.customOverride = customOverride; return this; } @CustomType.Setter public Builder isSecure(@Nullable Boolean isSecure) { + this.isSecure = isSecure; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder templateLink(@Nullable String templateLink) { + this.templateLink = templateLink; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Behavior.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Behavior.java index fc443ebf9f4..65ca31439ee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Behavior.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Behavior.java @@ -1548,1086 +1548,1303 @@ public Builder(GetPropertyRulesBuilderRulesV20230530Behavior defaults) { @CustomType.Setter public Builder adScalerCircuitBreaker(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreaker adScalerCircuitBreaker) { + this.adScalerCircuitBreaker = adScalerCircuitBreaker; return this; } @CustomType.Setter public Builder adaptiveAcceleration(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration adaptiveAcceleration) { + this.adaptiveAcceleration = adaptiveAcceleration; return this; } @CustomType.Setter public Builder adaptiveImageCompression(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompression adaptiveImageCompression) { + this.adaptiveImageCompression = adaptiveImageCompression; return this; } @CustomType.Setter public Builder advanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder aggregatedReporting(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting aggregatedReporting) { + this.aggregatedReporting = aggregatedReporting; return this; } @CustomType.Setter public Builder akamaizer(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer akamaizer) { + this.akamaizer = akamaizer; return this; } @CustomType.Setter public Builder akamaizerTag(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag akamaizerTag) { + this.akamaizerTag = akamaizerTag; return this; } @CustomType.Setter public Builder allHttpInCacheHierarchy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierarchy allHttpInCacheHierarchy) { + this.allHttpInCacheHierarchy = allHttpInCacheHierarchy; return this; } @CustomType.Setter public Builder allowCloudletsOrigins(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigins allowCloudletsOrigins) { + this.allowCloudletsOrigins = allowCloudletsOrigins; return this; } @CustomType.Setter public Builder allowDelete(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete allowDelete) { + this.allowDelete = allowDelete; return this; } @CustomType.Setter public Builder allowHttpsCacheKeySharing(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySharing allowHttpsCacheKeySharing) { + this.allowHttpsCacheKeySharing = allowHttpsCacheKeySharing; return this; } @CustomType.Setter public Builder allowHttpsDowngrade(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade allowHttpsDowngrade) { + this.allowHttpsDowngrade = allowHttpsDowngrade; return this; } @CustomType.Setter public Builder allowOptions(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions allowOptions) { + this.allowOptions = allowOptions; return this; } @CustomType.Setter public Builder allowPatch(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch allowPatch) { + this.allowPatch = allowPatch; return this; } @CustomType.Setter public Builder allowPost(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost allowPost) { + this.allowPost = allowPost; return this; } @CustomType.Setter public Builder allowPut(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut allowPut) { + this.allowPut = allowPut; return this; } @CustomType.Setter public Builder allowTransferEncoding(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncoding allowTransferEncoding) { + this.allowTransferEncoding = allowTransferEncoding; return this; } @CustomType.Setter public Builder altSvcHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader altSvcHeader) { + this.altSvcHeader = altSvcHeader; return this; } @CustomType.Setter public Builder apiPrioritization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization apiPrioritization) { + this.apiPrioritization = apiPrioritization; return this; } @CustomType.Setter public Builder applicationLoadBalancer(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancer applicationLoadBalancer) { + this.applicationLoadBalancer = applicationLoadBalancer; return this; } @CustomType.Setter public Builder audienceSegmentation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation audienceSegmentation) { + this.audienceSegmentation = audienceSegmentation; return this; } @CustomType.Setter public Builder autoDomainValidation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation autoDomainValidation) { + this.autoDomainValidation = autoDomainValidation; return this; } @CustomType.Setter public Builder baseDirectory(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory baseDirectory) { + this.baseDirectory = baseDirectory; return this; } @CustomType.Setter public Builder bossBeaconing(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing bossBeaconing) { + this.bossBeaconing = bossBeaconing; return this; } @CustomType.Setter public Builder breadcrumbs(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs breadcrumbs) { + this.breadcrumbs = breadcrumbs; return this; } @CustomType.Setter public Builder breakConnection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection breakConnection) { + this.breakConnection = breakConnection; return this; } @CustomType.Setter public Builder brotli(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorBrotli brotli) { + this.brotli = brotli; return this; } @CustomType.Setter public Builder cacheError(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheError cacheError) { + this.cacheError = cacheError; return this; } @CustomType.Setter public Builder cacheId(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheId cacheId) { + this.cacheId = cacheId; return this; } @CustomType.Setter public Builder cacheKeyIgnoreCase(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase cacheKeyIgnoreCase) { + this.cacheKeyIgnoreCase = cacheKeyIgnoreCase; return this; } @CustomType.Setter public Builder cacheKeyQueryParams(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams cacheKeyQueryParams) { + this.cacheKeyQueryParams = cacheKeyQueryParams; return this; } @CustomType.Setter public Builder cacheKeyRewrite(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite cacheKeyRewrite) { + this.cacheKeyRewrite = cacheKeyRewrite; return this; } @CustomType.Setter public Builder cachePost(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCachePost cachePost) { + this.cachePost = cachePost; return this; } @CustomType.Setter public Builder cacheRedirect(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect cacheRedirect) { + this.cacheRedirect = cacheRedirect; return this; } @CustomType.Setter public Builder cacheTag(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag cacheTag) { + this.cacheTag = cacheTag; return this; } @CustomType.Setter public Builder cacheTagVisible(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible cacheTagVisible) { + this.cacheTagVisible = cacheTagVisible; return this; } @CustomType.Setter public Builder caching(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCaching caching) { + this.caching = caching; return this; } @CustomType.Setter public Builder centralAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization centralAuthorization) { + this.centralAuthorization = centralAuthorization; return this; } @CustomType.Setter public Builder chaseRedirects(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects chaseRedirects) { + this.chaseRedirects = chaseRedirects; return this; } @CustomType.Setter public Builder clientCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristics clientCharacteristics) { + this.clientCharacteristics = clientCharacteristics; return this; } @CustomType.Setter public Builder cloudInterconnects(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects cloudInterconnects) { + this.cloudInterconnects = cloudInterconnects; return this; } @CustomType.Setter public Builder cloudWrapper(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper cloudWrapper) { + this.cloudWrapper = cloudWrapper; return this; } @CustomType.Setter public Builder cloudWrapperAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced cloudWrapperAdvanced) { + this.cloudWrapperAdvanced = cloudWrapperAdvanced; return this; } @CustomType.Setter public Builder commonMediaClientData(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientData commonMediaClientData) { + this.commonMediaClientData = commonMediaClientData; return this; } @CustomType.Setter public Builder conditionalOrigin(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin conditionalOrigin) { + this.conditionalOrigin = conditionalOrigin; return this; } @CustomType.Setter public Builder constructResponse(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse constructResponse) { + this.constructResponse = constructResponse; return this; } @CustomType.Setter public Builder contentCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristics contentCharacteristics) { + this.contentCharacteristics = contentCharacteristics; return this; } @CustomType.Setter public Builder contentCharacteristicsAmd(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsAmd contentCharacteristicsAmd) { + this.contentCharacteristicsAmd = contentCharacteristicsAmd; return this; } @CustomType.Setter public Builder contentCharacteristicsDd(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsDd contentCharacteristicsDd) { + this.contentCharacteristicsDd = contentCharacteristicsDd; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdLargeFile(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLargeFile contentCharacteristicsWsdLargeFile) { + this.contentCharacteristicsWsdLargeFile = contentCharacteristicsWsdLargeFile; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdLive(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLive contentCharacteristicsWsdLive) { + this.contentCharacteristicsWsdLive = contentCharacteristicsWsdLive; return this; } @CustomType.Setter public Builder contentCharacteristicsWsdVod(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdVod contentCharacteristicsWsdVod) { + this.contentCharacteristicsWsdVod = contentCharacteristicsWsdVod; return this; } @CustomType.Setter public Builder contentPrePosition(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition contentPrePosition) { + this.contentPrePosition = contentPrePosition; return this; } @CustomType.Setter public Builder contentTargetingProtection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProtection contentTargetingProtection) { + this.contentTargetingProtection = contentTargetingProtection; return this; } @CustomType.Setter public Builder corsSupport(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport corsSupport) { + this.corsSupport = corsSupport; return this; } @CustomType.Setter public Builder cpCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCpCode cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder customBehavior(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior customBehavior) { + this.customBehavior = customBehavior; return this; } @CustomType.Setter public Builder datastream(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDatastream datastream) { + this.datastream = datastream; return this; } @CustomType.Setter public Builder dcp(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcp dcp) { + this.dcp = dcp; return this; } @CustomType.Setter public Builder dcpAuthHmacTransformation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransformation dcpAuthHmacTransformation) { + this.dcpAuthHmacTransformation = dcpAuthHmacTransformation; return this; } @CustomType.Setter public Builder dcpAuthRegexTransformation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransformation dcpAuthRegexTransformation) { + this.dcpAuthRegexTransformation = dcpAuthRegexTransformation; return this; } @CustomType.Setter public Builder dcpAuthSubstringTransformation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTransformation dcpAuthSubstringTransformation) { + this.dcpAuthSubstringTransformation = dcpAuthSubstringTransformation; return this; } @CustomType.Setter public Builder dcpAuthVariableExtractor(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtractor dcpAuthVariableExtractor) { + this.dcpAuthVariableExtractor = dcpAuthVariableExtractor; return this; } @CustomType.Setter public Builder dcpDefaultAuthzGroups(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroups dcpDefaultAuthzGroups) { + this.dcpDefaultAuthzGroups = dcpDefaultAuthzGroups; return this; } @CustomType.Setter public Builder dcpDevRelations(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations dcpDevRelations) { + this.dcpDevRelations = dcpDevRelations; return this; } @CustomType.Setter public Builder dcpRealTimeAuth(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth dcpRealTimeAuth) { + this.dcpRealTimeAuth = dcpRealTimeAuth; return this; } @CustomType.Setter public Builder deliveryReceipt(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; return this; } @CustomType.Setter public Builder denyAccess(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess denyAccess) { + this.denyAccess = denyAccess; return this; } @CustomType.Setter public Builder denyDirectFailoverAccess(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAccess denyDirectFailoverAccess) { + this.denyDirectFailoverAccess = denyDirectFailoverAccess; return this; } @CustomType.Setter public Builder deviceCharacteristicCacheId(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicCacheId deviceCharacteristicCacheId) { + this.deviceCharacteristicCacheId = deviceCharacteristicCacheId; return this; } @CustomType.Setter public Builder deviceCharacteristicHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicHeader deviceCharacteristicHeader) { + this.deviceCharacteristicHeader = deviceCharacteristicHeader; return this; } @CustomType.Setter public Builder dnsAsyncRefresh(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh dnsAsyncRefresh) { + this.dnsAsyncRefresh = dnsAsyncRefresh; return this; } @CustomType.Setter public Builder dnsPrefresh(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh dnsPrefresh) { + this.dnsPrefresh = dnsPrefresh; return this; } @CustomType.Setter public Builder downgradeProtocol(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol downgradeProtocol) { + this.downgradeProtocol = downgradeProtocol; return this; } @CustomType.Setter public Builder downloadCompleteMarker(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMarker downloadCompleteMarker) { + this.downloadCompleteMarker = downloadCompleteMarker; return this; } @CustomType.Setter public Builder downloadNotification(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification downloadNotification) { + this.downloadNotification = downloadNotification; return this; } @CustomType.Setter public Builder downstreamCache(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache downstreamCache) { + this.downstreamCache = downstreamCache; return this; } @CustomType.Setter public Builder dynamicThroughtputOptimization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimization dynamicThroughtputOptimization) { + this.dynamicThroughtputOptimization = dynamicThroughtputOptimization; return this; } @CustomType.Setter public Builder dynamicThroughtputOptimizationOverride(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimizationOverride dynamicThroughtputOptimizationOverride) { + this.dynamicThroughtputOptimizationOverride = dynamicThroughtputOptimizationOverride; return this; } @CustomType.Setter public Builder dynamicWebContent(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent dynamicWebContent) { + this.dynamicWebContent = dynamicWebContent; return this; } @CustomType.Setter public Builder ecmsBulkUpload(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload ecmsBulkUpload) { + this.ecmsBulkUpload = ecmsBulkUpload; return this; } @CustomType.Setter public Builder ecmsDatabase(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase ecmsDatabase) { + this.ecmsDatabase = ecmsDatabase; return this; } @CustomType.Setter public Builder ecmsDataset(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset ecmsDataset) { + this.ecmsDataset = ecmsDataset; return this; } @CustomType.Setter public Builder ecmsObjectKey(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey ecmsObjectKey) { + this.ecmsObjectKey = ecmsObjectKey; return this; } @CustomType.Setter public Builder edgeConnect(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect edgeConnect) { + this.edgeConnect = edgeConnect; return this; } @CustomType.Setter public Builder edgeLoadBalancingAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdvanced edgeLoadBalancingAdvanced) { + this.edgeLoadBalancingAdvanced = edgeLoadBalancingAdvanced; return this; } @CustomType.Setter public Builder edgeLoadBalancingDataCenter(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenter edgeLoadBalancingDataCenter) { + this.edgeLoadBalancingDataCenter = edgeLoadBalancingDataCenter; return this; } @CustomType.Setter public Builder edgeLoadBalancingOrigin(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOrigin edgeLoadBalancingOrigin) { + this.edgeLoadBalancingOrigin = edgeLoadBalancingOrigin; return this; } @CustomType.Setter public Builder edgeOriginAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorization edgeOriginAuthorization) { + this.edgeOriginAuthorization = edgeOriginAuthorization; return this; } @CustomType.Setter public Builder edgeRedirector(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector edgeRedirector) { + this.edgeRedirector = edgeRedirector; return this; } @CustomType.Setter public Builder edgeScape(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape edgeScape) { + this.edgeScape = edgeScape; return this; } @CustomType.Setter public Builder edgeSideIncludes(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes edgeSideIncludes) { + this.edgeSideIncludes = edgeSideIncludes; return this; } @CustomType.Setter public Builder edgeWorker(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker edgeWorker) { + this.edgeWorker = edgeWorker; return this; } @CustomType.Setter public Builder enhancedAkamaiProtocol(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtocol enhancedAkamaiProtocol) { + this.enhancedAkamaiProtocol = enhancedAkamaiProtocol; return this; } @CustomType.Setter public Builder enhancedProxyDetection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetection enhancedProxyDetection) { + this.enhancedProxyDetection = enhancedProxyDetection; return this; } @CustomType.Setter public Builder epdForwardHeaderEnrichment(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnrichment epdForwardHeaderEnrichment) { + this.epdForwardHeaderEnrichment = epdForwardHeaderEnrichment; return this; } @CustomType.Setter public Builder failAction(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFailAction failAction) { + this.failAction = failAction; return this; } @CustomType.Setter public Builder failoverBotManagerFeatureCompatibility(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFeatureCompatibility failoverBotManagerFeatureCompatibility) { + this.failoverBotManagerFeatureCompatibility = failoverBotManagerFeatureCompatibility; return this; } @CustomType.Setter public Builder fastInvalidate(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate fastInvalidate) { + this.fastInvalidate = fastInvalidate; return this; } @CustomType.Setter public Builder firstPartyMarketing(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing firstPartyMarketing) { + this.firstPartyMarketing = firstPartyMarketing; return this; } @CustomType.Setter public Builder firstPartyMarketingPlus(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlus firstPartyMarketingPlus) { + this.firstPartyMarketingPlus = firstPartyMarketingPlus; return this; } @CustomType.Setter public Builder forwardRewrite(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite forwardRewrite) { + this.forwardRewrite = forwardRewrite; return this; } @CustomType.Setter public Builder g2oheader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader g2oheader) { + this.g2oheader = g2oheader; return this; } @CustomType.Setter public Builder globalRequestNumber(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber globalRequestNumber) { + this.globalRequestNumber = globalRequestNumber; return this; } @CustomType.Setter public Builder graphqlCaching(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching graphqlCaching) { + this.graphqlCaching = graphqlCaching; return this; } @CustomType.Setter public Builder gzipResponse(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse gzipResponse) { + this.gzipResponse = gzipResponse; return this; } @CustomType.Setter public Builder hdDataAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced hdDataAdvanced) { + this.hdDataAdvanced = hdDataAdvanced; return this; } @CustomType.Setter public Builder healthDetection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection healthDetection) { + this.healthDetection = healthDetection; return this; } @CustomType.Setter public Builder hsafEipBinding(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding hsafEipBinding) { + this.hsafEipBinding = hsafEipBinding; return this; } @CustomType.Setter public Builder http2(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHttp2 http2) { + this.http2 = http2; return this; } @CustomType.Setter public Builder http3(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHttp3 http3) { + this.http3 = http3; return this; } @CustomType.Setter public Builder httpStrictTransportSecurity(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportSecurity httpStrictTransportSecurity) { + this.httpStrictTransportSecurity = httpStrictTransportSecurity; return this; } @CustomType.Setter public Builder httpToHttpsUpgrade(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade httpToHttpsUpgrade) { + this.httpToHttpsUpgrade = httpToHttpsUpgrade; return this; } @CustomType.Setter public Builder imOverride(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImOverride imOverride) { + this.imOverride = imOverride; return this; } @CustomType.Setter public Builder imageAndVideoManager(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager imageAndVideoManager) { + this.imageAndVideoManager = imageAndVideoManager; return this; } @CustomType.Setter public Builder imageManager(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManager imageManager) { + this.imageManager = imageManager; return this; } @CustomType.Setter public Builder imageManagerVideo(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo imageManagerVideo) { + this.imageManagerVideo = imageManagerVideo; return this; } @CustomType.Setter public Builder include(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorInclude include) { + this.include = include; return this; } @CustomType.Setter public Builder instant(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorInstant instant) { + this.instant = instant; return this; } @CustomType.Setter public Builder instantConfig(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig instantConfig) { + this.instantConfig = instantConfig; return this; } @CustomType.Setter public Builder largeFileOptimization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimization largeFileOptimization) { + this.largeFileOptimization = largeFileOptimization; return this; } @CustomType.Setter public Builder largeFileOptimizationAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizationAdvanced largeFileOptimizationAdvanced) { + this.largeFileOptimizationAdvanced = largeFileOptimizationAdvanced; return this; } @CustomType.Setter public Builder limitBitRate(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate limitBitRate) { + this.limitBitRate = limitBitRate; return this; } @CustomType.Setter public Builder logCustom(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom logCustom) { + this.logCustom = logCustom; return this; } @CustomType.Setter public Builder mPulse(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMPulse mPulse) { + this.mPulse = mPulse; return this; } @CustomType.Setter public Builder manifestPersonalization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalization manifestPersonalization) { + this.manifestPersonalization = manifestPersonalization; return this; } @CustomType.Setter public Builder manifestRerouting(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting manifestRerouting) { + this.manifestRerouting = manifestRerouting; return this; } @CustomType.Setter public Builder manualServerPush(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush manualServerPush) { + this.manualServerPush = manualServerPush; return this; } @CustomType.Setter public Builder mediaAcceleration(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration mediaAcceleration) { + this.mediaAcceleration = mediaAcceleration; return this; } @CustomType.Setter public Builder mediaAccelerationQuicOptout(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQuicOptout mediaAccelerationQuicOptout) { + this.mediaAccelerationQuicOptout = mediaAccelerationQuicOptout; return this; } @CustomType.Setter public Builder mediaClient(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient mediaClient) { + this.mediaClient = mediaClient; return this; } @CustomType.Setter public Builder mediaFileRetrievalOptimization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOptimization mediaFileRetrievalOptimization) { + this.mediaFileRetrievalOptimization = mediaFileRetrievalOptimization; return this; } @CustomType.Setter public Builder mediaOriginFailover(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover mediaOriginFailover) { + this.mediaOriginFailover = mediaOriginFailover; return this; } @CustomType.Setter public Builder metadataCaching(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching metadataCaching) { + this.metadataCaching = metadataCaching; return this; } @CustomType.Setter public Builder mobileSdkPerformance(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance mobileSdkPerformance) { + this.mobileSdkPerformance = mobileSdkPerformance; return this; } @CustomType.Setter public Builder modifyIncomingRequestHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRequestHeader modifyIncomingRequestHeader) { + this.modifyIncomingRequestHeader = modifyIncomingRequestHeader; return this; } @CustomType.Setter public Builder modifyIncomingResponseHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingResponseHeader modifyIncomingResponseHeader) { + this.modifyIncomingResponseHeader = modifyIncomingResponseHeader; return this; } @CustomType.Setter public Builder modifyOutgoingRequestHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRequestHeader modifyOutgoingRequestHeader) { + this.modifyOutgoingRequestHeader = modifyOutgoingRequestHeader; return this; } @CustomType.Setter public Builder modifyOutgoingResponseHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingResponseHeader modifyOutgoingResponseHeader) { + this.modifyOutgoingResponseHeader = modifyOutgoingResponseHeader; return this; } @CustomType.Setter public Builder modifyViaHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader modifyViaHeader) { + this.modifyViaHeader = modifyViaHeader; return this; } @CustomType.Setter public Builder origin(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOrigin origin) { + this.origin = origin; return this; } @CustomType.Setter public Builder originCharacteristics(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristics originCharacteristics) { + this.originCharacteristics = originCharacteristics; return this; } @CustomType.Setter public Builder originCharacteristicsWsd(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristicsWsd originCharacteristicsWsd) { + this.originCharacteristicsWsd = originCharacteristicsWsd; return this; } @CustomType.Setter public Builder originFailureRecoveryMethod(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryMethod originFailureRecoveryMethod) { + this.originFailureRecoveryMethod = originFailureRecoveryMethod; return this; } @CustomType.Setter public Builder originFailureRecoveryPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryPolicy originFailureRecoveryPolicy) { + this.originFailureRecoveryPolicy = originFailureRecoveryPolicy; return this; } @CustomType.Setter public Builder originIpAcl(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl originIpAcl) { + this.originIpAcl = originIpAcl; return this; } @CustomType.Setter public Builder persistentClientConnection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConnection persistentClientConnection) { + this.persistentClientConnection = persistentClientConnection; return this; } @CustomType.Setter public Builder persistentConnection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection persistentConnection) { + this.persistentConnection = persistentConnection; return this; } @CustomType.Setter public Builder personallyIdentifiableInformation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiableInformation personallyIdentifiableInformation) { + this.personallyIdentifiableInformation = personallyIdentifiableInformation; return this; } @CustomType.Setter public Builder phasedRelease(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease phasedRelease) { + this.phasedRelease = phasedRelease; return this; } @CustomType.Setter public Builder preconnect(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect preconnect) { + this.preconnect = preconnect; return this; } @CustomType.Setter public Builder predictiveContentDelivery(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDelivery predictiveContentDelivery) { + this.predictiveContentDelivery = predictiveContentDelivery; return this; } @CustomType.Setter public Builder predictivePrefetching(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetching predictivePrefetching) { + this.predictivePrefetching = predictivePrefetching; return this; } @CustomType.Setter public Builder prefetch(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch prefetch) { + this.prefetch = prefetch; return this; } @CustomType.Setter public Builder prefetchable(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable prefetchable) { + this.prefetchable = prefetchable; return this; } @CustomType.Setter public Builder prefreshCache(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache prefreshCache) { + this.prefreshCache = prefreshCache; return this; } @CustomType.Setter public Builder quality(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorQuality quality) { + this.quality = quality; return this; } @CustomType.Setter public Builder quicBeta(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta quicBeta) { + this.quicBeta = quicBeta; return this; } @CustomType.Setter public Builder randomSeek(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek randomSeek) { + this.randomSeek = randomSeek; return this; } @CustomType.Setter public Builder rapid(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRapid rapid) { + this.rapid = rapid; return this; } @CustomType.Setter public Builder readTimeout(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout readTimeout) { + this.readTimeout = readTimeout; return this; } @CustomType.Setter public Builder realTimeReporting(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting realTimeReporting) { + this.realTimeReporting = realTimeReporting; return this; } @CustomType.Setter public Builder realUserMonitoring(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring realUserMonitoring) { + this.realUserMonitoring = realUserMonitoring; return this; } @CustomType.Setter public Builder redirect(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRedirect redirect) { + this.redirect = redirect; return this; } @CustomType.Setter public Builder redirectplus(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus redirectplus) { + this.redirectplus = redirectplus; return this; } @CustomType.Setter public Builder refererChecking(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking refererChecking) { + this.refererChecking = refererChecking; return this; } @CustomType.Setter public Builder removeQueryParameter(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter removeQueryParameter) { + this.removeQueryParameter = removeQueryParameter; return this; } @CustomType.Setter public Builder removeVary(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary removeVary) { + this.removeVary = removeVary; return this; } @CustomType.Setter public Builder report(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorReport report) { + this.report = report; return this; } @CustomType.Setter public Builder requestControl(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl requestControl) { + this.requestControl = requestControl; return this; } @CustomType.Setter public Builder requestTypeMarker(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker requestTypeMarker) { + this.requestTypeMarker = requestTypeMarker; return this; } @CustomType.Setter public Builder resourceOptimizer(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer resourceOptimizer) { + this.resourceOptimizer = resourceOptimizer; return this; } @CustomType.Setter public Builder resourceOptimizerExtendedCompatibility(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExtendedCompatibility resourceOptimizerExtendedCompatibility) { + this.resourceOptimizerExtendedCompatibility = resourceOptimizerExtendedCompatibility; return this; } @CustomType.Setter public Builder responseCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder responseCookie(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie responseCookie) { + this.responseCookie = responseCookie; return this; } @CustomType.Setter public Builder restrictObjectCaching(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCaching restrictObjectCaching) { + this.restrictObjectCaching = restrictObjectCaching; return this; } @CustomType.Setter public Builder returnCacheStatus(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus returnCacheStatus) { + this.returnCacheStatus = returnCacheStatus; return this; } @CustomType.Setter public Builder rewriteUrl(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl rewriteUrl) { + this.rewriteUrl = rewriteUrl; return this; } @CustomType.Setter public Builder rumCustom(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom rumCustom) { + this.rumCustom = rumCustom; return this; } @CustomType.Setter public Builder saasDefinitions(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions saasDefinitions) { + this.saasDefinitions = saasDefinitions; return this; } @CustomType.Setter public Builder salesForceCommerceCloudClient(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudClient salesForceCommerceCloudClient) { + this.salesForceCommerceCloudClient = salesForceCommerceCloudClient; return this; } @CustomType.Setter public Builder salesForceCommerceCloudProvider(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProvider salesForceCommerceCloudProvider) { + this.salesForceCommerceCloudProvider = salesForceCommerceCloudProvider; return this; } @CustomType.Setter public Builder salesForceCommerceCloudProviderHostHeader(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProviderHostHeader salesForceCommerceCloudProviderHostHeader) { + this.salesForceCommerceCloudProviderHostHeader = salesForceCommerceCloudProviderHostHeader; return this; } @CustomType.Setter public Builder savePostDcaProcessing(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessing savePostDcaProcessing) { + this.savePostDcaProcessing = savePostDcaProcessing; return this; } @CustomType.Setter public Builder scheduleInvalidation(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation scheduleInvalidation) { + this.scheduleInvalidation = scheduleInvalidation; return this; } @CustomType.Setter public Builder scriptManagement(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement scriptManagement) { + this.scriptManagement = scriptManagement; return this; } @CustomType.Setter public Builder segmentedContentProtection(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProtection segmentedContentProtection) { + this.segmentedContentProtection = segmentedContentProtection; return this; } @CustomType.Setter public Builder segmentedMediaOptimization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimization segmentedMediaOptimization) { + this.segmentedMediaOptimization = segmentedMediaOptimization; return this; } @CustomType.Setter public Builder segmentedMediaStreamingPrefetch(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStreamingPrefetch segmentedMediaStreamingPrefetch) { + this.segmentedMediaStreamingPrefetch = segmentedMediaStreamingPrefetch; return this; } @CustomType.Setter public Builder setVariable(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable setVariable) { + this.setVariable = setVariable; return this; } @CustomType.Setter public Builder simulateErrorCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode simulateErrorCode) { + this.simulateErrorCode = simulateErrorCode; return this; } @CustomType.Setter public Builder siteShield(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield siteShield) { + this.siteShield = siteShield; return this; } @CustomType.Setter public Builder standardTlsMigration(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration standardTlsMigration) { + this.standardTlsMigration = standardTlsMigration; return this; } @CustomType.Setter public Builder standardTlsMigrationOverride(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigrationOverride standardTlsMigrationOverride) { + this.standardTlsMigrationOverride = standardTlsMigrationOverride; return this; } @CustomType.Setter public Builder strictHeaderParsing(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing strictHeaderParsing) { + this.strictHeaderParsing = strictHeaderParsing; return this; } @CustomType.Setter public Builder subCustomer(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer subCustomer) { + this.subCustomer = subCustomer; return this; } @CustomType.Setter public Builder sureRoute(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute sureRoute) { + this.sureRoute = sureRoute; return this; } @CustomType.Setter public Builder tcpOptimization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization tcpOptimization) { + this.tcpOptimization = tcpOptimization; return this; } @CustomType.Setter public Builder teaLeaf(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf teaLeaf) { + this.teaLeaf = teaLeaf; return this; } @CustomType.Setter public Builder tieredDistribution(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution tieredDistribution) { + this.tieredDistribution = tieredDistribution; return this; } @CustomType.Setter public Builder tieredDistributionAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAdvanced tieredDistributionAdvanced) { + this.tieredDistributionAdvanced = tieredDistributionAdvanced; return this; } @CustomType.Setter public Builder tieredDistributionCustomization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCustomization tieredDistributionCustomization) { + this.tieredDistributionCustomization = tieredDistributionCustomization; return this; } @CustomType.Setter public Builder timeout(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorTimeout timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uidConfiguration(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration uidConfiguration) { + this.uidConfiguration = uidConfiguration; return this; } @CustomType.Setter public Builder validateEntityTag(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag validateEntityTag) { + this.validateEntityTag = validateEntityTag; return this; } @CustomType.Setter public Builder verifyJsonWebToken(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken verifyJsonWebToken) { + this.verifyJsonWebToken = verifyJsonWebToken; return this; } @CustomType.Setter public Builder verifyJsonWebTokenForDcp(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenForDcp verifyJsonWebTokenForDcp) { + this.verifyJsonWebTokenForDcp = verifyJsonWebTokenForDcp; return this; } @CustomType.Setter public Builder verifyTokenAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthorization verifyTokenAuthorization) { + this.verifyTokenAuthorization = verifyTokenAuthorization; return this; } @CustomType.Setter public Builder virtualWaitingRoom(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom virtualWaitingRoom) { + this.virtualWaitingRoom = virtualWaitingRoom; return this; } @CustomType.Setter public Builder virtualWaitingRoomWithEdgeWorkers(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWithEdgeWorkers virtualWaitingRoomWithEdgeWorkers) { + this.virtualWaitingRoomWithEdgeWorkers = virtualWaitingRoomWithEdgeWorkers; return this; } @CustomType.Setter public Builder visitorPrioritization(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritization visitorPrioritization) { + this.visitorPrioritization = visitorPrioritization; return this; } @CustomType.Setter public Builder visitorPrioritizationFifo(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifo visitorPrioritizationFifo) { + this.visitorPrioritizationFifo = visitorPrioritizationFifo; return this; } @CustomType.Setter public Builder visitorPrioritizationFifoStandalone(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifoStandalone visitorPrioritizationFifoStandalone) { + this.visitorPrioritizationFifoStandalone = visitorPrioritizationFifoStandalone; return this; } @CustomType.Setter public Builder watermarking(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking watermarking) { + this.watermarking = watermarking; return this; } @CustomType.Setter public Builder webApplicationFirewall(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewall webApplicationFirewall) { + this.webApplicationFirewall = webApplicationFirewall; return this; } @CustomType.Setter public Builder webSockets(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets webSockets) { + this.webSockets = webSockets; return this; } @CustomType.Setter public Builder webdav(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorWebdav webdav) { + this.webdav = webdav; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreaker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreaker.java index 03c92a2f1b5..4b34f014488 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreaker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreaker.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAdScalerCircuitBreak @CustomType.Setter public Builder fallbackActionResponseCodeBased(@Nullable String fallbackActionResponseCodeBased) { + this.fallbackActionResponseCodeBased = fallbackActionResponseCodeBased; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCodeBased(@Nullable Boolean responseCodeBased) { + this.responseCodeBased = responseCodeBased; return this; } @CustomType.Setter public Builder responseCodes(@Nullable String responseCodes) { + this.responseCodes = responseCodes; return this; } @CustomType.Setter public Builder responseDelayBased(@Nullable Boolean responseDelayBased) { + this.responseDelayBased = responseDelayBased; return this; } @CustomType.Setter public Builder responseDelayThreshold(@Nullable String responseDelayThreshold) { + this.responseDelayThreshold = responseDelayThreshold; return this; } @CustomType.Setter public Builder returnErrorResponseCodeBased(@Nullable String returnErrorResponseCodeBased) { + this.returnErrorResponseCodeBased = returnErrorResponseCodeBased; return this; } @CustomType.Setter public Builder specifyYourOwnResponseCodeBased(@Nullable String specifyYourOwnResponseCodeBased) { + this.specifyYourOwnResponseCodeBased = specifyYourOwnResponseCodeBased; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration.java index a74afd21745..beed54b6767 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveAcceleration @CustomType.Setter public Builder abLogic(@Nullable String abLogic) { + this.abLogic = abLogic; return this; } @CustomType.Setter public Builder abTesting(@Nullable String abTesting) { + this.abTesting = abTesting; return this; } @CustomType.Setter public Builder compression(@Nullable String compression) { + this.compression = compression; return this; } @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder enableBrotliCompression(@Nullable Boolean enableBrotliCompression) { + this.enableBrotliCompression = enableBrotliCompression; return this; } @CustomType.Setter public Builder enableForNoncacheable(@Nullable Boolean enableForNoncacheable) { + this.enableForNoncacheable = enableForNoncacheable; return this; } @CustomType.Setter public Builder enablePreconnect(@Nullable Boolean enablePreconnect) { + this.enablePreconnect = enablePreconnect; return this; } @CustomType.Setter public Builder enablePush(@Nullable Boolean enablePush) { + this.enablePush = enablePush; return this; } @CustomType.Setter public Builder enableRo(@Nullable Boolean enableRo) { + this.enableRo = enableRo; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preloadEnable(@Nullable Boolean preloadEnable) { + this.preloadEnable = preloadEnable; return this; } @CustomType.Setter public Builder source(@Nullable String source) { + this.source = source; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder titleBrotli(@Nullable String titleBrotli) { + this.titleBrotli = titleBrotli; return this; } @CustomType.Setter public Builder titleHttp2ServerPush(@Nullable String titleHttp2ServerPush) { + this.titleHttp2ServerPush = titleHttp2ServerPush; return this; } @CustomType.Setter public Builder titlePreconnect(@Nullable String titlePreconnect) { + this.titlePreconnect = titlePreconnect; return this; } @CustomType.Setter public Builder titlePreload(@Nullable String titlePreload) { + this.titlePreload = titlePreload; return this; } @CustomType.Setter public Builder titleRo(@Nullable String titleRo) { + this.titleRo = titleRo; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompression.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompression.java index e0aee1d251c..64029274876 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompression.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompression.java @@ -146,96 +146,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAdaptiveImageCompres @CustomType.Setter public Builder compressMobile(@Nullable Boolean compressMobile) { + this.compressMobile = compressMobile; return this; } @CustomType.Setter public Builder compressStandard(@Nullable Boolean compressStandard) { + this.compressStandard = compressStandard; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier1MobileCompressionMethod(@Nullable String tier1MobileCompressionMethod) { + this.tier1MobileCompressionMethod = tier1MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier1MobileCompressionValue(@Nullable Integer tier1MobileCompressionValue) { + this.tier1MobileCompressionValue = tier1MobileCompressionValue; return this; } @CustomType.Setter public Builder tier1StandardCompressionMethod(@Nullable String tier1StandardCompressionMethod) { + this.tier1StandardCompressionMethod = tier1StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier1StandardCompressionValue(@Nullable Integer tier1StandardCompressionValue) { + this.tier1StandardCompressionValue = tier1StandardCompressionValue; return this; } @CustomType.Setter public Builder tier2MobileCompressionMethod(@Nullable String tier2MobileCompressionMethod) { + this.tier2MobileCompressionMethod = tier2MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier2MobileCompressionValue(@Nullable Integer tier2MobileCompressionValue) { + this.tier2MobileCompressionValue = tier2MobileCompressionValue; return this; } @CustomType.Setter public Builder tier2StandardCompressionMethod(@Nullable String tier2StandardCompressionMethod) { + this.tier2StandardCompressionMethod = tier2StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier2StandardCompressionValue(@Nullable Integer tier2StandardCompressionValue) { + this.tier2StandardCompressionValue = tier2StandardCompressionValue; return this; } @CustomType.Setter public Builder tier3MobileCompressionMethod(@Nullable String tier3MobileCompressionMethod) { + this.tier3MobileCompressionMethod = tier3MobileCompressionMethod; return this; } @CustomType.Setter public Builder tier3MobileCompressionValue(@Nullable Integer tier3MobileCompressionValue) { + this.tier3MobileCompressionValue = tier3MobileCompressionValue; return this; } @CustomType.Setter public Builder tier3StandardCompressionMethod(@Nullable String tier3StandardCompressionMethod) { + this.tier3StandardCompressionMethod = tier3StandardCompressionMethod; return this; } @CustomType.Setter public Builder tier3StandardCompressionValue(@Nullable Integer tier3StandardCompressionValue) { + this.tier3StandardCompressionValue = tier3StandardCompressionValue; return this; } @CustomType.Setter public Builder titleAicMobile(@Nullable String titleAicMobile) { + this.titleAicMobile = titleAicMobile; return this; } @CustomType.Setter public Builder titleAicNonmobile(@Nullable String titleAicNonmobile) { + this.titleAicNonmobile = titleAicNonmobile; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced.java index 5937782eddd..2987bc3f9fc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAdvanced defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting.java index 64d57c21ee5..7424c1224a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting.java @@ -92,51 +92,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAggregatedReporting @CustomType.Setter public Builder attribute1(@Nullable String attribute1) { + this.attribute1 = attribute1; return this; } @CustomType.Setter public Builder attribute2(@Nullable String attribute2) { + this.attribute2 = attribute2; return this; } @CustomType.Setter public Builder attribute3(@Nullable String attribute3) { + this.attribute3 = attribute3; return this; } @CustomType.Setter public Builder attribute4(@Nullable String attribute4) { + this.attribute4 = attribute4; return this; } @CustomType.Setter public Builder attributesCount(@Nullable Integer attributesCount) { + this.attributesCount = attributesCount; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder reportName(@Nullable String reportName) { + this.reportName = reportName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer.java index 49a0c00ec30..b705b4f674a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizer defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag.java index a253b7e2321..20f470a2e96 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAkamaizerTag default @CustomType.Setter public Builder includeTagsAttribute(@Nullable Boolean includeTagsAttribute) { + this.includeTagsAttribute = includeTagsAttribute; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchHostname(@Nullable String matchHostname) { + this.matchHostname = matchHostname; return this; } @CustomType.Setter public Builder replaceAll(@Nullable Boolean replaceAll) { + this.replaceAll = replaceAll; return this; } @CustomType.Setter public Builder replacementHostname(@Nullable String replacementHostname) { + this.replacementHostname = replacementHostname; return this; } @CustomType.Setter public Builder scope(@Nullable String scope) { + this.scope = scope; return this; } @CustomType.Setter public Builder tagsAttribute(@Nullable String tagsAttribute) { + this.tagsAttribute = tagsAttribute; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierarchy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierarchy.java index dfa680da2d0..17cff4e18f3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierarchy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierarchy.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllHttpInCacheHierar @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigins.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigins.java index 8d562b2322e..3778511fb87 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigins.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigins.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowCloudletsOrigin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder honorBaseDirectory(@Nullable Boolean honorBaseDirectory) { + this.honorBaseDirectory = honorBaseDirectory; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder purgeOriginQueryParameter(@Nullable String purgeOriginQueryParameter) { + this.purgeOriginQueryParameter = purgeOriginQueryParameter; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete.java index 64f98ddda8a..5ce25df1e44 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowDelete defaults @CustomType.Setter public Builder allowBody(@Nullable Boolean allowBody) { + this.allowBody = allowBody; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySharing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySharing.java index 8b6975a78f8..d40ca601654 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySharing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySharing.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsCacheKeySh @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade.java index 3d90e7a6809..a62230dc9a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowHttpsDowngrade @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions.java index d0382cda2f0..48325fe4ba5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowOptions default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch.java index d323095895b..95e558a494b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowPatch defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost.java index b7b5109b00f..088a0003a49 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowPost defaults) @CustomType.Setter public Builder allowWithoutContentLength(@Nullable Boolean allowWithoutContentLength) { + this.allowWithoutContentLength = allowWithoutContentLength; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut.java index 356295e9c0d..c6aac5276b1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowPut defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncoding.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncoding.java index bc3e997a218..20966b35d37 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncoding.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncoding.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAllowTransferEncodin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader.java index 93858735337..6609b59d985 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAltSvcHeader default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maxAge(@Nullable Integer maxAge) { + this.maxAge = maxAge; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization.java index 31ef226dd06..43381a6531e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization.java @@ -125,76 +125,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritization de @CustomType.Setter public Builder alternateResponseCacheTtl(@Nullable Integer alternateResponseCacheTtl) { + this.alternateResponseCacheTtl = alternateResponseCacheTtl; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder netStoragePath(@Nullable String netStoragePath) { + this.netStoragePath = netStoragePath; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder throttledCpCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCode throttledCpCode) { + this.throttledCpCode = throttledCpCode; return this; } @CustomType.Setter public Builder throttledStatusCode(@Nullable Integer throttledStatusCode) { + this.throttledStatusCode = throttledStatusCode; return this; } @CustomType.Setter public Builder useThrottledCpCode(@Nullable Boolean useThrottledCpCode) { + this.useThrottledCpCode = useThrottledCpCode; return this; } @CustomType.Setter public Builder useThrottledStatusCode(@Nullable Boolean useThrottledStatusCode) { + this.useThrottledStatusCode = useThrottledStatusCode; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationCloudletPolicy.java index f5bf4b456d4..bd699ee4329 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationClo @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNetStorage.java index 268f759713d..c63a9c63bb2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationNet @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCode.java index 0516f39429c..73ebe08e31b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java index f208401598d..e0a0f3ba9e1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThrottledCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApiPrioritizationThr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancer.java index c5bc3729657..0bcbee380f3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancer.java @@ -204,56 +204,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalan @CustomType.Setter public Builder allDownNetStorage(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerAllDownNetStorage allDownNetStorage) { + this.allDownNetStorage = allDownNetStorage; return this; } @CustomType.Setter public Builder allDownNetStorageFile(@Nullable String allDownNetStorageFile) { + this.allDownNetStorageFile = allDownNetStorageFile; return this; } @CustomType.Setter public Builder allDownStatusCode(@Nullable String allDownStatusCode) { + this.allDownStatusCode = allDownStatusCode; return this; } @CustomType.Setter public Builder allDownTitle(@Nullable String allDownTitle) { + this.allDownTitle = allDownTitle; return this; } @CustomType.Setter public Builder allowCachePrefresh(@Nullable Boolean allowCachePrefresh) { + this.allowCachePrefresh = allowCachePrefresh; return this; } @CustomType.Setter public Builder cachedContentTitle(@Nullable String cachedContentTitle) { + this.cachedContentTitle = cachedContentTitle; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverAttemptsThreshold(@Nullable Integer failoverAttemptsThreshold) { + this.failoverAttemptsThreshold = failoverAttemptsThreshold; return this; } @CustomType.Setter public Builder failoverMode(@Nullable String failoverMode) { + this.failoverMode = failoverMode; return this; } @CustomType.Setter public Builder failoverOriginMaps(@Nullable List failoverOriginMaps) { + this.failoverOriginMaps = failoverOriginMaps; return this; } @@ -262,6 +273,7 @@ public Builder failoverOriginMaps(GetPropertyRulesBuilderRulesV20230530BehaviorA } @CustomType.Setter public Builder failoverStatusCodes(@Nullable List failoverStatusCodes) { + this.failoverStatusCodes = failoverStatusCodes; return this; } @@ -270,81 +282,97 @@ public Builder failoverStatusCodes(String... failoverStatusCodes) { } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originCookieName(@Nullable String originCookieName) { + this.originCookieName = originCookieName; return this; } @CustomType.Setter public Builder specifyStickinessCookieDomain(@Nullable Boolean specifyStickinessCookieDomain) { + this.specifyStickinessCookieDomain = specifyStickinessCookieDomain; return this; } @CustomType.Setter public Builder stickinessCookieAutomaticSalt(@Nullable Boolean stickinessCookieAutomaticSalt) { + this.stickinessCookieAutomaticSalt = stickinessCookieAutomaticSalt; return this; } @CustomType.Setter public Builder stickinessCookieDomain(@Nullable String stickinessCookieDomain) { + this.stickinessCookieDomain = stickinessCookieDomain; return this; } @CustomType.Setter public Builder stickinessCookieSalt(@Nullable String stickinessCookieSalt) { + this.stickinessCookieSalt = stickinessCookieSalt; return this; } @CustomType.Setter public Builder stickinessCookieSetHttpOnlyFlag(@Nullable Boolean stickinessCookieSetHttpOnlyFlag) { + this.stickinessCookieSetHttpOnlyFlag = stickinessCookieSetHttpOnlyFlag; return this; } @CustomType.Setter public Builder stickinessCookieType(@Nullable String stickinessCookieType) { + this.stickinessCookieType = stickinessCookieType; return this; } @CustomType.Setter public Builder stickinessDuration(@Nullable String stickinessDuration) { + this.stickinessDuration = stickinessDuration; return this; } @CustomType.Setter public Builder stickinessExpirationDate(@Nullable String stickinessExpirationDate) { + this.stickinessExpirationDate = stickinessExpirationDate; return this; } @CustomType.Setter public Builder stickinessRefresh(@Nullable Boolean stickinessRefresh) { + this.stickinessRefresh = stickinessRefresh; return this; } @CustomType.Setter public Builder stickinessTitle(@Nullable String stickinessTitle) { + this.stickinessTitle = stickinessTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerAllDownNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerAllDownNetStorage.java index f6f82c23081..a64091ecb1f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerAllDownNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerAllDownNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalan @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerCloudletPolicy.java index f4542802a1d..8d30fb53d62 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalan @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerFailoverOriginMap.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerFailoverOriginMap.java index 83022c598f7..4597e87d337 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerFailoverOriginMap.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalancerFailoverOriginMap.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorApplicationLoadBalan @CustomType.Setter public Builder fromOriginId(@Nullable String fromOriginId) { + this.fromOriginId = fromOriginId; return this; } @CustomType.Setter public Builder toOriginIds(@Nullable List toOriginIds) { + this.toOriginIds = toOriginIds; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation.java index a789f8e493e..21cfe0926a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation.java @@ -165,111 +165,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder populationCookieAutomaticSalt(@Nullable Boolean populationCookieAutomaticSalt) { + this.populationCookieAutomaticSalt = populationCookieAutomaticSalt; return this; } @CustomType.Setter public Builder populationCookieDomain(@Nullable String populationCookieDomain) { + this.populationCookieDomain = populationCookieDomain; return this; } @CustomType.Setter public Builder populationCookieIncludeRuleName(@Nullable Boolean populationCookieIncludeRuleName) { + this.populationCookieIncludeRuleName = populationCookieIncludeRuleName; return this; } @CustomType.Setter public Builder populationCookieSalt(@Nullable String populationCookieSalt) { + this.populationCookieSalt = populationCookieSalt; return this; } @CustomType.Setter public Builder populationCookieType(@Nullable String populationCookieType) { + this.populationCookieType = populationCookieType; return this; } @CustomType.Setter public Builder populationDuration(@Nullable String populationDuration) { + this.populationDuration = populationDuration; return this; } @CustomType.Setter public Builder populationRefresh(@Nullable Boolean populationRefresh) { + this.populationRefresh = populationRefresh; return this; } @CustomType.Setter public Builder populationTitle(@Nullable String populationTitle) { + this.populationTitle = populationTitle; return this; } @CustomType.Setter public Builder segmentTrackingCookieName(@Nullable String segmentTrackingCookieName) { + this.segmentTrackingCookieName = segmentTrackingCookieName; return this; } @CustomType.Setter public Builder segmentTrackingCustomHeader(@Nullable String segmentTrackingCustomHeader) { + this.segmentTrackingCustomHeader = segmentTrackingCustomHeader; return this; } @CustomType.Setter public Builder segmentTrackingMethod(@Nullable String segmentTrackingMethod) { + this.segmentTrackingMethod = segmentTrackingMethod; return this; } @CustomType.Setter public Builder segmentTrackingQueryParam(@Nullable String segmentTrackingQueryParam) { + this.segmentTrackingQueryParam = segmentTrackingQueryParam; return this; } @CustomType.Setter public Builder segmentTrackingTitle(@Nullable String segmentTrackingTitle) { + this.segmentTrackingTitle = segmentTrackingTitle; return this; } @CustomType.Setter public Builder specifyPopulationCookieDomain(@Nullable Boolean specifyPopulationCookieDomain) { + this.specifyPopulationCookieDomain = specifyPopulationCookieDomain; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentationCloudletPolicy.java index 8eb1deca369..b477eefc2d1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAudienceSegmentation @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation.java index c0bf06a7878..4f92f0d4323 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorAutoDomainValidation @CustomType.Setter public Builder autodv(@Nullable String autodv) { + this.autodv = autodv; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory.java index ad8235a4bac..73f68e68a10 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorBaseDirectory defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing.java index 83dc73c11a9..52f5d0621fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing.java @@ -98,11 +98,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorBossBeaconing defaul @CustomType.Setter public Builder conditionalErrorPattern(@Nullable String conditionalErrorPattern) { + this.conditionalErrorPattern = conditionalErrorPattern; return this; } @CustomType.Setter public Builder conditionalHttpStatuses(@Nullable List conditionalHttpStatuses) { + this.conditionalHttpStatuses = conditionalHttpStatuses; return this; } @@ -111,46 +113,55 @@ public Builder conditionalHttpStatuses(String... conditionalHttpStatuses) { } @CustomType.Setter public Builder conditionalSamplingFrequency(@Nullable String conditionalSamplingFrequency) { + this.conditionalSamplingFrequency = conditionalSamplingFrequency; return this; } @CustomType.Setter public Builder cpcodes(@Nullable String cpcodes) { + this.cpcodes = cpcodes; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardType(@Nullable String forwardType) { + this.forwardType = forwardType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requestType(@Nullable String requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder samplingFrequency(@Nullable String samplingFrequency) { + this.samplingFrequency = samplingFrequency; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs.java index adedf1f5423..1f856e4eebd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorBreadcrumbs defaults @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder loggingEnabled(@Nullable Boolean loggingEnabled) { + this.loggingEnabled = loggingEnabled; return this; } @CustomType.Setter public Builder optMode(@Nullable Boolean optMode) { + this.optMode = optMode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection.java index 6c2e1c48a71..dea6d8699e0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorBreakConnection defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBrotli.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBrotli.java index 68cb98133e6..a094bf742c2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBrotli.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorBrotli.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorBrotli defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheError.java index 27062976914..9e8fc56b806 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheError.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheError defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preserveStale(@Nullable Boolean preserveStale) { + this.preserveStale = preserveStale; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheId.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheId.java index 3ef733acb7c..8bed788a9a9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheId.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheId.java @@ -80,6 +80,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheId defaults) { @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -88,36 +89,43 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder includeValue(@Nullable Boolean includeValue) { + this.includeValue = includeValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder optional(@Nullable Boolean optional) { + this.optional = optional; return this; } @CustomType.Setter public Builder rule(@Nullable String rule) { + this.rule = rule; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase.java index b78b9b33d36..5e3af105aee 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyIgnoreCase d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams.java index e5224efca54..c91892bd3fe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams.java @@ -68,21 +68,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyQueryParams @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder exactMatch(@Nullable Boolean exactMatch) { + this.exactMatch = exactMatch; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -91,11 +95,13 @@ public Builder parameters(String... parameters) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite.java index e87c8b75271..88afac9d52b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheKeyRewrite defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder purgeKey(@Nullable String purgeKey) { + this.purgeKey = purgeKey; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCachePost.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCachePost.java index 100e576e508..cef82de9567 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCachePost.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCachePost.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCachePost defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useBody(@Nullable String useBody) { + this.useBody = useBody; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect.java index 57bbcb50fd4..543b3d0f2f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheRedirect defaul @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag.java index 47ff310b87c..43ccec03d90 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheTag defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder tag(@Nullable String tag) { + this.tag = tag; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible.java index 74016fde9b7..d0db05f353d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCacheTagVisible defa @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCaching.java index 6c7c9d2a612..32e98036029 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCaching.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCaching defaults) { @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder cacheControlDirectives(@Nullable String cacheControlDirectives) { + this.cacheControlDirectives = cacheControlDirectives; return this; } @CustomType.Setter public Builder cacheabilitySettings(@Nullable String cacheabilitySettings) { + this.cacheabilitySettings = cacheabilitySettings; return this; } @CustomType.Setter public Builder defaultTtl(@Nullable String defaultTtl) { + this.defaultTtl = defaultTtl; return this; } @CustomType.Setter public Builder enhancedRfcSupport(@Nullable Boolean enhancedRfcSupport) { + this.enhancedRfcSupport = enhancedRfcSupport; return this; } @CustomType.Setter public Builder expirationSettings(@Nullable String expirationSettings) { + this.expirationSettings = expirationSettings; return this; } @CustomType.Setter public Builder honorMaxAge(@Nullable Boolean honorMaxAge) { + this.honorMaxAge = honorMaxAge; return this; } @CustomType.Setter public Builder honorMustRevalidate(@Nullable Boolean honorMustRevalidate) { + this.honorMustRevalidate = honorMustRevalidate; return this; } @CustomType.Setter public Builder honorNoCache(@Nullable Boolean honorNoCache) { + this.honorNoCache = honorNoCache; return this; } @CustomType.Setter public Builder honorNoStore(@Nullable Boolean honorNoStore) { + this.honorNoStore = honorNoStore; return this; } @CustomType.Setter public Builder honorPrivate(@Nullable Boolean honorPrivate) { + this.honorPrivate = honorPrivate; return this; } @CustomType.Setter public Builder honorProxyRevalidate(@Nullable Boolean honorProxyRevalidate) { + this.honorProxyRevalidate = honorProxyRevalidate; return this; } @CustomType.Setter public Builder honorSMaxage(@Nullable Boolean honorSMaxage) { + this.honorSMaxage = honorSMaxage; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mustRevalidate(@Nullable Boolean mustRevalidate) { + this.mustRevalidate = mustRevalidate; return this; } @CustomType.Setter public Builder revalidationSettings(@Nullable String revalidationSettings) { + this.revalidationSettings = revalidationSettings; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization.java index 02aab0b1a17..be4c415b48d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCentralAuthorization @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects.java index cd81a7fb618..af7e786a932 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorChaseRedirects defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder limit(@Nullable String limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serve404(@Nullable Boolean serve404) { + this.serve404 = serve404; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristics.java index 6ecbff1d67e..8b78f997ec6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristics.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorClientCharacteristic @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects.java index 9884441715c..f7925d06080 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects.java @@ -62,6 +62,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCloudInterconnects d @CustomType.Setter public Builder cloudLocations(@Nullable List cloudLocations) { + this.cloudLocations = cloudLocations; return this; } @@ -70,21 +71,25 @@ public Builder cloudLocations(String... cloudLocations) { } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper.java index e183039fea4..8109a2d922b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapper default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced.java index 8857dcd1812..de7afc4c39d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCloudWrapperAdvanced @CustomType.Setter public Builder customFailoverMap(@Nullable String customFailoverMap) { + this.customFailoverMap = customFailoverMap; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverMap(@Nullable String failoverMap) { + this.failoverMap = failoverMap; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientData.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientData.java index c623c81d8f0..2c9c5605458 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientData.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientData.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCommonMediaClientDat @CustomType.Setter public Builder enableCmcdSegmentPrefetch(@Nullable Boolean enableCmcdSegmentPrefetch) { + this.enableCmcdSegmentPrefetch = enableCmcdSegmentPrefetch; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin.java index 8e89e9df604..3d6034a9d3b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorConditionalOrigin de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse.java index a742afa6c1c..c1d72dc12dd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorConstructResponse de @CustomType.Setter public Builder body(@Nullable String body) { + this.body = body; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forceEviction(@Nullable Boolean forceEviction) { + this.forceEviction = forceEviction; return this; } @CustomType.Setter public Builder ignorePurge(@Nullable Boolean ignorePurge) { + this.ignorePurge = ignorePurge; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristics.java index 317dd89162a..bdd345a85d7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristics.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsAmd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsAmd.java index 3694065139b..7162a6ee003 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsAmd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsAmd.java @@ -165,111 +165,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationDashCustom(@Nullable Integer segmentDurationDashCustom) { + this.segmentDurationDashCustom = segmentDurationDashCustom; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHdsCustom(@Nullable Integer segmentDurationHdsCustom) { + this.segmentDurationHdsCustom = segmentDurationHdsCustom; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationHlsCustom(@Nullable Double segmentDurationHlsCustom) { + this.segmentDurationHlsCustom = segmentDurationHlsCustom; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentDurationSmoothCustom(@Nullable Double segmentDurationSmoothCustom) { + this.segmentDurationSmoothCustom = segmentDurationSmoothCustom; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsDd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsDd.java index a53b79af86e..1187b8c4348 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsDd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsDd.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder optimizeOption(@Nullable Boolean optimizeOption) { + this.optimizeOption = optimizeOption; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLargeFile.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLargeFile.java index abe69e7fba0..89b34579493 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLargeFile.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLargeFile.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLive.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLive.java index 8bc6f425c6b..84aa9564d3f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLive.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdLive.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdVod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdVod.java index 03c20dad7ec..fe048126543 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdVod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristicsWsdVod.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentCharacteristi @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder dash(@Nullable Boolean dash) { + this.dash = dash; return this; } @CustomType.Setter public Builder hds(@Nullable Boolean hds) { + this.hds = hds; return this; } @CustomType.Setter public Builder hls(@Nullable Boolean hls) { + this.hls = hls; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder segmentDurationDash(@Nullable String segmentDurationDash) { + this.segmentDurationDash = segmentDurationDash; return this; } @CustomType.Setter public Builder segmentDurationHds(@Nullable String segmentDurationHds) { + this.segmentDurationHds = segmentDurationHds; return this; } @CustomType.Setter public Builder segmentDurationHls(@Nullable String segmentDurationHls) { + this.segmentDurationHls = segmentDurationHls; return this; } @CustomType.Setter public Builder segmentDurationSmooth(@Nullable String segmentDurationSmooth) { + this.segmentDurationSmooth = segmentDurationSmooth; return this; } @CustomType.Setter public Builder segmentSizeDash(@Nullable String segmentSizeDash) { + this.segmentSizeDash = segmentSizeDash; return this; } @CustomType.Setter public Builder segmentSizeHds(@Nullable String segmentSizeHds) { + this.segmentSizeHds = segmentSizeHds; return this; } @CustomType.Setter public Builder segmentSizeHls(@Nullable String segmentSizeHls) { + this.segmentSizeHls = segmentSizeHls; return this; } @CustomType.Setter public Builder segmentSizeSmooth(@Nullable String segmentSizeSmooth) { + this.segmentSizeSmooth = segmentSizeSmooth; return this; } @CustomType.Setter public Builder smooth(@Nullable Boolean smooth) { + this.smooth = smooth; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition.java index ca21ba1eff3..6c88f65bdac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentPrePosition d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder firstLocation(@Nullable String firstLocation) { + this.firstLocation = firstLocation; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder secondLocation(@Nullable String secondLocation) { + this.secondLocation = secondLocation; return this; } @CustomType.Setter public Builder sourceType(@Nullable String sourceType) { + this.sourceType = sourceType; return this; } @CustomType.Setter public Builder targets(@Nullable String targets) { + this.targets = targets; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProtection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProtection.java index d47b66fa3df..fac74e62d97 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProtection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProtection.java @@ -182,6 +182,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorContentTargetingProt @CustomType.Setter public Builder countries(@Nullable List countries) { + this.countries = countries; return this; } @@ -190,6 +191,7 @@ public Builder countries(String... countries) { } @CustomType.Setter public Builder dmas(@Nullable List dmas) { + this.dmas = dmas; return this; } @@ -198,56 +200,67 @@ public Builder dmas(String... dmas) { } @CustomType.Setter public Builder enableGeoProtection(@Nullable Boolean enableGeoProtection) { + this.enableGeoProtection = enableGeoProtection; return this; } @CustomType.Setter public Builder enableGeoRedirectOnDeny(@Nullable Boolean enableGeoRedirectOnDeny) { + this.enableGeoRedirectOnDeny = enableGeoRedirectOnDeny; return this; } @CustomType.Setter public Builder enableIpProtection(@Nullable Boolean enableIpProtection) { + this.enableIpProtection = enableIpProtection; return this; } @CustomType.Setter public Builder enableIpRedirectOnDeny(@Nullable Boolean enableIpRedirectOnDeny) { + this.enableIpRedirectOnDeny = enableIpRedirectOnDeny; return this; } @CustomType.Setter public Builder enableReferrerProtection(@Nullable Boolean enableReferrerProtection) { + this.enableReferrerProtection = enableReferrerProtection; return this; } @CustomType.Setter public Builder enableReferrerRedirectOnDeny(@Nullable Boolean enableReferrerRedirectOnDeny) { + this.enableReferrerRedirectOnDeny = enableReferrerRedirectOnDeny; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder geoProtectionMode(@Nullable String geoProtectionMode) { + this.geoProtectionMode = geoProtectionMode; return this; } @CustomType.Setter public Builder geoProtectionTitle(@Nullable String geoProtectionTitle) { + this.geoProtectionTitle = geoProtectionTitle; return this; } @CustomType.Setter public Builder geoRedirectUrl(@Nullable String geoRedirectUrl) { + this.geoRedirectUrl = geoRedirectUrl; return this; } @CustomType.Setter public Builder ipAddresses(@Nullable List ipAddresses) { + this.ipAddresses = ipAddresses; return this; } @@ -256,26 +269,31 @@ public Builder ipAddresses(String... ipAddresses) { } @CustomType.Setter public Builder ipProtectionMode(@Nullable String ipProtectionMode) { + this.ipProtectionMode = ipProtectionMode; return this; } @CustomType.Setter public Builder ipProtectionTitle(@Nullable String ipProtectionTitle) { + this.ipProtectionTitle = ipProtectionTitle; return this; } @CustomType.Setter public Builder ipRedirectUrl(@Nullable String ipRedirectUrl) { + this.ipRedirectUrl = ipRedirectUrl; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder overrideIpAddresses(@Nullable List overrideIpAddresses) { + this.overrideIpAddresses = overrideIpAddresses; return this; } @@ -284,6 +302,7 @@ public Builder overrideIpAddresses(String... overrideIpAddresses) { } @CustomType.Setter public Builder referrerDomains(@Nullable List referrerDomains) { + this.referrerDomains = referrerDomains; return this; } @@ -292,21 +311,25 @@ public Builder referrerDomains(String... referrerDomains) { } @CustomType.Setter public Builder referrerProtectionMode(@Nullable String referrerProtectionMode) { + this.referrerProtectionMode = referrerProtectionMode; return this; } @CustomType.Setter public Builder referrerProtectionTitle(@Nullable String referrerProtectionTitle) { + this.referrerProtectionTitle = referrerProtectionTitle; return this; } @CustomType.Setter public Builder referrerRedirectUrl(@Nullable String referrerRedirectUrl) { + this.referrerRedirectUrl = referrerRedirectUrl; return this; } @CustomType.Setter public Builder regions(@Nullable List regions) { + this.regions = regions; return this; } @@ -315,11 +338,13 @@ public Builder regions(String... regions) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport.java index 4f5ef93267c..2624e820edd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport.java @@ -104,26 +104,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCorsSupport defaults @CustomType.Setter public Builder allowCredentials(@Nullable Boolean allowCredentials) { + this.allowCredentials = allowCredentials; return this; } @CustomType.Setter public Builder allowHeaders(@Nullable String allowHeaders) { + this.allowHeaders = allowHeaders; return this; } @CustomType.Setter public Builder allowOrigins(@Nullable String allowOrigins) { + this.allowOrigins = allowOrigins; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder exposeHeaders(@Nullable List exposeHeaders) { + this.exposeHeaders = exposeHeaders; return this; } @@ -132,6 +137,7 @@ public Builder exposeHeaders(String... exposeHeaders) { } @CustomType.Setter public Builder headers(@Nullable List headers) { + this.headers = headers; return this; } @@ -140,11 +146,13 @@ public Builder headers(String... headers) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder methods(@Nullable List methods) { + this.methods = methods; return this; } @@ -153,6 +161,7 @@ public Builder methods(String... methods) { } @CustomType.Setter public Builder origins(@Nullable List origins) { + this.origins = origins; return this; } @@ -161,16 +170,19 @@ public Builder origins(String... origins) { } @CustomType.Setter public Builder preflightMaxAge(@Nullable String preflightMaxAge) { + this.preflightMaxAge = preflightMaxAge; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCode.java index a378597f1e3..a0c4579a4b3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCode.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCpCode defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue.java index cd192e9bc29..6db152fbcd1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValue defaults @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLimits.java index 3fdab0cf37c..330f670e80a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCpCodeValueCpCodeLim @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior.java index 5aef3f450c8..4b19194d423 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorCustomBehavior defau @CustomType.Setter public Builder behaviorId(@Nullable String behaviorId) { + this.behaviorId = behaviorId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDatastream.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDatastream.java index b87c09c98a2..13c76b520bd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDatastream.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDatastream.java @@ -105,36 +105,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDatastream defaults) @CustomType.Setter public Builder beaconStreamTitle(@Nullable String beaconStreamTitle) { + this.beaconStreamTitle = beaconStreamTitle; return this; } @CustomType.Setter public Builder collectMidgressTraffic(@Nullable Boolean collectMidgressTraffic) { + this.collectMidgressTraffic = collectMidgressTraffic; return this; } @CustomType.Setter public Builder datastreamIds(@Nullable String datastreamIds) { + this.datastreamIds = datastreamIds; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logEnabled(@Nullable Boolean logEnabled) { + this.logEnabled = logEnabled; return this; } @CustomType.Setter public Builder logStreamNames(@Nullable List logStreamNames) { + this.logStreamNames = logStreamNames; return this; } @@ -143,26 +150,31 @@ public Builder logStreamNames(String... logStreamNames) { } @CustomType.Setter public Builder logStreamTitle(@Nullable String logStreamTitle) { + this.logStreamTitle = logStreamTitle; return this; } @CustomType.Setter public Builder samplingPercentage(@Nullable Integer samplingPercentage) { + this.samplingPercentage = samplingPercentage; return this; } @CustomType.Setter public Builder streamType(@Nullable String streamType) { + this.streamType = streamType; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcp.java index b5624187599..a3bf715ba80 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcp.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcp defaults) { @CustomType.Setter public Builder anonymous(@Nullable Boolean anonymous) { + this.anonymous = anonymous; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder gwenabled(@Nullable Boolean gwenabled) { + this.gwenabled = gwenabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder namespaceId(@Nullable String namespaceId) { + this.namespaceId = namespaceId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tlsenabled(@Nullable Boolean tlsenabled) { + this.tlsenabled = tlsenabled; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder wsenabled(@Nullable Boolean wsenabled) { + this.wsenabled = wsenabled; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransformation.java index 6cb6deca705..b8e44d11453 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransformation.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthHmacTransform @CustomType.Setter public Builder hashConversionAlgorithm(@Nullable String hashConversionAlgorithm) { + this.hashConversionAlgorithm = hashConversionAlgorithm; return this; } @CustomType.Setter public Builder hashConversionKey(@Nullable String hashConversionKey) { + this.hashConversionKey = hashConversionKey; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransformation.java index 2f6aff202c3..7085a4b552a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransformation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthRegexTransfor @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTransformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTransformation.java index 6bf5c1b92ef..24ac824fba9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTransformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTransformation.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthSubstringTran @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder substringEnd(@Nullable String substringEnd) { + this.substringEnd = substringEnd; return this; } @CustomType.Setter public Builder substringStart(@Nullable String substringStart) { + this.substringStart = substringStart; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtractor.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtractor.java index 7d2a3f9c36b..fcbc737e6a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtractor.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtractor.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpAuthVariableExtra @CustomType.Setter public Builder certificateField(@Nullable String certificateField) { + this.certificateField = certificateField; return this; } @CustomType.Setter public Builder dcpMutualAuthProcessingVariableId(@Nullable String dcpMutualAuthProcessingVariableId) { + this.dcpMutualAuthProcessingVariableId = dcpMutualAuthProcessingVariableId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroups.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroups.java index 82dd124ff4a..bd3ce04d8a2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroups.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroups.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpDefaultAuthzGroup @CustomType.Setter public Builder groupNames(@Nullable List groupNames) { + this.groupNames = groupNames; return this; } @@ -64,16 +65,19 @@ public Builder groupNames(String... groupNames) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations.java index 8c8203db2ca..a17cdf0508b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpDevRelations defa @CustomType.Setter public Builder customValues(@Nullable Boolean customValues) { + this.customValues = customValues; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth.java index 2ff5fc28ca2..111449db727 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDcpRealTimeAuth defa @CustomType.Setter public Builder extractHostname(@Nullable Boolean extractHostname) { + this.extractHostname = extractHostname; return this; } @CustomType.Setter public Builder extractJurisdiction(@Nullable Boolean extractJurisdiction) { + this.extractJurisdiction = extractJurisdiction; return this; } @CustomType.Setter public Builder extractNamespace(@Nullable Boolean extractNamespace) { + this.extractNamespace = extractNamespace; return this; } @CustomType.Setter public Builder hostnameClaim(@Nullable String hostnameClaim) { + this.hostnameClaim = hostnameClaim; return this; } @CustomType.Setter public Builder jurisdictionClaim(@Nullable String jurisdictionClaim) { + this.jurisdictionClaim = jurisdictionClaim; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder namespaceClaim(@Nullable String namespaceClaim) { + this.namespaceClaim = namespaceClaim; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt.java index 4e44ab5a41c..49d012653d1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDeliveryReceipt defa @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess.java index e09edc2a751..ee191a08f5d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDenyAccess defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder reason(@Nullable String reason) { + this.reason = reason; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAccess.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAccess.java index d33755ce71a..4c393eeee5f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAccess.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAccess.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDenyDirectFailoverAc @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicCacheId.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicCacheId.java index ec54cc757cc..7c018c5d80b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicCacheId.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicCacheId.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristic @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -64,16 +65,19 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicHeader.java index f2b395c5f82..5caea583739 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristicHeader.java @@ -56,6 +56,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDeviceCharacteristic @CustomType.Setter public Builder elements(@Nullable List elements) { + this.elements = elements; return this; } @@ -64,16 +65,19 @@ public Builder elements(String... elements) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh.java index 8308f6b2e33..8a58e51ae77 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDnsAsyncRefresh defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh.java index 52d724a6917..c76eff5cc68 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDnsPrefresh defaults @CustomType.Setter public Builder delay(@Nullable String delay) { + this.delay = delay; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol.java index 35d8b0544fd..7e1838b2bb8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDowngradeProtocol de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMarker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMarker.java index 79a35887b7a..39a4ace5db8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMarker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMarker.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDownloadCompleteMark @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification.java index 2f819f9a4eb..15806f6c1b1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDownloadNotification @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache.java index 7c79c8843ee..ec36afc9abe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDownstreamCache defa @CustomType.Setter public Builder allowBehavior(@Nullable String allowBehavior) { + this.allowBehavior = allowBehavior; return this; } @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sendHeaders(@Nullable String sendHeaders) { + this.sendHeaders = sendHeaders; return this; } @CustomType.Setter public Builder sendPrivate(@Nullable Boolean sendPrivate) { + this.sendPrivate = sendPrivate; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder ttl(@Nullable String ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimization.java index 0ff533f98a2..5e10c1870a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOp @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimizationOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimizationOverride.java index 6116cdbec25..1cb5d537696 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimizationOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOptimizationOverride.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDynamicThroughtputOp @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder throughput(@Nullable String throughput) { + this.throughput = throughput; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent.java index cad85b2b555..8f824014c0f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorDynamicWebContent de @CustomType.Setter public Builder imageCompression(@Nullable Boolean imageCompression) { + this.imageCompression = imageCompression; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefetch(@Nullable Boolean prefetch) { + this.prefetch = prefetch; return this; } @CustomType.Setter public Builder realUserMonitoring(@Nullable Boolean realUserMonitoring) { + this.realUserMonitoring = realUserMonitoring; return this; } @CustomType.Setter public Builder sureRoute(@Nullable Boolean sureRoute) { + this.sureRoute = sureRoute; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload.java index 314700179f3..92acfc82fcb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEcmsBulkUpload defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase.java index 55e0b8e3f1c..b3e21cdb23a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDatabase default @CustomType.Setter public Builder database(@Nullable String database) { + this.database = database; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset.java index e3e93a1259f..1e9a060a287 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEcmsDataset defaults @CustomType.Setter public Builder dataset(@Nullable String dataset) { + this.dataset = dataset; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regexPattern(@Nullable String regexPattern) { + this.regexPattern = regexPattern; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey.java index 039c0185861..4617d5d48b8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEcmsObjectKey defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect.java index 2670ecb8a52..92349be2666 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect.java @@ -104,26 +104,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeConnect defaults @CustomType.Setter public Builder aggregateLines(@Nullable String aggregateLines) { + this.aggregateLines = aggregateLines; return this; } @CustomType.Setter public Builder aggregateSize(@Nullable String aggregateSize) { + this.aggregateSize = aggregateSize; return this; } @CustomType.Setter public Builder aggregateTime(@Nullable String aggregateTime) { + this.aggregateTime = aggregateTime; return this; } @CustomType.Setter public Builder apiConnector(@Nullable String apiConnector) { + this.apiConnector = apiConnector; return this; } @CustomType.Setter public Builder apiDataElements(@Nullable List apiDataElements) { + this.apiDataElements = apiDataElements; return this; } @@ -132,36 +137,43 @@ public Builder apiDataElements(String... apiDataElements) { } @CustomType.Setter public Builder destinationHostname(@Nullable String destinationHostname) { + this.destinationHostname = destinationHostname; return this; } @CustomType.Setter public Builder destinationPath(@Nullable String destinationPath) { + this.destinationPath = destinationPath; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder overrideAggregateSettings(@Nullable Boolean overrideAggregateSettings) { + this.overrideAggregateSettings = overrideAggregateSettings; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdvanced.java index e6ab033a522..ff5f95680ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingAdv @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenter.java index a6a370d5ba5..18599ef34e3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenter.java @@ -99,21 +99,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDat @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder enableFailover(@Nullable Boolean enableFailover) { + this.enableFailover = enableFailover; return this; } @CustomType.Setter public Builder failoverRules(@Nullable List failoverRules) { + this.failoverRules = failoverRules; return this; } @@ -122,36 +126,43 @@ public Builder failoverRules(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLo } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder ip(@Nullable String ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenterFailoverRule.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenterFailoverRule.java index 6be1a473dad..359aaef971b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenterFailoverRule.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDataCenterFailoverRule.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingDat @CustomType.Setter public Builder absolutePath(@Nullable Boolean absolutePath) { + this.absolutePath = absolutePath; return this; } @CustomType.Setter public Builder contextRoot(@Nullable String contextRoot) { + this.contextRoot = contextRoot; return this; } @CustomType.Setter public Builder failoverHostname(@Nullable String failoverHostname) { + this.failoverHostname = failoverHostname; return this; } @CustomType.Setter public Builder modifyRequest(@Nullable Boolean modifyRequest) { + this.modifyRequest = modifyRequest; return this; } @CustomType.Setter public Builder overrideHostname(@Nullable Boolean overrideHostname) { + this.overrideHostname = overrideHostname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOrigin.java index 0c715f1fc5c..9190fe2d7f5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOrigin.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeLoadBalancingOri @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder enableSessionPersistence(@Nullable Boolean enableSessionPersistence) { + this.enableSessionPersistence = enableSessionPersistence; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder id(@Nullable String id) { + this.id = id; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionPersistenceTitle(@Nullable String sessionPersistenceTitle) { + this.sessionPersistenceTitle = sessionPersistenceTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorization.java index 9ec46afd61b..bb9dce93777 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorization.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeOriginAuthorizat @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector.java index 5605a61e43c..3d736861627 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirector defau @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudletPolicy.java index b6978833c43..5a0246dd25d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeRedirectorCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape.java index 7358fe603a8..a880e9ef811 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeScape defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes.java index 2ce38da10fd..6ea83ebab99 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes.java @@ -92,21 +92,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeSideIncludes def @CustomType.Setter public Builder detectInjection(@Nullable Boolean detectInjection) { + this.detectInjection = detectInjection; return this; } @CustomType.Setter public Builder enableViaHttp(@Nullable Boolean enableViaHttp) { + this.enableViaHttp = enableViaHttp; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder i18nCharsets(@Nullable List i18nCharsets) { + this.i18nCharsets = i18nCharsets; return this; } @@ -115,31 +119,37 @@ public Builder i18nCharsets(String... i18nCharsets) { } @CustomType.Setter public Builder i18nStatus(@Nullable Boolean i18nStatus) { + this.i18nStatus = i18nStatus; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder passClientIp(@Nullable Boolean passClientIp) { + this.passClientIp = passClientIp; return this; } @CustomType.Setter public Builder passSetCookie(@Nullable Boolean passSetCookie) { + this.passSetCookie = passSetCookie; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker.java index 0b00c1f3f5b..fb123737de2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEdgeWorker defaults) @CustomType.Setter public Builder createEdgeWorker(@Nullable String createEdgeWorker) { + this.createEdgeWorker = createEdgeWorker; return this; } @CustomType.Setter public Builder edgeWorkerId(@Nullable String edgeWorkerId) { + this.edgeWorkerId = edgeWorkerId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder resourceTier(@Nullable String resourceTier) { + this.resourceTier = resourceTier; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtocol.java index be19f1752c6..9b8907b5ab6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedAkamaiProtoc @CustomType.Setter public Builder display(@Nullable String display) { + this.display = display; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetection.java index b792c937f09..7be518a3bf8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetection.java @@ -247,181 +247,217 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEnhancedProxyDetecti @CustomType.Setter public Builder anonymousVpn(@Nullable String anonymousVpn) { + this.anonymousVpn = anonymousVpn; return this; } @CustomType.Setter public Builder bestPracticeAction(@Nullable String bestPracticeAction) { + this.bestPracticeAction = bestPracticeAction; return this; } @CustomType.Setter public Builder bestPracticeRedirecturl(@Nullable String bestPracticeRedirecturl) { + this.bestPracticeRedirecturl = bestPracticeRedirecturl; return this; } @CustomType.Setter public Builder detectAnonymousVpn(@Nullable Boolean detectAnonymousVpn) { + this.detectAnonymousVpn = detectAnonymousVpn; return this; } @CustomType.Setter public Builder detectAnonymousVpnAction(@Nullable String detectAnonymousVpnAction) { + this.detectAnonymousVpnAction = detectAnonymousVpnAction; return this; } @CustomType.Setter public Builder detectAnonymousVpnRedirecturl(@Nullable String detectAnonymousVpnRedirecturl) { + this.detectAnonymousVpnRedirecturl = detectAnonymousVpnRedirecturl; return this; } @CustomType.Setter public Builder detectHostingProvider(@Nullable Boolean detectHostingProvider) { + this.detectHostingProvider = detectHostingProvider; return this; } @CustomType.Setter public Builder detectHostingProviderAction(@Nullable String detectHostingProviderAction) { + this.detectHostingProviderAction = detectHostingProviderAction; return this; } @CustomType.Setter public Builder detectHostingProviderRedirecturl(@Nullable String detectHostingProviderRedirecturl) { + this.detectHostingProviderRedirecturl = detectHostingProviderRedirecturl; return this; } @CustomType.Setter public Builder detectPublicProxy(@Nullable Boolean detectPublicProxy) { + this.detectPublicProxy = detectPublicProxy; return this; } @CustomType.Setter public Builder detectPublicProxyAction(@Nullable String detectPublicProxyAction) { + this.detectPublicProxyAction = detectPublicProxyAction; return this; } @CustomType.Setter public Builder detectPublicProxyRedirecturl(@Nullable String detectPublicProxyRedirecturl) { + this.detectPublicProxyRedirecturl = detectPublicProxyRedirecturl; return this; } @CustomType.Setter public Builder detectResidentialProxy(@Nullable Boolean detectResidentialProxy) { + this.detectResidentialProxy = detectResidentialProxy; return this; } @CustomType.Setter public Builder detectResidentialProxyAction(@Nullable String detectResidentialProxyAction) { + this.detectResidentialProxyAction = detectResidentialProxyAction; return this; } @CustomType.Setter public Builder detectResidentialProxyRedirecturl(@Nullable String detectResidentialProxyRedirecturl) { + this.detectResidentialProxyRedirecturl = detectResidentialProxyRedirecturl; return this; } @CustomType.Setter public Builder detectSmartDnsProxy(@Nullable Boolean detectSmartDnsProxy) { + this.detectSmartDnsProxy = detectSmartDnsProxy; return this; } @CustomType.Setter public Builder detectSmartDnsProxyAction(@Nullable String detectSmartDnsProxyAction) { + this.detectSmartDnsProxyAction = detectSmartDnsProxyAction; return this; } @CustomType.Setter public Builder detectSmartDnsProxyRedirecturl(@Nullable String detectSmartDnsProxyRedirecturl) { + this.detectSmartDnsProxyRedirecturl = detectSmartDnsProxyRedirecturl; return this; } @CustomType.Setter public Builder detectTorExitNode(@Nullable Boolean detectTorExitNode) { + this.detectTorExitNode = detectTorExitNode; return this; } @CustomType.Setter public Builder detectTorExitNodeAction(@Nullable String detectTorExitNodeAction) { + this.detectTorExitNodeAction = detectTorExitNodeAction; return this; } @CustomType.Setter public Builder detectTorExitNodeRedirecturl(@Nullable String detectTorExitNodeRedirecturl) { + this.detectTorExitNodeRedirecturl = detectTorExitNodeRedirecturl; return this; } @CustomType.Setter public Builder detectVpnDataCenter(@Nullable Boolean detectVpnDataCenter) { + this.detectVpnDataCenter = detectVpnDataCenter; return this; } @CustomType.Setter public Builder detectVpnDataCenterAction(@Nullable String detectVpnDataCenterAction) { + this.detectVpnDataCenterAction = detectVpnDataCenterAction; return this; } @CustomType.Setter public Builder detectVpnDataCenterRedirecturl(@Nullable String detectVpnDataCenterRedirecturl) { + this.detectVpnDataCenterRedirecturl = detectVpnDataCenterRedirecturl; return this; } @CustomType.Setter public Builder enableConfigurationMode(@Nullable String enableConfigurationMode) { + this.enableConfigurationMode = enableConfigurationMode; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forwardHeaderEnrichment(@Nullable Boolean forwardHeaderEnrichment) { + this.forwardHeaderEnrichment = forwardHeaderEnrichment; return this; } @CustomType.Setter public Builder hostingProvider(@Nullable String hostingProvider) { + this.hostingProvider = hostingProvider; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder publicProxy(@Nullable String publicProxy) { + this.publicProxy = publicProxy; return this; } @CustomType.Setter public Builder residentialProxy(@Nullable String residentialProxy) { + this.residentialProxy = residentialProxy; return this; } @CustomType.Setter public Builder smartDnsProxy(@Nullable String smartDnsProxy) { + this.smartDnsProxy = smartDnsProxy; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder torExitNode(@Nullable String torExitNode) { + this.torExitNode = torExitNode; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder vpnDataCenter(@Nullable String vpnDataCenter) { + this.vpnDataCenter = vpnDataCenter; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnrichment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnrichment.java index 895a14a1d62..381c771a4b8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnrichment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnrichment.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorEpdForwardHeaderEnri @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailAction.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailAction.java index 98bebe32aa5..738b14316c4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailAction.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailAction.java @@ -244,176 +244,211 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFailAction defaults) @CustomType.Setter public Builder actionType(@Nullable String actionType) { + this.actionType = actionType; return this; } @CustomType.Setter public Builder allowFcmParentOverride(@Nullable Boolean allowFcmParentOverride) { + this.allowFcmParentOverride = allowFcmParentOverride; return this; } @CustomType.Setter public Builder cexCustomPath(@Nullable Boolean cexCustomPath) { + this.cexCustomPath = cexCustomPath; return this; } @CustomType.Setter public Builder cexHostname(@Nullable String cexHostname) { + this.cexHostname = cexHostname; return this; } @CustomType.Setter public Builder cexPath(@Nullable String cexPath) { + this.cexPath = cexPath; return this; } @CustomType.Setter public Builder contentCustomPath(@Nullable Boolean contentCustomPath) { + this.contentCustomPath = contentCustomPath; return this; } @CustomType.Setter public Builder contentHostname(@Nullable String contentHostname) { + this.contentHostname = contentHostname; return this; } @CustomType.Setter public Builder contentPath(@Nullable String contentPath) { + this.contentPath = contentPath; return this; } @CustomType.Setter public Builder cpCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder dynamicCustomPath(@Nullable Boolean dynamicCustomPath) { + this.dynamicCustomPath = dynamicCustomPath; return this; } @CustomType.Setter public Builder dynamicMethod(@Nullable String dynamicMethod) { + this.dynamicMethod = dynamicMethod; return this; } @CustomType.Setter public Builder dynamicPath(@Nullable String dynamicPath) { + this.dynamicPath = dynamicPath; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modifyProtocol(@Nullable Boolean modifyProtocol) { + this.modifyProtocol = modifyProtocol; return this; } @CustomType.Setter public Builder netStorageHostname(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorageHostname netStorageHostname) { + this.netStorageHostname = netStorageHostname; return this; } @CustomType.Setter public Builder netStoragePath(@Nullable String netStoragePath) { + this.netStoragePath = netStoragePath; return this; } @CustomType.Setter public Builder preserveQueryString(@Nullable Boolean preserveQueryString) { + this.preserveQueryString = preserveQueryString; return this; } @CustomType.Setter public Builder protocol(@Nullable String protocol) { + this.protocol = protocol; return this; } @CustomType.Setter public Builder redirectCustomPath(@Nullable Boolean redirectCustomPath) { + this.redirectCustomPath = redirectCustomPath; return this; } @CustomType.Setter public Builder redirectHostname(@Nullable String redirectHostname) { + this.redirectHostname = redirectHostname; return this; } @CustomType.Setter public Builder redirectHostnameType(@Nullable String redirectHostnameType) { + this.redirectHostnameType = redirectHostnameType; return this; } @CustomType.Setter public Builder redirectMethod(@Nullable Integer redirectMethod) { + this.redirectMethod = redirectMethod; return this; } @CustomType.Setter public Builder redirectPath(@Nullable String redirectPath) { + this.redirectPath = redirectPath; return this; } @CustomType.Setter public Builder saasCnameEnabled(@Nullable Boolean saasCnameEnabled) { + this.saasCnameEnabled = saasCnameEnabled; return this; } @CustomType.Setter public Builder saasCnameLevel(@Nullable Integer saasCnameLevel) { + this.saasCnameLevel = saasCnameLevel; return this; } @CustomType.Setter public Builder saasCookie(@Nullable String saasCookie) { + this.saasCookie = saasCookie; return this; } @CustomType.Setter public Builder saasQueryString(@Nullable String saasQueryString) { + this.saasQueryString = saasQueryString; return this; } @CustomType.Setter public Builder saasRegex(@Nullable String saasRegex) { + this.saasRegex = saasRegex; return this; } @CustomType.Setter public Builder saasReplace(@Nullable String saasReplace) { + this.saasReplace = saasReplace; return this; } @CustomType.Setter public Builder saasSuffix(@Nullable String saasSuffix) { + this.saasSuffix = saasSuffix; return this; } @CustomType.Setter public Builder saasType(@Nullable String saasType) { + this.saasType = saasType; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode.java index 3674070d3f3..1ca4f685fff 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCode def @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCodeLimits.java index 2df0fdc8259..fda24f8435f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFailActionCpCodeCpCo @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorageHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorageHostname.java index 17da49f608b..9c8749662da 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorageHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorageHostname.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFailActionNetStorage @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFeatureCompatibility.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFeatureCompatibility.java index 6eb48fcae52..a54e0f1a871 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFeatureCompatibility.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFeatureCompatibility.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFailoverBotManagerFe @CustomType.Setter public Builder compatibility(@Nullable Boolean compatibility) { + this.compatibility = compatibility; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate.java index 2a7ca4865bc..4a85787eaa4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFastInvalidate defau @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing.java index 9e51792f3ae..da3fd7815ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketing @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder javaScriptInsertionRule(@Nullable String javaScriptInsertionRule) { + this.javaScriptInsertionRule = javaScriptInsertionRule; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaMathPrefix(@Nullable String mediaMathPrefix) { + this.mediaMathPrefix = mediaMathPrefix; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingCloudletPolicy.java index cc2ccf696f7..4fbff538b2e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingC @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlus.java index 9118d169157..c4ec633e545 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlus.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingP @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlusCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder javaScriptInsertionRule(@Nullable String javaScriptInsertionRule) { + this.javaScriptInsertionRule = javaScriptInsertionRule; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaMathPrefix(@Nullable String mediaMathPrefix) { + this.mediaMathPrefix = mediaMathPrefix; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlusCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlusCloudletPolicy.java index cb6b7fe859a..ebb1de1b57c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlusCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingPlusCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorFirstPartyMarketingP @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite.java index 64c56b4c5d8..8c808bb5b8e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewrite defau @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudletPolicy.java index 146e22df6ba..2fbf1824ee6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorForwardRewriteCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader.java index 1c5c50720e0..bd72cff59fc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader.java @@ -99,6 +99,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorG2oheader defaults) @CustomType.Setter public Builder customSignStrings(@Nullable List customSignStrings) { + this.customSignStrings = customSignStrings; return this; } @@ -107,51 +108,61 @@ public Builder customSignStrings(String... customSignStrings) { } @CustomType.Setter public Builder dataHeader(@Nullable String dataHeader) { + this.dataHeader = dataHeader; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder encodingVersion(@Nullable Integer encodingVersion) { + this.encodingVersion = encodingVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder secretKey(@Nullable String secretKey) { + this.secretKey = secretKey; return this; } @CustomType.Setter public Builder signedHeader(@Nullable String signedHeader) { + this.signedHeader = signedHeader; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useCustomSignString(@Nullable Boolean useCustomSignString) { + this.useCustomSignString = useCustomSignString; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber.java index 2ad3d15e953..e9e6df33e8d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorGlobalRequestNumber @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder outputOption(@Nullable String outputOption) { + this.outputOption = outputOption; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching.java index ae749ed62c8..a2133c91662 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCaching defau @CustomType.Setter public Builder advanced(@Nullable String advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder cacheResponsesWithErrors(@Nullable Boolean cacheResponsesWithErrors) { + this.cacheResponsesWithErrors = cacheResponsesWithErrors; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder operationsJsonBodyParameterName(@Nullable String operationsJsonBodyParameterName) { + this.operationsJsonBodyParameterName = operationsJsonBodyParameterName; return this; } @CustomType.Setter public Builder operationsUrlQueryParameterName(@Nullable String operationsUrlQueryParameterName) { + this.operationsUrlQueryParameterName = operationsUrlQueryParameterName; return this; } @CustomType.Setter public Builder postRequestProcessingErrorHandling(@Nullable String postRequestProcessingErrorHandling) { + this.postRequestProcessingErrorHandling = postRequestProcessingErrorHandling; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse.java index acb4f78d5d6..65a12b2daf9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorGzipResponse default @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced.java index 37dcc58ade3..c76670cd8f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHdDataAdvanced defau @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder xml(@Nullable String xml) { + this.xml = xml; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection.java index f44713562b5..6c5a7cfc60a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHealthDetection defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumReconnects(@Nullable Integer maximumReconnects) { + this.maximumReconnects = maximumReconnects; return this; } @CustomType.Setter public Builder retryCount(@Nullable Integer retryCount) { + this.retryCount = retryCount; return this; } @CustomType.Setter public Builder retryInterval(@Nullable String retryInterval) { + this.retryInterval = retryInterval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding.java index d911a8f4991..e3662a63427 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHsafEipBinding defau @CustomType.Setter public Builder customExtractedSerial(@Nullable Boolean customExtractedSerial) { + this.customExtractedSerial = customExtractedSerial; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hashMaxValue(@Nullable Integer hashMaxValue) { + this.hashMaxValue = hashMaxValue; return this; } @CustomType.Setter public Builder hashMinValue(@Nullable Integer hashMinValue) { + this.hashMinValue = hashMinValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier(@Nullable String tier) { + this.tier = tier; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp2.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp2.java index 416ba52f9d5..3c4301f6f60 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp2.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp2.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHttp2 defaults) { @CustomType.Setter public Builder enabled(@Nullable String enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp3.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp3.java index 6995895c737..eec8ee639ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp3.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttp3.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHttp3 defaults) { @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportSecurity.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportSecurity.java index 4291471585a..cc626a0fb53 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportSecurity.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportSecurity.java @@ -86,46 +86,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHttpStrictTransportS @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder includeSubDomains(@Nullable Boolean includeSubDomains) { + this.includeSubDomains = includeSubDomains; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maxAge(@Nullable String maxAge) { + this.maxAge = maxAge; return this; } @CustomType.Setter public Builder preload(@Nullable Boolean preload) { + this.preload = preload; return this; } @CustomType.Setter public Builder redirect(@Nullable Boolean redirect) { + this.redirect = redirect; return this; } @CustomType.Setter public Builder redirectStatusCode(@Nullable Integer redirectStatusCode) { + this.redirectStatusCode = redirectStatusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade.java index b37dbb69276..aae3cdd9246 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorHttpToHttpsUpgrade d @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upgrade(@Nullable String upgrade) { + this.upgrade = upgrade; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImOverride.java index ccf7beef48b..6bd381d0626 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImOverride.java @@ -135,21 +135,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImOverride defaults) @CustomType.Setter public Builder dpr(@Nullable Double dpr) { + this.dpr = dpr; return this; } @CustomType.Setter public Builder dprvar(@Nullable String dprvar) { + this.dprvar = dprvar; return this; } @CustomType.Setter public Builder excludeAllQueryParameters(@Nullable Boolean excludeAllQueryParameters) { + this.excludeAllQueryParameters = excludeAllQueryParameters; return this; } @CustomType.Setter public Builder excludedQueryParameters(@Nullable List excludedQueryParameters) { + this.excludedQueryParameters = excludedQueryParameters; return this; } @@ -158,66 +162,79 @@ public Builder excludedQueryParameters(String... excludedQueryParameters) { } @CustomType.Setter public Builder format(@Nullable String format) { + this.format = format; return this; } @CustomType.Setter public Builder formatvar(@Nullable String formatvar) { + this.formatvar = formatvar; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder override(@Nullable String override) { + this.override = override; return this; } @CustomType.Setter public Builder policy(@Nullable String policy) { + this.policy = policy; return this; } @CustomType.Setter public Builder policyvar(@Nullable String policyvar) { + this.policyvar = policyvar; return this; } @CustomType.Setter public Builder policyvarIMvar(@Nullable String policyvarIMvar) { + this.policyvarIMvar = policyvarIMvar; return this; } @CustomType.Setter public Builder policyvarName(@Nullable String policyvarName) { + this.policyvarName = policyvarName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder typesel(@Nullable String typesel) { + this.typesel = typesel; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder width(@Nullable Double width) { + this.width = width; return this; } @CustomType.Setter public Builder widthvar(@Nullable String widthvar) { + this.widthvar = widthvar; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager.java index 0e281ad368c..e7c77275818 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager.java @@ -99,56 +99,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder imageSet(@Nullable String imageSet) { + this.imageSet = imageSet; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySetType(@Nullable String policySetType) { + this.policySetType = policySetType; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder videoSet(@Nullable String videoSet) { + this.videoSet = videoSet; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginal.java index f7cf402c6f1..77784277cf8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java index fa61d72faea..3a9a834a2d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformed.java index dea9b657960..43e0133bbc1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java index 261288498c6..26a9fb97aea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManagerCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageAndVideoManager @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManager.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManager.java index b625ecf8810..106fe0b6477 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManager.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManager.java @@ -135,86 +135,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManager default @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder apiReferenceTitle(@Nullable String apiReferenceTitle) { + this.apiReferenceTitle = apiReferenceTitle; return this; } @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySet(@Nullable String policySet) { + this.policySet = policySet; return this; } @CustomType.Setter public Builder policyToken(@Nullable String policyToken) { + this.policyToken = policyToken; return this; } @CustomType.Setter public Builder policyTokenDefault(@Nullable String policyTokenDefault) { + this.policyTokenDefault = policyTokenDefault; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder settingsTitle(@Nullable String settingsTitle) { + this.settingsTitle = settingsTitle; return this; } @CustomType.Setter public Builder superCacheRegion(@Nullable String superCacheRegion) { + this.superCacheRegion = superCacheRegion; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trafficTitle(@Nullable String trafficTitle) { + this.trafficTitle = trafficTitle; return this; } @CustomType.Setter public Builder useExistingPolicySet(@Nullable Boolean useExistingPolicySet) { + this.useExistingPolicySet = useExistingPolicySet; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginal.java index 6928d8e54a5..21126a08970 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginalCpCodeLimits.java index e30121e2abb..1d1f0d47008 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeOr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformed.java index 4abe2ff50ad..217867f5c76 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTr @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformedCpCodeLimits.java index 9162f774134..f8020ed8cc0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerCpCodeTr @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo.java index 0ed9b62fd1b..db28a51fd79 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo.java @@ -135,86 +135,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideo de @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder apiReferenceTitle(@Nullable String apiReferenceTitle) { + this.apiReferenceTitle = apiReferenceTitle; return this; } @CustomType.Setter public Builder applyBestFileType(@Nullable Boolean applyBestFileType) { + this.applyBestFileType = applyBestFileType; return this; } @CustomType.Setter public Builder cpCodeOriginal(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginal cpCodeOriginal) { + this.cpCodeOriginal = cpCodeOriginal; return this; } @CustomType.Setter public Builder cpCodeTransformed(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformed cpCodeTransformed) { + this.cpCodeTransformed = cpCodeTransformed; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder policySet(@Nullable String policySet) { + this.policySet = policySet; return this; } @CustomType.Setter public Builder policyToken(@Nullable String policyToken) { + this.policyToken = policyToken; return this; } @CustomType.Setter public Builder policyTokenDefault(@Nullable String policyTokenDefault) { + this.policyTokenDefault = policyTokenDefault; return this; } @CustomType.Setter public Builder resize(@Nullable Boolean resize) { + this.resize = resize; return this; } @CustomType.Setter public Builder settingsTitle(@Nullable String settingsTitle) { + this.settingsTitle = settingsTitle; return this; } @CustomType.Setter public Builder superCacheRegion(@Nullable String superCacheRegion) { + this.superCacheRegion = superCacheRegion; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trafficTitle(@Nullable String trafficTitle) { + this.trafficTitle = trafficTitle; return this; } @CustomType.Setter public Builder useExistingPolicySet(@Nullable Boolean useExistingPolicySet) { + this.useExistingPolicySet = useExistingPolicySet; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginal.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginal.java index 68d321fc34e..9c7ce482a12 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginal.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginal.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpC @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java index 136ec64ee9a..a15c2fcc7ad 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeOriginalCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformed.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformed.java index 6831d08b01a..b6e96281025 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformed.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformed.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpC @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java index 1d633b86b1e..0e511eaa380 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpCodeTransformedCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorImageManagerVideoCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInclude.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInclude.java index 1ffabd3062b..f49554c0c93 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInclude.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInclude.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorInclude defaults) { @CustomType.Setter public Builder id(@Nullable String id) { + this.id = id; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstant.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstant.java index 0a2f41437e1..8d8e8135c7c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstant.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstant.java @@ -80,6 +80,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorInstant defaults) { @CustomType.Setter public Builder customLinkRelations(@Nullable List customLinkRelations) { + this.customLinkRelations = customLinkRelations; return this; } @@ -88,26 +89,31 @@ public Builder customLinkRelations(String... customLinkRelations) { } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefetchCacheable(@Nullable Boolean prefetchCacheable) { + this.prefetchCacheable = prefetchCacheable; return this; } @CustomType.Setter public Builder prefetchHtml(@Nullable Boolean prefetchHtml) { + this.prefetchHtml = prefetchHtml; return this; } @CustomType.Setter public Builder prefetchNoStore(@Nullable Boolean prefetchNoStore) { + this.prefetchNoStore = prefetchNoStore; return this; } @CustomType.Setter public Builder prefetchNoStoreExtensions(@Nullable List prefetchNoStoreExtensions) { + this.prefetchNoStoreExtensions = prefetchNoStoreExtensions; return this; } @@ -116,11 +122,13 @@ public Builder prefetchNoStoreExtensions(String... prefetchNoStoreExtensions) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig.java index 823701faa1c..ee5c5027761 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorInstantConfig defaul @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimization.java index 4c677ec6ae8..aefa71699a2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimization.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizatio @CustomType.Setter public Builder enablePartialObjectCaching(@Nullable String enablePartialObjectCaching) { + this.enablePartialObjectCaching = enablePartialObjectCaching; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder minimumSize(@Nullable String minimumSize) { + this.minimumSize = minimumSize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useVersioning(@Nullable Boolean useVersioning) { + this.useVersioning = useVersioning; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizationAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizationAdvanced.java index b65334d884c..f55e1fa6950 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizationAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizationAdvanced.java @@ -80,41 +80,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLargeFileOptimizatio @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder fragmentSize(@Nullable String fragmentSize) { + this.fragmentSize = fragmentSize; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder prefetchAfterRequest(@Nullable Integer prefetchAfterRequest) { + this.prefetchAfterRequest = prefetchAfterRequest; return this; } @CustomType.Setter public Builder prefetchDuringRequest(@Nullable Integer prefetchDuringRequest) { + this.prefetchDuringRequest = prefetchDuringRequest; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate.java index 20ebd7cfadb..025b61daf5b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate.java @@ -70,6 +70,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRate default @CustomType.Setter public Builder bitrateTables(@Nullable List bitrateTables) { + this.bitrateTables = bitrateTables; return this; } @@ -78,21 +79,25 @@ public Builder bitrateTables(GetPropertyRulesBuilderRulesV20230530BehaviorLimitB } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder thresholdTables(@Nullable List thresholdTables) { + this.thresholdTables = thresholdTables; return this; } @@ -101,6 +106,7 @@ public Builder thresholdTables(GetPropertyRulesBuilderRulesV20230530BehaviorLimi } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateBitrateTable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateBitrateTable.java index 0feddb6c71a..404ff379573 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateBitrateTable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateBitrateTable.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateBitrateT @CustomType.Setter public Builder bitrateUnit(@Nullable String bitrateUnit) { + this.bitrateUnit = bitrateUnit; return this; } @CustomType.Setter public Builder bitrateValue(@Nullable Double bitrateValue) { + this.bitrateValue = bitrateValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateThresholdTable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateThresholdTable.java index 66d04a27992..82f65318c4f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateThresholdTable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateThresholdTable.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLimitBitRateThreshol @CustomType.Setter public Builder thresholdUnit(@Nullable String thresholdUnit) { + this.thresholdUnit = thresholdUnit; return this; } @CustomType.Setter public Builder thresholdValue(@Nullable Integer thresholdValue) { + this.thresholdValue = thresholdValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom.java index 1c9529bc7ef..2e5a92351d2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorLogCustom defaults) @CustomType.Setter public Builder customLogField(@Nullable String customLogField) { + this.customLogField = customLogField; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logCustomLogField(@Nullable Boolean logCustomLogField) { + this.logCustomLogField = logCustomLogField; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMPulse.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMPulse.java index 0606980fd6f..20d4946830c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMPulse.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMPulse.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMPulse defaults) { @CustomType.Setter public Builder apiKey(@Nullable String apiKey) { + this.apiKey = apiKey; return this; } @CustomType.Setter public Builder bufferSize(@Nullable String bufferSize) { + this.bufferSize = bufferSize; return this; } @CustomType.Setter public Builder configOverride(@Nullable String configOverride) { + this.configOverride = configOverride; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder loaderVersion(@Nullable String loaderVersion) { + this.loaderVersion = loaderVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requirePci(@Nullable Boolean requirePci) { + this.requirePci = requirePci; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder titleOptional(@Nullable String titleOptional) { + this.titleOptional = titleOptional; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalization.java index 3145e937f7c..1f0fc4c4d03 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalization.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorManifestPersonalizat @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder hlsEnableDebugHeaders(@Nullable Boolean hlsEnableDebugHeaders) { + this.hlsEnableDebugHeaders = hlsEnableDebugHeaders; return this; } @CustomType.Setter public Builder hlsEnabled(@Nullable Boolean hlsEnabled) { + this.hlsEnabled = hlsEnabled; return this; } @CustomType.Setter public Builder hlsFilterInBitrateRanges(@Nullable String hlsFilterInBitrateRanges) { + this.hlsFilterInBitrateRanges = hlsFilterInBitrateRanges; return this; } @CustomType.Setter public Builder hlsFilterInBitrates(@Nullable String hlsFilterInBitrates) { + this.hlsFilterInBitrates = hlsFilterInBitrates; return this; } @CustomType.Setter public Builder hlsMode(@Nullable String hlsMode) { + this.hlsMode = hlsMode; return this; } @CustomType.Setter public Builder hlsPreferredBitrate(@Nullable String hlsPreferredBitrate) { + this.hlsPreferredBitrate = hlsPreferredBitrate; return this; } @CustomType.Setter public Builder hlsQueryParamEnabled(@Nullable Boolean hlsQueryParamEnabled) { + this.hlsQueryParamEnabled = hlsQueryParamEnabled; return this; } @CustomType.Setter public Builder hlsQueryParamSecretKey(@Nullable String hlsQueryParamSecretKey) { + this.hlsQueryParamSecretKey = hlsQueryParamSecretKey; return this; } @CustomType.Setter public Builder hlsQueryParamTransitionKey(@Nullable String hlsQueryParamTransitionKey) { + this.hlsQueryParamTransitionKey = hlsQueryParamTransitionKey; return this; } @CustomType.Setter public Builder hlsShowAdvanced(@Nullable Boolean hlsShowAdvanced) { + this.hlsShowAdvanced = hlsShowAdvanced; return this; } @CustomType.Setter public Builder hlsTitle(@Nullable String hlsTitle) { + this.hlsTitle = hlsTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting.java index e9c42e1c844..8f0bf8aad2e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorManifestRerouting de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder partner(@Nullable String partner) { + this.partner = partner; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder username(@Nullable String username) { + this.username = username; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush.java index 17323b00434..9fe6b72a6d3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorManualServerPush def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serverpushlists(@Nullable List serverpushlists) { + this.serverpushlists = serverpushlists; return this; } @@ -69,11 +71,13 @@ public Builder serverpushlists(String... serverpushlists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration.java index 58247547549..4f520e5f523 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMediaAcceleration de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQuicOptout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQuicOptout.java index 4d60a19a83b..24e0da70e73 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQuicOptout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQuicOptout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMediaAccelerationQui @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder optout(@Nullable String optout) { + this.optout = optout; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient.java index 050dadf388d..c42600b0ff3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMediaClient defaults @CustomType.Setter public Builder beaconId(@Nullable String beaconId) { + this.beaconId = beaconId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useHybridHttpUdp(@Nullable Boolean useHybridHttpUdp) { + this.useHybridHttpUdp = useHybridHttpUdp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOptimization.java index 7cf3cbb1006..7da125c0cfe 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMediaFileRetrievalOp @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover.java index 05b3c2347e2..c0c0e98f318 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover.java @@ -357,116 +357,139 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMediaOriginFailover @CustomType.Setter public Builder cacheErrorResponse(@Nullable Boolean cacheErrorResponse) { + this.cacheErrorResponse = cacheErrorResponse; return this; } @CustomType.Setter public Builder cacheWindow(@Nullable String cacheWindow) { + this.cacheWindow = cacheWindow; return this; } @CustomType.Setter public Builder clientResponseCode(@Nullable String clientResponseCode) { + this.clientResponseCode = clientResponseCode; return this; } @CustomType.Setter public Builder detectObjectUnavailable(@Nullable Boolean detectObjectUnavailable) { + this.detectObjectUnavailable = detectObjectUnavailable; return this; } @CustomType.Setter public Builder detectObjectUnavailableTitle(@Nullable String detectObjectUnavailableTitle) { + this.detectObjectUnavailableTitle = detectObjectUnavailableTitle; return this; } @CustomType.Setter public Builder detectOriginUnavailable(@Nullable Boolean detectOriginUnavailable) { + this.detectOriginUnavailable = detectOriginUnavailable; return this; } @CustomType.Setter public Builder detectOriginUnavailableTitle(@Nullable String detectOriginUnavailableTitle) { + this.detectOriginUnavailableTitle = detectOriginUnavailableTitle; return this; } @CustomType.Setter public Builder detectOriginUnresponsive(@Nullable Boolean detectOriginUnresponsive) { + this.detectOriginUnresponsive = detectOriginUnresponsive; return this; } @CustomType.Setter public Builder detectOriginUnresponsiveTitle(@Nullable String detectOriginUnresponsiveTitle) { + this.detectOriginUnresponsiveTitle = detectOriginUnresponsiveTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder objectUnavailableAlternateHost(@Nullable String objectUnavailableAlternateHost) { + this.objectUnavailableAlternateHost = objectUnavailableAlternateHost; return this; } @CustomType.Setter public Builder objectUnavailableBackupHost(@Nullable String objectUnavailableBackupHost) { + this.objectUnavailableBackupHost = objectUnavailableBackupHost; return this; } @CustomType.Setter public Builder objectUnavailableBlacklistOriginIp(@Nullable Boolean objectUnavailableBlacklistOriginIp) { + this.objectUnavailableBlacklistOriginIp = objectUnavailableBlacklistOriginIp; return this; } @CustomType.Setter public Builder objectUnavailableBlacklistWindow(@Nullable String objectUnavailableBlacklistWindow) { + this.objectUnavailableBlacklistWindow = objectUnavailableBlacklistWindow; return this; } @CustomType.Setter public Builder objectUnavailableChangeProtocol(@Nullable Boolean objectUnavailableChangeProtocol) { + this.objectUnavailableChangeProtocol = objectUnavailableChangeProtocol; return this; } @CustomType.Setter public Builder objectUnavailableDetectionLevel(@Nullable String objectUnavailableDetectionLevel) { + this.objectUnavailableDetectionLevel = objectUnavailableDetectionLevel; return this; } @CustomType.Setter public Builder objectUnavailableIncludeQueryString(@Nullable Boolean objectUnavailableIncludeQueryString) { + this.objectUnavailableIncludeQueryString = objectUnavailableIncludeQueryString; return this; } @CustomType.Setter public Builder objectUnavailableModifiedPath(@Nullable String objectUnavailableModifiedPath) { + this.objectUnavailableModifiedPath = objectUnavailableModifiedPath; return this; } @CustomType.Setter public Builder objectUnavailableModifyRequestPath(@Nullable Boolean objectUnavailableModifyRequestPath) { + this.objectUnavailableModifyRequestPath = objectUnavailableModifyRequestPath; return this; } @CustomType.Setter public Builder objectUnavailableProtocol(@Nullable String objectUnavailableProtocol) { + this.objectUnavailableProtocol = objectUnavailableProtocol; return this; } @CustomType.Setter public Builder objectUnavailableRecovery(@Nullable String objectUnavailableRecovery) { + this.objectUnavailableRecovery = objectUnavailableRecovery; return this; } @CustomType.Setter public Builder objectUnavailableRedirectMethod(@Nullable Integer objectUnavailableRedirectMethod) { + this.objectUnavailableRedirectMethod = objectUnavailableRedirectMethod; return this; } @CustomType.Setter public Builder objectUnavailableResponseCodes(@Nullable List objectUnavailableResponseCodes) { + this.objectUnavailableResponseCodes = objectUnavailableResponseCodes; return this; } @@ -475,71 +498,85 @@ public Builder objectUnavailableResponseCodes(String... objectUnavailableRespons } @CustomType.Setter public Builder objectUnavailableRetryLimit(@Nullable String objectUnavailableRetryLimit) { + this.objectUnavailableRetryLimit = objectUnavailableRetryLimit; return this; } @CustomType.Setter public Builder originUnavailableAlternateHost(@Nullable String originUnavailableAlternateHost) { + this.originUnavailableAlternateHost = originUnavailableAlternateHost; return this; } @CustomType.Setter public Builder originUnavailableBackupHost(@Nullable String originUnavailableBackupHost) { + this.originUnavailableBackupHost = originUnavailableBackupHost; return this; } @CustomType.Setter public Builder originUnavailableBlacklistOriginIp(@Nullable Boolean originUnavailableBlacklistOriginIp) { + this.originUnavailableBlacklistOriginIp = originUnavailableBlacklistOriginIp; return this; } @CustomType.Setter public Builder originUnavailableBlacklistWindow(@Nullable String originUnavailableBlacklistWindow) { + this.originUnavailableBlacklistWindow = originUnavailableBlacklistWindow; return this; } @CustomType.Setter public Builder originUnavailableChangeProtocol(@Nullable Boolean originUnavailableChangeProtocol) { + this.originUnavailableChangeProtocol = originUnavailableChangeProtocol; return this; } @CustomType.Setter public Builder originUnavailableDetectionLevel(@Nullable String originUnavailableDetectionLevel) { + this.originUnavailableDetectionLevel = originUnavailableDetectionLevel; return this; } @CustomType.Setter public Builder originUnavailableIncludeQueryString(@Nullable Boolean originUnavailableIncludeQueryString) { + this.originUnavailableIncludeQueryString = originUnavailableIncludeQueryString; return this; } @CustomType.Setter public Builder originUnavailableModifiedPath(@Nullable String originUnavailableModifiedPath) { + this.originUnavailableModifiedPath = originUnavailableModifiedPath; return this; } @CustomType.Setter public Builder originUnavailableModifyRequestPath(@Nullable Boolean originUnavailableModifyRequestPath) { + this.originUnavailableModifyRequestPath = originUnavailableModifyRequestPath; return this; } @CustomType.Setter public Builder originUnavailableProtocol(@Nullable String originUnavailableProtocol) { + this.originUnavailableProtocol = originUnavailableProtocol; return this; } @CustomType.Setter public Builder originUnavailableRecovery(@Nullable String originUnavailableRecovery) { + this.originUnavailableRecovery = originUnavailableRecovery; return this; } @CustomType.Setter public Builder originUnavailableRedirectMethod(@Nullable Integer originUnavailableRedirectMethod) { + this.originUnavailableRedirectMethod = originUnavailableRedirectMethod; return this; } @CustomType.Setter public Builder originUnavailableResponseCodes(@Nullable List originUnavailableResponseCodes) { + this.originUnavailableResponseCodes = originUnavailableResponseCodes; return this; } @@ -548,86 +585,103 @@ public Builder originUnavailableResponseCodes(String... originUnavailableRespons } @CustomType.Setter public Builder originUnavailableRetryLimit(@Nullable String originUnavailableRetryLimit) { + this.originUnavailableRetryLimit = originUnavailableRetryLimit; return this; } @CustomType.Setter public Builder originUnresponsiveAlternateHost(@Nullable String originUnresponsiveAlternateHost) { + this.originUnresponsiveAlternateHost = originUnresponsiveAlternateHost; return this; } @CustomType.Setter public Builder originUnresponsiveBackupHost(@Nullable String originUnresponsiveBackupHost) { + this.originUnresponsiveBackupHost = originUnresponsiveBackupHost; return this; } @CustomType.Setter public Builder originUnresponsiveBlacklistOriginIp(@Nullable Boolean originUnresponsiveBlacklistOriginIp) { + this.originUnresponsiveBlacklistOriginIp = originUnresponsiveBlacklistOriginIp; return this; } @CustomType.Setter public Builder originUnresponsiveBlacklistWindow(@Nullable String originUnresponsiveBlacklistWindow) { + this.originUnresponsiveBlacklistWindow = originUnresponsiveBlacklistWindow; return this; } @CustomType.Setter public Builder originUnresponsiveChangeProtocol(@Nullable Boolean originUnresponsiveChangeProtocol) { + this.originUnresponsiveChangeProtocol = originUnresponsiveChangeProtocol; return this; } @CustomType.Setter public Builder originUnresponsiveDetectionLevel(@Nullable String originUnresponsiveDetectionLevel) { + this.originUnresponsiveDetectionLevel = originUnresponsiveDetectionLevel; return this; } @CustomType.Setter public Builder originUnresponsiveIncludeQueryString(@Nullable Boolean originUnresponsiveIncludeQueryString) { + this.originUnresponsiveIncludeQueryString = originUnresponsiveIncludeQueryString; return this; } @CustomType.Setter public Builder originUnresponsiveModifiedPath(@Nullable String originUnresponsiveModifiedPath) { + this.originUnresponsiveModifiedPath = originUnresponsiveModifiedPath; return this; } @CustomType.Setter public Builder originUnresponsiveModifyRequestPath(@Nullable Boolean originUnresponsiveModifyRequestPath) { + this.originUnresponsiveModifyRequestPath = originUnresponsiveModifyRequestPath; return this; } @CustomType.Setter public Builder originUnresponsiveProtocol(@Nullable String originUnresponsiveProtocol) { + this.originUnresponsiveProtocol = originUnresponsiveProtocol; return this; } @CustomType.Setter public Builder originUnresponsiveRecovery(@Nullable String originUnresponsiveRecovery) { + this.originUnresponsiveRecovery = originUnresponsiveRecovery; return this; } @CustomType.Setter public Builder originUnresponsiveRedirectMethod(@Nullable Integer originUnresponsiveRedirectMethod) { + this.originUnresponsiveRedirectMethod = originUnresponsiveRedirectMethod; return this; } @CustomType.Setter public Builder originUnresponsiveRetryLimit(@Nullable String originUnresponsiveRetryLimit) { + this.originUnresponsiveRetryLimit = originUnresponsiveRetryLimit; return this; } @CustomType.Setter public Builder otherOptions(@Nullable String otherOptions) { + this.otherOptions = otherOptions; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching.java index 4ad23c5cafe..31b4cfca33f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMetadataCaching defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance.java index ccc49b24eda..7086a621ee8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorMobileSdkPerformance @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder secondaryMultipathToOrigin(@Nullable Boolean secondaryMultipathToOrigin) { + this.secondaryMultipathToOrigin = secondaryMultipathToOrigin; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRequestHeader.java index bae6b2e728b..21514b52185 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRequestHeader.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingReques @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder standardPassHeaderName(@Nullable String standardPassHeaderName) { + this.standardPassHeaderName = standardPassHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingResponseHeader.java index 34a4fd9d1ca..ec7dea54938 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingResponseHeader.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorModifyIncomingRespon @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder standardPassHeaderName(@Nullable String standardPassHeaderName) { + this.standardPassHeaderName = standardPassHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRequestHeader.java index 551fd243df2..a537ad1c53b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRequestHeader.java @@ -115,71 +115,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingReques @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder regexHeaderMatch(@Nullable String regexHeaderMatch) { + this.regexHeaderMatch = regexHeaderMatch; return this; } @CustomType.Setter public Builder regexHeaderReplace(@Nullable String regexHeaderReplace) { + this.regexHeaderReplace = regexHeaderReplace; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingResponseHeader.java index 9227e890c9c..6ce6b4f69cf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingResponseHeader.java @@ -115,71 +115,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorModifyOutgoingRespon @CustomType.Setter public Builder action(@Nullable String action) { + this.action = action; return this; } @CustomType.Setter public Builder avoidDuplicateHeaders(@Nullable Boolean avoidDuplicateHeaders) { + this.avoidDuplicateHeaders = avoidDuplicateHeaders; return this; } @CustomType.Setter public Builder customHeaderName(@Nullable String customHeaderName) { + this.customHeaderName = customHeaderName; return this; } @CustomType.Setter public Builder headerValue(@Nullable String headerValue) { + this.headerValue = headerValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder newHeaderValue(@Nullable String newHeaderValue) { + this.newHeaderValue = newHeaderValue; return this; } @CustomType.Setter public Builder regexHeaderMatch(@Nullable String regexHeaderMatch) { + this.regexHeaderMatch = regexHeaderMatch; return this; } @CustomType.Setter public Builder regexHeaderReplace(@Nullable String regexHeaderReplace) { + this.regexHeaderReplace = regexHeaderReplace; return this; } @CustomType.Setter public Builder standardAddHeaderName(@Nullable String standardAddHeaderName) { + this.standardAddHeaderName = standardAddHeaderName; return this; } @CustomType.Setter public Builder standardDeleteHeaderName(@Nullable String standardDeleteHeaderName) { + this.standardDeleteHeaderName = standardDeleteHeaderName; return this; } @CustomType.Setter public Builder standardModifyHeaderName(@Nullable String standardModifyHeaderName) { + this.standardModifyHeaderName = standardModifyHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader.java index 2bdb4274e49..59ff59b36a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorModifyViaHeader defa @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modificationOption(@Nullable String modificationOption) { + this.modificationOption = modificationOption; return this; } @CustomType.Setter public Builder renameHeaderTo(@Nullable String renameHeaderTo) { + this.renameHeaderTo = renameHeaderTo; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOrigin.java index acc6c936d67..755a5d95a2b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOrigin.java @@ -264,16 +264,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOrigin defaults) { @CustomType.Setter public Builder cacheKeyHostname(@Nullable String cacheKeyHostname) { + this.cacheKeyHostname = cacheKeyHostname; return this; } @CustomType.Setter public Builder compress(@Nullable Boolean compress) { + this.compress = compress; return this; } @CustomType.Setter public Builder customCertificateAuthorities(@Nullable List customCertificateAuthorities) { + this.customCertificateAuthorities = customCertificateAuthorities; return this; } @@ -282,6 +285,7 @@ public Builder customCertificateAuthorities(GetPropertyRulesBuilderRulesV2023053 } @CustomType.Setter public Builder customCertificates(@Nullable List customCertificates) { + this.customCertificates = customCertificates; return this; } @@ -290,11 +294,13 @@ public Builder customCertificates(GetPropertyRulesBuilderRulesV20230530BehaviorO } @CustomType.Setter public Builder customForwardHostHeader(@Nullable String customForwardHostHeader) { + this.customForwardHostHeader = customForwardHostHeader; return this; } @CustomType.Setter public Builder customValidCnValues(@Nullable List customValidCnValues) { + this.customValidCnValues = customValidCnValues; return this; } @@ -303,131 +309,157 @@ public Builder customValidCnValues(String... customValidCnValues) { } @CustomType.Setter public Builder enableTrueClientIp(@Nullable Boolean enableTrueClientIp) { + this.enableTrueClientIp = enableTrueClientIp; return this; } @CustomType.Setter public Builder forwardHostHeader(@Nullable String forwardHostHeader) { + this.forwardHostHeader = forwardHostHeader; return this; } @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder httpPort(@Nullable Integer httpPort) { + this.httpPort = httpPort; return this; } @CustomType.Setter public Builder httpsPort(@Nullable Integer httpsPort) { + this.httpsPort = httpsPort; return this; } @CustomType.Setter public Builder ipVersion(@Nullable String ipVersion) { + this.ipVersion = ipVersion; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mslorigin(@Nullable String mslorigin) { + this.mslorigin = mslorigin; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder originCertificate(@Nullable String originCertificate) { + this.originCertificate = originCertificate; return this; } @CustomType.Setter public Builder originCertsToHonor(@Nullable String originCertsToHonor) { + this.originCertsToHonor = originCertsToHonor; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder originSni(@Nullable Boolean originSni) { + this.originSni = originSni; return this; } @CustomType.Setter public Builder originType(@Nullable String originType) { + this.originType = originType; return this; } @CustomType.Setter public Builder ports(@Nullable String ports) { + this.ports = ports; return this; } @CustomType.Setter public Builder saasCnameEnabled(@Nullable Boolean saasCnameEnabled) { + this.saasCnameEnabled = saasCnameEnabled; return this; } @CustomType.Setter public Builder saasCnameLevel(@Nullable Integer saasCnameLevel) { + this.saasCnameLevel = saasCnameLevel; return this; } @CustomType.Setter public Builder saasCookie(@Nullable String saasCookie) { + this.saasCookie = saasCookie; return this; } @CustomType.Setter public Builder saasQueryString(@Nullable String saasQueryString) { + this.saasQueryString = saasQueryString; return this; } @CustomType.Setter public Builder saasRegex(@Nullable String saasRegex) { + this.saasRegex = saasRegex; return this; } @CustomType.Setter public Builder saasReplace(@Nullable String saasReplace) { + this.saasReplace = saasReplace; return this; } @CustomType.Setter public Builder saasSuffix(@Nullable String saasSuffix) { + this.saasSuffix = saasSuffix; return this; } @CustomType.Setter public Builder saasType(@Nullable String saasType) { + this.saasType = saasType; return this; } @CustomType.Setter public Builder secondHostname(@Nullable String secondHostname) { + this.secondHostname = secondHostname; return this; } @CustomType.Setter public Builder secondHostnameEnabled(@Nullable Boolean secondHostnameEnabled) { + this.secondHostnameEnabled = secondHostnameEnabled; return this; } @CustomType.Setter public Builder standardCertificateAuthorities(@Nullable List standardCertificateAuthorities) { + this.standardCertificateAuthorities = standardCertificateAuthorities; return this; } @@ -436,31 +468,37 @@ public Builder standardCertificateAuthorities(String... standardCertificateAutho } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder trueClientIpClientSetting(@Nullable Boolean trueClientIpClientSetting) { + this.trueClientIpClientSetting = trueClientIpClientSetting; return this; } @CustomType.Setter public Builder trueClientIpHeader(@Nullable String trueClientIpHeader) { + this.trueClientIpHeader = trueClientIpHeader; return this; } @CustomType.Setter public Builder useUniqueCacheKey(@Nullable Boolean useUniqueCacheKey) { + this.useUniqueCacheKey = useUniqueCacheKey; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder verificationMode(@Nullable String verificationMode) { + this.verificationMode = verificationMode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristics.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristics.java index 5734a366795..d03c9b2f7a4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristics.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristics.java @@ -219,66 +219,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristic @CustomType.Setter public Builder accessKeyEncryptedStorage(@Nullable Boolean accessKeyEncryptedStorage) { + this.accessKeyEncryptedStorage = accessKeyEncryptedStorage; return this; } @CustomType.Setter public Builder adcTitle(@Nullable String adcTitle) { + this.adcTitle = adcTitle; return this; } @CustomType.Setter public Builder authenticationMethod(@Nullable String authenticationMethod) { + this.authenticationMethod = authenticationMethod; return this; } @CustomType.Setter public Builder authenticationMethodTitle(@Nullable String authenticationMethodTitle) { + this.authenticationMethodTitle = authenticationMethodTitle; return this; } @CustomType.Setter public Builder awsAccessKeyId(@Nullable String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; return this; } @CustomType.Setter public Builder awsAccessKeyVersionGuid(@Nullable String awsAccessKeyVersionGuid) { + this.awsAccessKeyVersionGuid = awsAccessKeyVersionGuid; return this; } @CustomType.Setter public Builder awsArRegion(@Nullable String awsArRegion) { + this.awsArRegion = awsArRegion; return this; } @CustomType.Setter public Builder awsHost(@Nullable String awsHost) { + this.awsHost = awsHost; return this; } @CustomType.Setter public Builder awsRegion(@Nullable String awsRegion) { + this.awsRegion = awsRegion; return this; } @CustomType.Setter public Builder awsSecretAccessKey(@Nullable String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; return this; } @CustomType.Setter public Builder awsService(@Nullable String awsService) { + this.awsService = awsService; return this; } @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder customSignStrings(@Nullable List customSignStrings) { + this.customSignStrings = customSignStrings; return this; } @@ -287,91 +300,109 @@ public Builder customSignStrings(String... customSignStrings) { } @CustomType.Setter public Builder directConnectGeo(@Nullable String directConnectGeo) { + this.directConnectGeo = directConnectGeo; return this; } @CustomType.Setter public Builder encodingVersion(@Nullable Integer encodingVersion) { + this.encodingVersion = encodingVersion; return this; } @CustomType.Setter public Builder endPointService(@Nullable String endPointService) { + this.endPointService = endPointService; return this; } @CustomType.Setter public Builder gcsAccessKeyVersionGuid(@Nullable String gcsAccessKeyVersionGuid) { + this.gcsAccessKeyVersionGuid = gcsAccessKeyVersionGuid; return this; } @CustomType.Setter public Builder gcsHmacKeyAccessId(@Nullable String gcsHmacKeyAccessId) { + this.gcsHmacKeyAccessId = gcsHmacKeyAccessId; return this; } @CustomType.Setter public Builder gcsHmacKeySecret(@Nullable String gcsHmacKeySecret) { + this.gcsHmacKeySecret = gcsHmacKeySecret; return this; } @CustomType.Setter public Builder hostnameTag(@Nullable Boolean hostnameTag) { + this.hostnameTag = hostnameTag; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mslkey(@Nullable String mslkey) { + this.mslkey = mslkey; return this; } @CustomType.Setter public Builder mslname(@Nullable String mslname) { + this.mslname = mslname; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder originLocationTitle(@Nullable String originLocationTitle) { + this.originLocationTitle = originLocationTitle; return this; } @CustomType.Setter public Builder propertyIdTag(@Nullable Boolean propertyIdTag) { + this.propertyIdTag = propertyIdTag; return this; } @CustomType.Setter public Builder roleArn(@Nullable String roleArn) { + this.roleArn = roleArn; return this; } @CustomType.Setter public Builder secretKey(@Nullable String secretKey) { + this.secretKey = secretKey; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useCustomSignString(@Nullable Boolean useCustomSignString) { + this.useCustomSignString = useCustomSignString; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristicsWsd.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristicsWsd.java index 7f4beb14667..cbb75d53d5e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristicsWsd.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristicsWsd.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCharacteristic @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder origintype(@Nullable String origintype) { + this.origintype = origintype; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificate.java index f550c05b2c8..5677824b38a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificate.java @@ -137,71 +137,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder canBeCa(@Nullable Boolean canBeCa) { + this.canBeCa = canBeCa; return this; } @CustomType.Setter public Builder canBeLeaf(@Nullable Boolean canBeLeaf) { + this.canBeLeaf = canBeLeaf; return this; } @CustomType.Setter public Builder issuerRdns(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateIssuerRdns issuerRdns) { + this.issuerRdns = issuerRdns; return this; } @CustomType.Setter public Builder notAfter(@Nullable Integer notAfter) { + this.notAfter = notAfter; return this; } @CustomType.Setter public Builder notBefore(@Nullable Integer notBefore) { + this.notBefore = notBefore; return this; } @CustomType.Setter public Builder pemEncodedCert(@Nullable String pemEncodedCert) { + this.pemEncodedCert = pemEncodedCert; return this; } @CustomType.Setter public Builder publicKey(@Nullable String publicKey) { + this.publicKey = publicKey; return this; } @CustomType.Setter public Builder publicKeyAlgorithm(@Nullable String publicKeyAlgorithm) { + this.publicKeyAlgorithm = publicKeyAlgorithm; return this; } @CustomType.Setter public Builder publicKeyFormat(@Nullable String publicKeyFormat) { + this.publicKeyFormat = publicKeyFormat; return this; } @CustomType.Setter public Builder selfSigned(@Nullable Boolean selfSigned) { + this.selfSigned = selfSigned; return this; } @CustomType.Setter public Builder serialNumber(@Nullable String serialNumber) { + this.serialNumber = serialNumber; return this; } @CustomType.Setter public Builder sha1Fingerprint(@Nullable String sha1Fingerprint) { + this.sha1Fingerprint = sha1Fingerprint; return this; } @CustomType.Setter public Builder sigAlgName(@Nullable String sigAlgName) { + this.sigAlgName = sigAlgName; return this; } @CustomType.Setter public Builder subjectAlternativeNames(@Nullable List subjectAlternativeNames) { + this.subjectAlternativeNames = subjectAlternativeNames; return this; } @@ -210,16 +224,19 @@ public Builder subjectAlternativeNames(String... subjectAlternativeNames) { } @CustomType.Setter public Builder subjectCn(@Nullable String subjectCn) { + this.subjectCn = subjectCn; return this; } @CustomType.Setter public Builder subjectRdns(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateSubjectRdns subjectRdns) { + this.subjectRdns = subjectRdns; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthority.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthority.java index 83c03e069c9..45dbeaed7ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthority.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthority.java @@ -137,71 +137,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder canBeCa(@Nullable Boolean canBeCa) { + this.canBeCa = canBeCa; return this; } @CustomType.Setter public Builder canBeLeaf(@Nullable Boolean canBeLeaf) { + this.canBeLeaf = canBeLeaf; return this; } @CustomType.Setter public Builder issuerRdns(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthorityIssuerRdns issuerRdns) { + this.issuerRdns = issuerRdns; return this; } @CustomType.Setter public Builder notAfter(@Nullable Integer notAfter) { + this.notAfter = notAfter; return this; } @CustomType.Setter public Builder notBefore(@Nullable Integer notBefore) { + this.notBefore = notBefore; return this; } @CustomType.Setter public Builder pemEncodedCert(@Nullable String pemEncodedCert) { + this.pemEncodedCert = pemEncodedCert; return this; } @CustomType.Setter public Builder publicKey(@Nullable String publicKey) { + this.publicKey = publicKey; return this; } @CustomType.Setter public Builder publicKeyAlgorithm(@Nullable String publicKeyAlgorithm) { + this.publicKeyAlgorithm = publicKeyAlgorithm; return this; } @CustomType.Setter public Builder publicKeyFormat(@Nullable String publicKeyFormat) { + this.publicKeyFormat = publicKeyFormat; return this; } @CustomType.Setter public Builder selfSigned(@Nullable Boolean selfSigned) { + this.selfSigned = selfSigned; return this; } @CustomType.Setter public Builder serialNumber(@Nullable String serialNumber) { + this.serialNumber = serialNumber; return this; } @CustomType.Setter public Builder sha1Fingerprint(@Nullable String sha1Fingerprint) { + this.sha1Fingerprint = sha1Fingerprint; return this; } @CustomType.Setter public Builder sigAlgName(@Nullable String sigAlgName) { + this.sigAlgName = sigAlgName; return this; } @CustomType.Setter public Builder subjectAlternativeNames(@Nullable List subjectAlternativeNames) { + this.subjectAlternativeNames = subjectAlternativeNames; return this; } @@ -210,16 +224,19 @@ public Builder subjectAlternativeNames(String... subjectAlternativeNames) { } @CustomType.Setter public Builder subjectCn(@Nullable String subjectCn) { + this.subjectCn = subjectCn; return this; } @CustomType.Setter public Builder subjectRdns(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthoritySubjectRdns subjectRdns) { + this.subjectRdns = subjectRdns; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthorityIssuerRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthorityIssuerRdns.java index 579b1714fdf..7dc513aeaab 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthorityIssuerRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthorityIssuerRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthoritySubjectRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthoritySubjectRdns.java index e1db1406e8c..6c4cc1dcad1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthoritySubjectRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateAuthoritySubjectRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateIssuerRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateIssuerRdns.java index f5564500f93..2d4aea66b9d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateIssuerRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateIssuerRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateSubjectRdns.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateSubjectRdns.java index 8e4aab28c70..22b9c982f5d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateSubjectRdns.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertificateSubjectRdns.java @@ -54,21 +54,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginCustomCertific @CustomType.Setter public Builder c(@Nullable String c) { + this.c = c; return this; } @CustomType.Setter public Builder cn(@Nullable String cn) { + this.cn = cn; return this; } @CustomType.Setter public Builder o(@Nullable String o) { + this.o = o; return this; } @CustomType.Setter public Builder ou(@Nullable String ou) { + this.ou = ou; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryMethod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryMethod.java index 06ce45d6326..e44dc8e6b89 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryMethod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryMethod.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecover @CustomType.Setter public Builder customStatusCode(@Nullable String customStatusCode) { + this.customStatusCode = customStatusCode; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder recoveryMethod(@Nullable String recoveryMethod) { + this.recoveryMethod = recoveryMethod; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryPolicy.java index c6ee74f1f89..c8b15e8c12d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecoveryPolicy.java @@ -237,41 +237,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginFailureRecover @CustomType.Setter public Builder binaryEquivalentContent(@Nullable Boolean binaryEquivalentContent) { + this.binaryEquivalentContent = binaryEquivalentContent; return this; } @CustomType.Setter public Builder enableIpAvoidance(@Nullable Boolean enableIpAvoidance) { + this.enableIpAvoidance = enableIpAvoidance; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder ipAvoidanceErrorThreshold(@Nullable Integer ipAvoidanceErrorThreshold) { + this.ipAvoidanceErrorThreshold = ipAvoidanceErrorThreshold; return this; } @CustomType.Setter public Builder ipAvoidanceRetryInterval(@Nullable Integer ipAvoidanceRetryInterval) { + this.ipAvoidanceRetryInterval = ipAvoidanceRetryInterval; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder monitorOriginResponsiveness(@Nullable Boolean monitorOriginResponsiveness) { + this.monitorOriginResponsiveness = monitorOriginResponsiveness; return this; } @CustomType.Setter public Builder monitorResponseCodes1s(@Nullable List monitorResponseCodes1s) { + this.monitorResponseCodes1s = monitorResponseCodes1s; return this; } @@ -280,6 +288,7 @@ public Builder monitorResponseCodes1s(String... monitorResponseCodes1s) { } @CustomType.Setter public Builder monitorResponseCodes2s(@Nullable List monitorResponseCodes2s) { + this.monitorResponseCodes2s = monitorResponseCodes2s; return this; } @@ -288,6 +297,7 @@ public Builder monitorResponseCodes2s(String... monitorResponseCodes2s) { } @CustomType.Setter public Builder monitorResponseCodes3s(@Nullable List monitorResponseCodes3s) { + this.monitorResponseCodes3s = monitorResponseCodes3s; return this; } @@ -296,121 +306,145 @@ public Builder monitorResponseCodes3s(String... monitorResponseCodes3s) { } @CustomType.Setter public Builder monitorStatusCodes1(@Nullable Boolean monitorStatusCodes1) { + this.monitorStatusCodes1 = monitorStatusCodes1; return this; } @CustomType.Setter public Builder monitorStatusCodes1EnableRecovery(@Nullable Boolean monitorStatusCodes1EnableRecovery) { + this.monitorStatusCodes1EnableRecovery = monitorStatusCodes1EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes1EnableRetry(@Nullable Boolean monitorStatusCodes1EnableRetry) { + this.monitorStatusCodes1EnableRetry = monitorStatusCodes1EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes1RecoveryConfigName(@Nullable String monitorStatusCodes1RecoveryConfigName) { + this.monitorStatusCodes1RecoveryConfigName = monitorStatusCodes1RecoveryConfigName; return this; } @CustomType.Setter public Builder monitorStatusCodes2(@Nullable Boolean monitorStatusCodes2) { + this.monitorStatusCodes2 = monitorStatusCodes2; return this; } @CustomType.Setter public Builder monitorStatusCodes2EnableRecovery(@Nullable Boolean monitorStatusCodes2EnableRecovery) { + this.monitorStatusCodes2EnableRecovery = monitorStatusCodes2EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes2EnableRetry(@Nullable Boolean monitorStatusCodes2EnableRetry) { + this.monitorStatusCodes2EnableRetry = monitorStatusCodes2EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes2RecoveryConfigName(@Nullable String monitorStatusCodes2RecoveryConfigName) { + this.monitorStatusCodes2RecoveryConfigName = monitorStatusCodes2RecoveryConfigName; return this; } @CustomType.Setter public Builder monitorStatusCodes3(@Nullable Boolean monitorStatusCodes3) { + this.monitorStatusCodes3 = monitorStatusCodes3; return this; } @CustomType.Setter public Builder monitorStatusCodes3EnableRecovery(@Nullable Boolean monitorStatusCodes3EnableRecovery) { + this.monitorStatusCodes3EnableRecovery = monitorStatusCodes3EnableRecovery; return this; } @CustomType.Setter public Builder monitorStatusCodes3EnableRetry(@Nullable Boolean monitorStatusCodes3EnableRetry) { + this.monitorStatusCodes3EnableRetry = monitorStatusCodes3EnableRetry; return this; } @CustomType.Setter public Builder monitorStatusCodes3RecoveryConfigName(@Nullable String monitorStatusCodes3RecoveryConfigName) { + this.monitorStatusCodes3RecoveryConfigName = monitorStatusCodes3RecoveryConfigName; return this; } @CustomType.Setter public Builder originResponsivenessCustomTimeout(@Nullable Integer originResponsivenessCustomTimeout) { + this.originResponsivenessCustomTimeout = originResponsivenessCustomTimeout; return this; } @CustomType.Setter public Builder originResponsivenessEnableRecovery(@Nullable Boolean originResponsivenessEnableRecovery) { + this.originResponsivenessEnableRecovery = originResponsivenessEnableRecovery; return this; } @CustomType.Setter public Builder originResponsivenessEnableRetry(@Nullable Boolean originResponsivenessEnableRetry) { + this.originResponsivenessEnableRetry = originResponsivenessEnableRetry; return this; } @CustomType.Setter public Builder originResponsivenessMonitoring(@Nullable String originResponsivenessMonitoring) { + this.originResponsivenessMonitoring = originResponsivenessMonitoring; return this; } @CustomType.Setter public Builder originResponsivenessRecoveryConfigName(@Nullable String originResponsivenessRecoveryConfigName) { + this.originResponsivenessRecoveryConfigName = originResponsivenessRecoveryConfigName; return this; } @CustomType.Setter public Builder originResponsivenessTimeout(@Nullable String originResponsivenessTimeout) { + this.originResponsivenessTimeout = originResponsivenessTimeout; return this; } @CustomType.Setter public Builder statusCodeMonitoring1(@Nullable String statusCodeMonitoring1) { + this.statusCodeMonitoring1 = statusCodeMonitoring1; return this; } @CustomType.Setter public Builder statusCodeMonitoring2(@Nullable String statusCodeMonitoring2) { + this.statusCodeMonitoring2 = statusCodeMonitoring2; return this; } @CustomType.Setter public Builder statusCodeMonitoring3(@Nullable String statusCodeMonitoring3) { + this.statusCodeMonitoring3 = statusCodeMonitoring3; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tuningParameters(@Nullable String tuningParameters) { + this.tuningParameters = tuningParameters; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl.java index 9771f601100..fdd58b8100a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginIpAcl defaults @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage.java index b11be5f233b..6e1394b3d1b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorOriginNetStorage def @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConnection.java index 3096076e7af..9ce3ec5b091 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConnection.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPersistentClientConn @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection.java index e8eaf8f9ac6..b919ca6156c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPersistentConnection @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiableInformation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiableInformation.java index fce5f595b18..1cf90c89dd6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiableInformation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiableInformation.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPersonallyIdentifiab @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease.java index 3db3f5d3998..04c58dd8546 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease.java @@ -136,31 +136,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPhasedRelease defaul @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder failoverDuration(@Nullable Integer failoverDuration) { + this.failoverDuration = failoverDuration; return this; } @CustomType.Setter public Builder failoverEnabled(@Nullable Boolean failoverEnabled) { + this.failoverEnabled = failoverEnabled; return this; } @CustomType.Setter public Builder failoverResponseCodes(@Nullable List failoverResponseCodes) { + this.failoverResponseCodes = failoverResponseCodes; return this; } @@ -169,56 +175,67 @@ public Builder failoverResponseCodes(String... failoverResponseCodes) { } @CustomType.Setter public Builder failoverTitle(@Nullable String failoverTitle) { + this.failoverTitle = failoverTitle; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder label(@Nullable String label) { + this.label = label; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder populationCookieType(@Nullable String populationCookieType) { + this.populationCookieType = populationCookieType; return this; } @CustomType.Setter public Builder populationDuration(@Nullable String populationDuration) { + this.populationDuration = populationDuration; return this; } @CustomType.Setter public Builder populationExpirationDate(@Nullable String populationExpirationDate) { + this.populationExpirationDate = populationExpirationDate; return this; } @CustomType.Setter public Builder populationRefresh(@Nullable Boolean populationRefresh) { + this.populationRefresh = populationRefresh; return this; } @CustomType.Setter public Builder populationTitle(@Nullable String populationTitle) { + this.populationTitle = populationTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudletPolicy.java index 09de48ea3e6..16897e1c2b3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPhasedReleaseCloudle @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect.java index 8e5768537b8..6b08eb399cf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPreconnect defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder preconnectlists(@Nullable List preconnectlists) { + this.preconnectlists = preconnectlists; return this; } @@ -69,11 +71,13 @@ public Builder preconnectlists(String... preconnectlists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDelivery.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDelivery.java index e891dcc6510..aa2ece44e9c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDelivery.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDelivery.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPredictiveContentDel @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetching.java index c32a7c6f5cb..de00a5a31d6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetching.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPredictivePrefetchin @CustomType.Setter public Builder accuracyTarget(@Nullable String accuracyTarget) { + this.accuracyTarget = accuracyTarget; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch.java index 456165925ee..518bf1b7d6c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPrefetch defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable.java index 9e87915f021..f174f8af348 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPrefetchable default @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache.java index cfd29f2a451..05d074d09d7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorPrefreshCache defaul @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder prefreshval(@Nullable Integer prefreshval) { + this.prefreshval = prefreshval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuality.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuality.java index 3b1b3b087a7..c64dc53e486 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuality.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuality.java @@ -146,96 +146,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorQuality defaults) { @CustomType.Setter public Builder audienceSettings(@Nullable String audienceSettings) { + this.audienceSettings = audienceSettings; return this; } @CustomType.Setter public Builder catalogSize(@Nullable String catalogSize) { + this.catalogSize = catalogSize; return this; } @CustomType.Setter public Builder contentSettings(@Nullable String contentSettings) { + this.contentSettings = contentSettings; return this; } @CustomType.Setter public Builder contentType(@Nullable String contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder country(@Nullable String country) { + this.country = country; return this; } @CustomType.Setter public Builder deliveryFormat(@Nullable String deliveryFormat) { + this.deliveryFormat = deliveryFormat; return this; } @CustomType.Setter public Builder deliveryType(@Nullable String deliveryType) { + this.deliveryType = deliveryType; return this; } @CustomType.Setter public Builder downloadType(@Nullable String downloadType) { + this.downloadType = downloadType; return this; } @CustomType.Setter public Builder endUserLocation(@Nullable String endUserLocation) { + this.endUserLocation = endUserLocation; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumConcurrentUsers(@Nullable String maximumConcurrentUsers) { + this.maximumConcurrentUsers = maximumConcurrentUsers; return this; } @CustomType.Setter public Builder objectSize(@Nullable String objectSize) { + this.objectSize = objectSize; return this; } @CustomType.Setter public Builder optimizeFor(@Nullable String optimizeFor) { + this.optimizeFor = optimizeFor; return this; } @CustomType.Setter public Builder originSettings(@Nullable String originSettings) { + this.originSettings = originSettings; return this; } @CustomType.Setter public Builder popularityDistribution(@Nullable String popularityDistribution) { + this.popularityDistribution = popularityDistribution; return this; } @CustomType.Setter public Builder refreshRate(@Nullable String refreshRate) { + this.refreshRate = refreshRate; return this; } @CustomType.Setter public Builder segmentDuration(@Nullable Integer segmentDuration) { + this.segmentDuration = segmentDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta.java index defc773c829..4cdcc577fbd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorQuicBeta defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder quicOfferPercentage(@Nullable Integer quicOfferPercentage) { + this.quicOfferPercentage = quicOfferPercentage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek.java index c245a50a429..a7470654968 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRandomSeek defaults) @CustomType.Setter public Builder flv(@Nullable Boolean flv) { + this.flv = flv; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder mp4(@Nullable Boolean mp4) { + this.mp4 = mp4; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRapid.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRapid.java index 65533970278..ad45031a184 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRapid.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRapid.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRapid defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout.java index 519388337fd..78a8d2a5157 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorReadTimeout defaults @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting.java index 8f302a5bffd..b6bcc1deb39 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRealTimeReporting de @CustomType.Setter public Builder advanced(@Nullable Boolean advanced) { + this.advanced = advanced; return this; } @CustomType.Setter public Builder beaconSamplingPercentage(@Nullable Double beaconSamplingPercentage) { + this.beaconSamplingPercentage = beaconSamplingPercentage; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring.java index 0365cceb11e..58a61ded555 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRealUserMonitoring d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirect.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirect.java index 33837c341af..3ec0508b3f5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirect.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirect.java @@ -128,81 +128,97 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRedirect defaults) { @CustomType.Setter public Builder destinationHostname(@Nullable String destinationHostname) { + this.destinationHostname = destinationHostname; return this; } @CustomType.Setter public Builder destinationHostnameOther(@Nullable String destinationHostnameOther) { + this.destinationHostnameOther = destinationHostnameOther; return this; } @CustomType.Setter public Builder destinationHostnameSibling(@Nullable String destinationHostnameSibling) { + this.destinationHostnameSibling = destinationHostnameSibling; return this; } @CustomType.Setter public Builder destinationHostnameSubdomain(@Nullable String destinationHostnameSubdomain) { + this.destinationHostnameSubdomain = destinationHostnameSubdomain; return this; } @CustomType.Setter public Builder destinationPath(@Nullable String destinationPath) { + this.destinationPath = destinationPath; return this; } @CustomType.Setter public Builder destinationPathOther(@Nullable String destinationPathOther) { + this.destinationPathOther = destinationPathOther; return this; } @CustomType.Setter public Builder destinationPathPrefix(@Nullable String destinationPathPrefix) { + this.destinationPathPrefix = destinationPathPrefix; return this; } @CustomType.Setter public Builder destinationPathSuffix(@Nullable String destinationPathSuffix) { + this.destinationPathSuffix = destinationPathSuffix; return this; } @CustomType.Setter public Builder destinationPathSuffixStatus(@Nullable String destinationPathSuffixStatus) { + this.destinationPathSuffixStatus = destinationPathSuffixStatus; return this; } @CustomType.Setter public Builder destinationProtocol(@Nullable String destinationProtocol) { + this.destinationProtocol = destinationProtocol; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mobileDefaultChoice(@Nullable String mobileDefaultChoice) { + this.mobileDefaultChoice = mobileDefaultChoice; return this; } @CustomType.Setter public Builder queryString(@Nullable String queryString) { + this.queryString = queryString; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus.java index 9917c235e0d..51646845d75 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRedirectplus default @CustomType.Setter public Builder destination(@Nullable String destination) { + this.destination = destination; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseCode(@Nullable Integer responseCode) { + this.responseCode = responseCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking.java index a632e7c0e4a..de9512fedc6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking.java @@ -74,11 +74,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRefererChecking defa @CustomType.Setter public Builder allowChildren(@Nullable Boolean allowChildren) { + this.allowChildren = allowChildren; return this; } @CustomType.Setter public Builder domains(@Nullable List domains) { + this.domains = domains; return this; } @@ -87,26 +89,31 @@ public Builder domains(String... domains) { } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder strict(@Nullable Boolean strict) { + this.strict = strict; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter.java index 85ff95d4cdf..e4dfe25b0ed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter.java @@ -56,11 +56,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRemoveQueryParameter @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -69,11 +71,13 @@ public Builder parameters(String... parameters) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary.java index 30a4af1cd52..07d1140d25a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRemoveVary defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReport.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReport.java index 831d1975db4..37ba3504500 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReport.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReport.java @@ -110,6 +110,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorReport defaults) { @CustomType.Setter public Builder cookies(@Nullable List cookies) { + this.cookies = cookies; return this; } @@ -118,61 +119,73 @@ public Builder cookies(String... cookies) { } @CustomType.Setter public Builder customLogField(@Nullable String customLogField) { + this.customLogField = customLogField; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder logAcceptLanguage(@Nullable Boolean logAcceptLanguage) { + this.logAcceptLanguage = logAcceptLanguage; return this; } @CustomType.Setter public Builder logCookies(@Nullable String logCookies) { + this.logCookies = logCookies; return this; } @CustomType.Setter public Builder logCustomLogField(@Nullable Boolean logCustomLogField) { + this.logCustomLogField = logCustomLogField; return this; } @CustomType.Setter public Builder logEdgeIp(@Nullable Boolean logEdgeIp) { + this.logEdgeIp = logEdgeIp; return this; } @CustomType.Setter public Builder logHost(@Nullable Boolean logHost) { + this.logHost = logHost; return this; } @CustomType.Setter public Builder logReferer(@Nullable Boolean logReferer) { + this.logReferer = logReferer; return this; } @CustomType.Setter public Builder logUserAgent(@Nullable Boolean logUserAgent) { + this.logUserAgent = logUserAgent; return this; } @CustomType.Setter public Builder logXForwardedFor(@Nullable Boolean logXForwardedFor) { + this.logXForwardedFor = logXForwardedFor; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl.java index dd2c6c66fd6..9491a2477df 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl.java @@ -112,66 +112,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRequestControl defau @CustomType.Setter public Builder branded403File(@Nullable String branded403File) { + this.branded403File = branded403File; return this; } @CustomType.Setter public Builder branded403StatusCode(@Nullable Integer branded403StatusCode) { + this.branded403StatusCode = branded403StatusCode; return this; } @CustomType.Setter public Builder branded403Url(@Nullable String branded403Url) { + this.branded403Url = branded403Url; return this; } @CustomType.Setter public Builder brandedDenyCacheTtl(@Nullable Integer brandedDenyCacheTtl) { + this.brandedDenyCacheTtl = brandedDenyCacheTtl; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder enableBranded403(@Nullable Boolean enableBranded403) { + this.enableBranded403 = enableBranded403; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isSharedPolicy(@Nullable Boolean isSharedPolicy) { + this.isSharedPolicy = isSharedPolicy; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder netStorage(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetStorage netStorage) { + this.netStorage = netStorage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudletPolicy.java index d2240e8cbfb..d741493cebb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlCloudl @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetStorage.java index def59fda1c5..f0b8b1f3487 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRequestControlNetSto @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker.java index 4f6fd86853f..4eb85982940 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRequestTypeMarker de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder requestType(@Nullable String requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer.java index 52821b9a882..fffbd232080 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizer de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExtendedCompatibility.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExtendedCompatibility.java index af834e2bf81..c94e472d90b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExtendedCompatibility.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExtendedCompatibility.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorResourceOptimizerExt @CustomType.Setter public Builder enableAllFeatures(@Nullable Boolean enableAllFeatures) { + this.enableAllFeatures = enableAllFeatures; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode.java index 86909c0429c..0dea2673eed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorResponseCode default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder override206(@Nullable Boolean override206) { + this.override206 = override206; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie.java index 6c202168ef2..0af2648fd65 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie.java @@ -139,91 +139,109 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorResponseCookie defau @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder defaultDomain(@Nullable Boolean defaultDomain) { + this.defaultDomain = defaultDomain; return this; } @CustomType.Setter public Builder defaultPath(@Nullable Boolean defaultPath) { + this.defaultPath = defaultPath; return this; } @CustomType.Setter public Builder domain(@Nullable String domain) { + this.domain = domain; return this; } @CustomType.Setter public Builder duration(@Nullable String duration) { + this.duration = duration; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder expirationDate(@Nullable String expirationDate) { + this.expirationDate = expirationDate; return this; } @CustomType.Setter public Builder expires(@Nullable String expires) { + this.expires = expires; return this; } @CustomType.Setter public Builder format(@Nullable String format) { + this.format = format; return this; } @CustomType.Setter public Builder httpOnly(@Nullable Boolean httpOnly) { + this.httpOnly = httpOnly; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } @CustomType.Setter public Builder sameSite(@Nullable String sameSite) { + this.sameSite = sameSite; return this; } @CustomType.Setter public Builder secure(@Nullable Boolean secure) { + this.secure = secure; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCaching.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCaching.java index e4f46bc04ce..74aad303057 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCaching.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCaching.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRestrictObjectCachin @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder maximumSize(@Nullable String maximumSize) { + this.maximumSize = maximumSize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus.java index 599bbeec66c..c4b79456672 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorReturnCacheStatus de @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder responseHeaderName(@Nullable String responseHeaderName) { + this.responseHeaderName = responseHeaderName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl.java index 65f98b20774..4562e8cfe3d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRewriteUrl defaults) @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder keepQueryString(@Nullable Boolean keepQueryString) { + this.keepQueryString = keepQueryString; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder match(@Nullable String match) { + this.match = match; return this; } @CustomType.Setter public Builder matchMultiple(@Nullable Boolean matchMultiple) { + this.matchMultiple = matchMultiple; return this; } @CustomType.Setter public Builder matchRegex(@Nullable String matchRegex) { + this.matchRegex = matchRegex; return this; } @CustomType.Setter public Builder targetPath(@Nullable String targetPath) { + this.targetPath = targetPath; return this; } @CustomType.Setter public Builder targetPathPrepend(@Nullable String targetPathPrepend) { + this.targetPathPrepend = targetPathPrepend; return this; } @CustomType.Setter public Builder targetRegex(@Nullable String targetRegex) { + this.targetRegex = targetRegex; return this; } @CustomType.Setter public Builder targetUrl(@Nullable String targetUrl) { + this.targetUrl = targetUrl; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom.java index 0e04b07cb1c..8ebbd003885 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorRumCustom defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder rumGroupName(@Nullable String rumGroupName) { + this.rumGroupName = rumGroupName; return this; } @CustomType.Setter public Builder rumSampleRate(@Nullable Integer rumSampleRate) { + this.rumSampleRate = rumSampleRate; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions.java index c09f26060a8..882ed21f48f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions.java @@ -194,136 +194,163 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSaasDefinitions defa @CustomType.Setter public Builder applicationAction(@Nullable String applicationAction) { + this.applicationAction = applicationAction; return this; } @CustomType.Setter public Builder applicationCnameEnabled(@Nullable Boolean applicationCnameEnabled) { + this.applicationCnameEnabled = applicationCnameEnabled; return this; } @CustomType.Setter public Builder applicationCnameLevel(@Nullable Integer applicationCnameLevel) { + this.applicationCnameLevel = applicationCnameLevel; return this; } @CustomType.Setter public Builder applicationCookie(@Nullable String applicationCookie) { + this.applicationCookie = applicationCookie; return this; } @CustomType.Setter public Builder applicationQueryString(@Nullable String applicationQueryString) { + this.applicationQueryString = applicationQueryString; return this; } @CustomType.Setter public Builder applicationRegex(@Nullable String applicationRegex) { + this.applicationRegex = applicationRegex; return this; } @CustomType.Setter public Builder applicationReplace(@Nullable String applicationReplace) { + this.applicationReplace = applicationReplace; return this; } @CustomType.Setter public Builder applicationTitle(@Nullable String applicationTitle) { + this.applicationTitle = applicationTitle; return this; } @CustomType.Setter public Builder customerAction(@Nullable String customerAction) { + this.customerAction = customerAction; return this; } @CustomType.Setter public Builder customerCnameEnabled(@Nullable Boolean customerCnameEnabled) { + this.customerCnameEnabled = customerCnameEnabled; return this; } @CustomType.Setter public Builder customerCnameLevel(@Nullable Integer customerCnameLevel) { + this.customerCnameLevel = customerCnameLevel; return this; } @CustomType.Setter public Builder customerCookie(@Nullable String customerCookie) { + this.customerCookie = customerCookie; return this; } @CustomType.Setter public Builder customerQueryString(@Nullable String customerQueryString) { + this.customerQueryString = customerQueryString; return this; } @CustomType.Setter public Builder customerRegex(@Nullable String customerRegex) { + this.customerRegex = customerRegex; return this; } @CustomType.Setter public Builder customerReplace(@Nullable String customerReplace) { + this.customerReplace = customerReplace; return this; } @CustomType.Setter public Builder customerTitle(@Nullable String customerTitle) { + this.customerTitle = customerTitle; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder usersAction(@Nullable String usersAction) { + this.usersAction = usersAction; return this; } @CustomType.Setter public Builder usersCnameEnabled(@Nullable Boolean usersCnameEnabled) { + this.usersCnameEnabled = usersCnameEnabled; return this; } @CustomType.Setter public Builder usersCnameLevel(@Nullable Integer usersCnameLevel) { + this.usersCnameLevel = usersCnameLevel; return this; } @CustomType.Setter public Builder usersCookie(@Nullable String usersCookie) { + this.usersCookie = usersCookie; return this; } @CustomType.Setter public Builder usersQueryString(@Nullable String usersQueryString) { + this.usersQueryString = usersQueryString; return this; } @CustomType.Setter public Builder usersRegex(@Nullable String usersRegex) { + this.usersRegex = usersRegex; return this; } @CustomType.Setter public Builder usersReplace(@Nullable String usersReplace) { + this.usersReplace = usersReplace; return this; } @CustomType.Setter public Builder usersTitle(@Nullable String usersTitle) { + this.usersTitle = usersTitle; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudClient.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudClient.java index 5f1ff34882f..ea718bd0939 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudClient.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudClient.java @@ -91,51 +91,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCl @CustomType.Setter public Builder allowOverrideOriginCacheKey(@Nullable Boolean allowOverrideOriginCacheKey) { + this.allowOverrideOriginCacheKey = allowOverrideOriginCacheKey; return this; } @CustomType.Setter public Builder connectorId(@Nullable String connectorId) { + this.connectorId = connectorId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originHostHeader(@Nullable String originHostHeader) { + this.originHostHeader = originHostHeader; return this; } @CustomType.Setter public Builder originType(@Nullable String originType) { + this.originType = originType; return this; } @CustomType.Setter public Builder sf3cOriginHost(@Nullable String sf3cOriginHost) { + this.sf3cOriginHost = sf3cOriginHost; return this; } @CustomType.Setter public Builder sf3cOriginHostHeader(@Nullable String sf3cOriginHostHeader) { + this.sf3cOriginHostHeader = sf3cOriginHostHeader; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProvider.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProvider.java index 85f0ccfc0af..132b762f666 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProvider.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProvider.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCl @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProviderHostHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProviderHostHeader.java index 94192a05085..1c0bcb5271c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProviderHostHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCloudProviderHostHeader.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSalesForceCommerceCl @CustomType.Setter public Builder hostHeaderSource(@Nullable String hostHeaderSource) { + this.hostHeaderSource = hostHeaderSource; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessing.java index 8364ab0dc8f..acc16d8098d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessing.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSavePostDcaProcessin @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation.java index b5de77f01ae..70d09faba60 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation.java @@ -73,36 +73,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorScheduleInvalidation @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder refreshMethod(@Nullable String refreshMethod) { + this.refreshMethod = refreshMethod; return this; } @CustomType.Setter public Builder repeat(@Nullable Boolean repeat) { + this.repeat = repeat; return this; } @CustomType.Setter public Builder repeatInterval(@Nullable String repeatInterval) { + this.repeatInterval = repeatInterval; return this; } @CustomType.Setter public Builder start(@Nullable String start) { + this.start = start; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement.java index 9fac2a84713..b28352f1e12 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorScriptManagement def @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder serviceworker(@Nullable String serviceworker) { + this.serviceworker = serviceworker; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timestamp(@Nullable Integer timestamp) { + this.timestamp = timestamp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProtection.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProtection.java index eb736170ea0..1759fc3b54b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProtection.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProtection.java @@ -177,36 +177,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedContentProt @CustomType.Setter public Builder acl(@Nullable Boolean acl) { + this.acl = acl; return this; } @CustomType.Setter public Builder dashMediaEncryption(@Nullable Boolean dashMediaEncryption) { + this.dashMediaEncryption = dashMediaEncryption; return this; } @CustomType.Setter public Builder dataPayload(@Nullable Boolean dataPayload) { + this.dataPayload = dataPayload; return this; } @CustomType.Setter public Builder enableTokenInUri(@Nullable Boolean enableTokenInUri) { + this.enableTokenInUri = enableTokenInUri; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder fieldCarryOver(@Nullable String fieldCarryOver) { + this.fieldCarryOver = fieldCarryOver; return this; } @CustomType.Setter public Builder headerForSalts(@Nullable List headerForSalts) { + this.headerForSalts = headerForSalts; return this; } @@ -215,6 +222,7 @@ public Builder headerForSalts(String... headerForSalts) { } @CustomType.Setter public Builder hlsMasterManifestFiles(@Nullable List hlsMasterManifestFiles) { + this.hlsMasterManifestFiles = hlsMasterManifestFiles; return this; } @@ -223,81 +231,97 @@ public Builder hlsMasterManifestFiles(String... hlsMasterManifestFiles) { } @CustomType.Setter public Builder hlsMediaEncryption(@Nullable Boolean hlsMediaEncryption) { + this.hlsMediaEncryption = hlsMediaEncryption; return this; } @CustomType.Setter public Builder ip(@Nullable Boolean ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder key(@Nullable String key) { + this.key = key; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mediaEncryptionTitle(@Nullable String mediaEncryptionTitle) { + this.mediaEncryptionTitle = mediaEncryptionTitle; return this; } @CustomType.Setter public Builder revokedListId(@Nullable Integer revokedListId) { + this.revokedListId = revokedListId; return this; } @CustomType.Setter public Builder salt(@Nullable String salt) { + this.salt = salt; return this; } @CustomType.Setter public Builder sessionId(@Nullable Boolean sessionId) { + this.sessionId = sessionId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenAuthHlsTitle(@Nullable String tokenAuthHlsTitle) { + this.tokenAuthHlsTitle = tokenAuthHlsTitle; return this; } @CustomType.Setter public Builder tokenAuthenticationTitle(@Nullable String tokenAuthenticationTitle) { + this.tokenAuthenticationTitle = tokenAuthenticationTitle; return this; } @CustomType.Setter public Builder tokenRevocationEnabled(@Nullable Boolean tokenRevocationEnabled) { + this.tokenRevocationEnabled = tokenRevocationEnabled; return this; } @CustomType.Setter public Builder tokenRevocationTitle(@Nullable String tokenRevocationTitle) { + this.tokenRevocationTitle = tokenRevocationTitle; return this; } @CustomType.Setter public Builder transitionKey(@Nullable String transitionKey) { + this.transitionKey = transitionKey; return this; } @CustomType.Setter public Builder useAdvanced(@Nullable Boolean useAdvanced) { + this.useAdvanced = useAdvanced; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimization.java index 6e92b1883c7..b197577c06e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimization.java @@ -97,56 +97,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaOptimi @CustomType.Setter public Builder behavior(@Nullable String behavior) { + this.behavior = behavior; return this; } @CustomType.Setter public Builder dvrType(@Nullable String dvrType) { + this.dvrType = dvrType; return this; } @CustomType.Setter public Builder dvrWindow(@Nullable String dvrWindow) { + this.dvrWindow = dvrWindow; return this; } @CustomType.Setter public Builder enableUllStreaming(@Nullable Boolean enableUllStreaming) { + this.enableUllStreaming = enableUllStreaming; return this; } @CustomType.Setter public Builder endTime(@Nullable String endTime) { + this.endTime = endTime; return this; } @CustomType.Setter public Builder liveType(@Nullable String liveType) { + this.liveType = liveType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder showAdvanced(@Nullable Boolean showAdvanced) { + this.showAdvanced = showAdvanced; return this; } @CustomType.Setter public Builder startTime(@Nullable String startTime) { + this.startTime = startTime; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStreamingPrefetch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStreamingPrefetch.java index ce91b5fa46d..67413fb5006 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStreamingPrefetch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStreamingPrefetch.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSegmentedMediaStream @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable.java index 21136fce7b1..0736294a10c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable.java @@ -314,236 +314,283 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSetVariable defaults @CustomType.Setter public Builder algorithm(@Nullable String algorithm) { + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder certificateFieldName(@Nullable String certificateFieldName) { + this.certificateFieldName = certificateFieldName; return this; } @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder deviceProfile(@Nullable String deviceProfile) { + this.deviceProfile = deviceProfile; return this; } @CustomType.Setter public Builder encryptionKey(@Nullable String encryptionKey) { + this.encryptionKey = encryptionKey; return this; } @CustomType.Setter public Builder encryptionMode(@Nullable String encryptionMode) { + this.encryptionMode = encryptionMode; return this; } @CustomType.Setter public Builder endIndex(@Nullable String endIndex) { + this.endIndex = endIndex; return this; } @CustomType.Setter public Builder exceptChars(@Nullable String exceptChars) { + this.exceptChars = exceptChars; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder forceChars(@Nullable String forceChars) { + this.forceChars = forceChars; return this; } @CustomType.Setter public Builder formatString(@Nullable String formatString) { + this.formatString = formatString; return this; } @CustomType.Setter public Builder generator(@Nullable String generator) { + this.generator = generator; return this; } @CustomType.Setter public Builder globalSubstitution(@Nullable Boolean globalSubstitution) { + this.globalSubstitution = globalSubstitution; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder hmacAlgorithm(@Nullable String hmacAlgorithm) { + this.hmacAlgorithm = hmacAlgorithm; return this; } @CustomType.Setter public Builder hmacKey(@Nullable String hmacKey) { + this.hmacKey = hmacKey; return this; } @CustomType.Setter public Builder initializationVector(@Nullable String initializationVector) { + this.initializationVector = initializationVector; return this; } @CustomType.Setter public Builder ipVersion(@Nullable String ipVersion) { + this.ipVersion = ipVersion; return this; } @CustomType.Setter public Builder ipv4Prefix(@Nullable Integer ipv4Prefix) { + this.ipv4Prefix = ipv4Prefix; return this; } @CustomType.Setter public Builder ipv6Prefix(@Nullable Integer ipv6Prefix) { + this.ipv6Prefix = ipv6Prefix; return this; } @CustomType.Setter public Builder locationId(@Nullable String locationId) { + this.locationId = locationId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder max(@Nullable Integer max) { + this.max = max; return this; } @CustomType.Setter public Builder maxRandomNumber(@Nullable String maxRandomNumber) { + this.maxRandomNumber = maxRandomNumber; return this; } @CustomType.Setter public Builder min(@Nullable Integer min) { + this.min = min; return this; } @CustomType.Setter public Builder minRandomNumber(@Nullable String minRandomNumber) { + this.minRandomNumber = minRandomNumber; return this; } @CustomType.Setter public Builder nonce(@Nullable String nonce) { + this.nonce = nonce; return this; } @CustomType.Setter public Builder numberOfBytes(@Nullable Integer numberOfBytes) { + this.numberOfBytes = numberOfBytes; return this; } @CustomType.Setter public Builder operandOne(@Nullable String operandOne) { + this.operandOne = operandOne; return this; } @CustomType.Setter public Builder paramName(@Nullable String paramName) { + this.paramName = paramName; return this; } @CustomType.Setter public Builder pathComponentOffset(@Nullable String pathComponentOffset) { + this.pathComponentOffset = pathComponentOffset; return this; } @CustomType.Setter public Builder prependBytes(@Nullable Boolean prependBytes) { + this.prependBytes = prependBytes; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder replacement(@Nullable String replacement) { + this.replacement = replacement; return this; } @CustomType.Setter public Builder responseHeaderName(@Nullable String responseHeaderName) { + this.responseHeaderName = responseHeaderName; return this; } @CustomType.Setter public Builder separator(@Nullable String separator) { + this.separator = separator; return this; } @CustomType.Setter public Builder setCookieName(@Nullable String setCookieName) { + this.setCookieName = setCookieName; return this; } @CustomType.Setter public Builder startIndex(@Nullable String startIndex) { + this.startIndex = startIndex; return this; } @CustomType.Setter public Builder subString(@Nullable String subString) { + this.subString = subString; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder transform(@Nullable String transform) { + this.transform = transform; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder valueSource(@Nullable String valueSource) { + this.valueSource = valueSource; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } @CustomType.Setter public Builder variableValue(@Nullable String variableValue) { + this.variableValue = variableValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode.java index 63ecf9bd2e9..5ff1195f9a1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSimulateErrorCode de @CustomType.Setter public Builder errorType(@Nullable String errorType) { + this.errorType = errorType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder timeout(@Nullable String timeout) { + this.timeout = timeout; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield.java index 68d1a434f40..c35a8faedf3 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSiteShield defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder nossmap(@Nullable String nossmap) { + this.nossmap = nossmap; return this; } @CustomType.Setter public Builder ssmap(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap ssmap) { + this.ssmap = ssmap; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap.java index 5a4bca5efd4..0de32402699 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSiteShieldSsmap defa @CustomType.Setter public Builder chinaCdnMap(@Nullable String chinaCdnMap) { + this.chinaCdnMap = chinaCdnMap; return this; } @CustomType.Setter public Builder hasMixedHosts(@Nullable Boolean hasMixedHosts) { + this.hasMixedHosts = hasMixedHosts; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder src(@Nullable String src) { + this.src = src; return this; } @CustomType.Setter public Builder srmap(@Nullable String srmap) { + this.srmap = srmap; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration.java index 9b40059ed21..e60210f096c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration.java @@ -116,71 +116,85 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration @CustomType.Setter public Builder allowHttpsDowngrade(@Nullable Boolean allowHttpsDowngrade) { + this.allowHttpsDowngrade = allowHttpsDowngrade; return this; } @CustomType.Setter public Builder allowHttpsUpgrade(@Nullable Boolean allowHttpsUpgrade) { + this.allowHttpsUpgrade = allowHttpsUpgrade; return this; } @CustomType.Setter public Builder cacheSharingDuration(@Nullable Integer cacheSharingDuration) { + this.cacheSharingDuration = cacheSharingDuration; return this; } @CustomType.Setter public Builder cacheSharingStartTime(@Nullable String cacheSharingStartTime) { + this.cacheSharingStartTime = cacheSharingStartTime; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder isCertificateSniOnly(@Nullable Boolean isCertificateSniOnly) { + this.isCertificateSniOnly = isCertificateSniOnly; return this; } @CustomType.Setter public Builder isTieredDistributionUsed(@Nullable Boolean isTieredDistributionUsed) { + this.isTieredDistributionUsed = isTieredDistributionUsed; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder migrationDuration(@Nullable Integer migrationDuration) { + this.migrationDuration = migrationDuration; return this; } @CustomType.Setter public Builder migrationFrom(@Nullable String migrationFrom) { + this.migrationFrom = migrationFrom; return this; } @CustomType.Setter public Builder migrationStartTime(@Nullable String migrationStartTime) { + this.migrationStartTime = migrationStartTime; return this; } @CustomType.Setter public Builder tdLocation(@Nullable String tdLocation) { + this.tdLocation = tdLocation; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigrationOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigrationOverride.java index ee3bae4fdc2..829f610ed99 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigrationOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigrationOverride.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorStandardTlsMigration @CustomType.Setter public Builder info(@Nullable String info) { + this.info = info; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing.java index 7e19c1f5928..62385297815 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorStrictHeaderParsing @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder strictMode(@Nullable Boolean strictMode) { + this.strictMode = strictMode; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder validMode(@Nullable Boolean validMode) { + this.validMode = validMode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer.java index 34fda3c20fc..3318094c3a7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer.java @@ -163,111 +163,133 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSubCustomer defaults @CustomType.Setter public Builder accessControl(@Nullable Boolean accessControl) { + this.accessControl = accessControl; return this; } @CustomType.Setter public Builder cacheKey(@Nullable Boolean cacheKey) { + this.cacheKey = cacheKey; return this; } @CustomType.Setter public Builder caching(@Nullable Boolean caching) { + this.caching = caching; return this; } @CustomType.Setter public Builder contentCompressor(@Nullable Boolean contentCompressor) { + this.contentCompressor = contentCompressor; return this; } @CustomType.Setter public Builder dynamicWebContent(@Nullable Boolean dynamicWebContent) { + this.dynamicWebContent = dynamicWebContent; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder geoLocation(@Nullable Boolean geoLocation) { + this.geoLocation = geoLocation; return this; } @CustomType.Setter public Builder ip(@Nullable Boolean ip) { + this.ip = ip; return this; } @CustomType.Setter public Builder largeFileDelivery(@Nullable Boolean largeFileDelivery) { + this.largeFileDelivery = largeFileDelivery; return this; } @CustomType.Setter public Builder liveVideoDelivery(@Nullable Boolean liveVideoDelivery) { + this.liveVideoDelivery = liveVideoDelivery; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder modifyPath(@Nullable Boolean modifyPath) { + this.modifyPath = modifyPath; return this; } @CustomType.Setter public Builder onDemandVideoDelivery(@Nullable Boolean onDemandVideoDelivery) { + this.onDemandVideoDelivery = onDemandVideoDelivery; return this; } @CustomType.Setter public Builder origin(@Nullable Boolean origin) { + this.origin = origin; return this; } @CustomType.Setter public Builder partnerDomainSuffix(@Nullable String partnerDomainSuffix) { + this.partnerDomainSuffix = partnerDomainSuffix; return this; } @CustomType.Setter public Builder referrer(@Nullable Boolean referrer) { + this.referrer = referrer; return this; } @CustomType.Setter public Builder refreshContent(@Nullable Boolean refreshContent) { + this.refreshContent = refreshContent; return this; } @CustomType.Setter public Builder siteFailover(@Nullable Boolean siteFailover) { + this.siteFailover = siteFailover; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenAuthorization(@Nullable Boolean tokenAuthorization) { + this.tokenAuthorization = tokenAuthorization; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder webApplicationFirewall(@Nullable Boolean webApplicationFirewall) { + this.webApplicationFirewall = webApplicationFirewall; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute.java index 37e80cb4cf1..a0ec016f1ac 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorSureRoute defaults) @CustomType.Setter public Builder allowFcmParentOverride(@Nullable Boolean allowFcmParentOverride) { + this.allowFcmParentOverride = allowFcmParentOverride; return this; } @CustomType.Setter public Builder customMap(@Nullable String customMap) { + this.customMap = customMap; return this; } @CustomType.Setter public Builder customStatKey(@Nullable String customStatKey) { + this.customStatKey = customStatKey; return this; } @CustomType.Setter public Builder enableCustomKey(@Nullable Boolean enableCustomKey) { + this.enableCustomKey = enableCustomKey; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder forceSslForward(@Nullable Boolean forceSslForward) { + this.forceSslForward = forceSslForward; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder raceStatTtl(@Nullable String raceStatTtl) { + this.raceStatTtl = raceStatTtl; return this; } @CustomType.Setter public Builder srDownloadLinkTitle(@Nullable String srDownloadLinkTitle) { + this.srDownloadLinkTitle = srDownloadLinkTitle; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder testObjectUrl(@Nullable String testObjectUrl) { + this.testObjectUrl = testObjectUrl; return this; } @CustomType.Setter public Builder toHost(@Nullable String toHost) { + this.toHost = toHost; return this; } @CustomType.Setter public Builder toHostStatus(@Nullable String toHostStatus) { + this.toHostStatus = toHostStatus; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization.java index 286d71e1bf5..87ef0ded3af 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTcpOptimization defa @CustomType.Setter public Builder display(@Nullable String display) { + this.display = display; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf.java index 1270dadf817..298b1e0c481 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTeaLeaf defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder ibmCustomerId(@Nullable Integer ibmCustomerId) { + this.ibmCustomerId = ibmCustomerId; return this; } @CustomType.Setter public Builder limitToDynamic(@Nullable Boolean limitToDynamic) { + this.limitToDynamic = limitToDynamic; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution.java index b9cf70108e7..a0af90a241f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistribution d @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tieredDistributionMap(@Nullable String tieredDistributionMap) { + this.tieredDistributionMap = tieredDistributionMap; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAdvanced.java index d507dd0c494..ffefe63c318 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAdvanced.java @@ -79,41 +79,49 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionAd @CustomType.Setter public Builder allowall(@Nullable Boolean allowall) { + this.allowall = allowall; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder method(@Nullable String method) { + this.method = method; return this; } @CustomType.Setter public Builder policy(@Nullable String policy) { + this.policy = policy; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tieredDistributionMap(@Nullable String tieredDistributionMap) { + this.tieredDistributionMap = tieredDistributionMap; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCustomization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCustomization.java index 9c2abedc110..666d10a8a5b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCustomization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCustomization.java @@ -121,76 +121,91 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTieredDistributionCu @CustomType.Setter public Builder cloudwrapperMapMigrationTitle(@Nullable String cloudwrapperMapMigrationTitle) { + this.cloudwrapperMapMigrationTitle = cloudwrapperMapMigrationTitle; return this; } @CustomType.Setter public Builder customMapEnabled(@Nullable Boolean customMapEnabled) { + this.customMapEnabled = customMapEnabled; return this; } @CustomType.Setter public Builder customMapName(@Nullable String customMapName) { + this.customMapName = customMapName; return this; } @CustomType.Setter public Builder hashAlgorithm(@Nullable String hashAlgorithm) { + this.hashAlgorithm = hashAlgorithm; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder mapMigrationEnabled(@Nullable Boolean mapMigrationEnabled) { + this.mapMigrationEnabled = mapMigrationEnabled; return this; } @CustomType.Setter public Builder migrationEndDate(@Nullable String migrationEndDate) { + this.migrationEndDate = migrationEndDate; return this; } @CustomType.Setter public Builder migrationStartDate(@Nullable String migrationStartDate) { + this.migrationStartDate = migrationStartDate; return this; } @CustomType.Setter public Builder migrationWithinCwMapsEnabled(@Nullable Boolean migrationWithinCwMapsEnabled) { + this.migrationWithinCwMapsEnabled = migrationWithinCwMapsEnabled; return this; } @CustomType.Setter public Builder serialEnd(@Nullable String serialEnd) { + this.serialEnd = serialEnd; return this; } @CustomType.Setter public Builder serialStart(@Nullable String serialStart) { + this.serialStart = serialStart; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tier1Title(@Nullable String tier1Title) { + this.tier1Title = tier1Title; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTimeout.java index cda46d32ce5..9a0d6309c65 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorTimeout defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration.java index 69056a38f6d..480cee216fa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorUidConfiguration def @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder legalText(@Nullable String legalText) { + this.legalText = legalText; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag.java index ff9932245b4..6ec8405125f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorValidateEntityTag de @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken.java index ce0ad811bf8..a4813d531ea 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken.java @@ -85,46 +85,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebToken d @CustomType.Setter public Builder enableEs256(@Nullable Boolean enableEs256) { + this.enableEs256 = enableEs256; return this; } @CustomType.Setter public Builder enableRs256(@Nullable Boolean enableRs256) { + this.enableRs256 = enableRs256; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder jwt(@Nullable String jwt) { + this.jwt = jwt; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenForDcp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenForDcp.java index 748fba71415..4dc36474292 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenForDcp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenForDcp.java @@ -133,86 +133,103 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVerifyJsonWebTokenFo @CustomType.Setter public Builder authorizations(@Nullable String authorizations) { + this.authorizations = authorizations; return this; } @CustomType.Setter public Builder clientId(@Nullable String clientId) { + this.clientId = clientId; return this; } @CustomType.Setter public Builder customHeader(@Nullable Boolean customHeader) { + this.customHeader = customHeader; return this; } @CustomType.Setter public Builder enableEs256(@Nullable Boolean enableEs256) { + this.enableEs256 = enableEs256; return this; } @CustomType.Setter public Builder enableRs256(@Nullable Boolean enableRs256) { + this.enableRs256 = enableRs256; return this; } @CustomType.Setter public Builder extractAuthorizations(@Nullable Boolean extractAuthorizations) { + this.extractAuthorizations = extractAuthorizations; return this; } @CustomType.Setter public Builder extractClientId(@Nullable Boolean extractClientId) { + this.extractClientId = extractClientId; return this; } @CustomType.Setter public Builder extractLocation(@Nullable String extractLocation) { + this.extractLocation = extractLocation; return this; } @CustomType.Setter public Builder extractUserName(@Nullable Boolean extractUserName) { + this.extractUserName = extractUserName; return this; } @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder jwt(@Nullable String jwt) { + this.jwt = jwt; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder primaryLocation(@Nullable String primaryLocation) { + this.primaryLocation = primaryLocation; return this; } @CustomType.Setter public Builder queryParameterName(@Nullable String queryParameterName) { + this.queryParameterName = queryParameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder userName(@Nullable String userName) { + this.userName = userName; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthorization.java index 9501c399b1f..f814dcef6b5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthorization.java @@ -109,66 +109,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVerifyTokenAuthoriza @CustomType.Setter public Builder algorithm(@Nullable String algorithm) { + this.algorithm = algorithm; return this; } @CustomType.Setter public Builder escapeHmacInputs(@Nullable Boolean escapeHmacInputs) { + this.escapeHmacInputs = escapeHmacInputs; return this; } @CustomType.Setter public Builder failureResponse(@Nullable Boolean failureResponse) { + this.failureResponse = failureResponse; return this; } @CustomType.Setter public Builder ignoreQueryString(@Nullable Boolean ignoreQueryString) { + this.ignoreQueryString = ignoreQueryString; return this; } @CustomType.Setter public Builder key(@Nullable String key) { + this.key = key; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder locationId(@Nullable String locationId) { + this.locationId = locationId; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder salt(@Nullable String salt) { + this.salt = salt; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder transitionKey(@Nullable String transitionKey) { + this.transitionKey = transitionKey; return this; } @CustomType.Setter public Builder useAdvanced(@Nullable Boolean useAdvanced) { + this.useAdvanced = useAdvanced; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom.java index bfd3a8bd8be..3521bbdb360 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom.java @@ -105,51 +105,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoom d @CustomType.Setter public Builder accessTitle(@Nullable String accessTitle) { + this.accessTitle = accessTitle; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder customCookieDomain(@Nullable String customCookieDomain) { + this.customCookieDomain = customCookieDomain; return this; } @CustomType.Setter public Builder domainConfig(@Nullable String domainConfig) { + this.domainConfig = domainConfig; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionAutoProlong(@Nullable Boolean sessionAutoProlong) { + this.sessionAutoProlong = sessionAutoProlong; return this; } @CustomType.Setter public Builder sessionDuration(@Nullable Integer sessionDuration) { + this.sessionDuration = sessionDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomAssetsPaths(@Nullable List waitingRoomAssetsPaths) { + this.waitingRoomAssetsPaths = waitingRoomAssetsPaths; return this; } @@ -158,11 +168,13 @@ public Builder waitingRoomAssetsPaths(String... waitingRoomAssetsPaths) { } @CustomType.Setter public Builder waitingRoomPath(@Nullable String waitingRoomPath) { + this.waitingRoomPath = waitingRoomPath; return this; } @CustomType.Setter public Builder waitingRoomTitle(@Nullable String waitingRoomTitle) { + this.waitingRoomTitle = waitingRoomTitle; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWithEdgeWorkers.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWithEdgeWorkers.java index 8c7745f525f..95dadb75951 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWithEdgeWorkers.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWithEdgeWorkers.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVirtualWaitingRoomWi @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritization.java index 4b8d995b85b..619d2ab9542 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritization.java @@ -288,106 +288,127 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder allowedUserCookieAdvanced(@Nullable Boolean allowedUserCookieAdvanced) { + this.allowedUserCookieAdvanced = allowedUserCookieAdvanced; return this; } @CustomType.Setter public Builder allowedUserCookieAutomaticSalt(@Nullable Boolean allowedUserCookieAutomaticSalt) { + this.allowedUserCookieAutomaticSalt = allowedUserCookieAutomaticSalt; return this; } @CustomType.Setter public Builder allowedUserCookieDomain(@Nullable String allowedUserCookieDomain) { + this.allowedUserCookieDomain = allowedUserCookieDomain; return this; } @CustomType.Setter public Builder allowedUserCookieDomainType(@Nullable String allowedUserCookieDomainType) { + this.allowedUserCookieDomainType = allowedUserCookieDomainType; return this; } @CustomType.Setter public Builder allowedUserCookieDuration(@Nullable Integer allowedUserCookieDuration) { + this.allowedUserCookieDuration = allowedUserCookieDuration; return this; } @CustomType.Setter public Builder allowedUserCookieEnabled(@Nullable Boolean allowedUserCookieEnabled) { + this.allowedUserCookieEnabled = allowedUserCookieEnabled; return this; } @CustomType.Setter public Builder allowedUserCookieHttpOnly(@Nullable Boolean allowedUserCookieHttpOnly) { + this.allowedUserCookieHttpOnly = allowedUserCookieHttpOnly; return this; } @CustomType.Setter public Builder allowedUserCookieLabel(@Nullable String allowedUserCookieLabel) { + this.allowedUserCookieLabel = allowedUserCookieLabel; return this; } @CustomType.Setter public Builder allowedUserCookieManagementTitle(@Nullable String allowedUserCookieManagementTitle) { + this.allowedUserCookieManagementTitle = allowedUserCookieManagementTitle; return this; } @CustomType.Setter public Builder allowedUserCookieRefresh(@Nullable Boolean allowedUserCookieRefresh) { + this.allowedUserCookieRefresh = allowedUserCookieRefresh; return this; } @CustomType.Setter public Builder allowedUserCookieSalt(@Nullable String allowedUserCookieSalt) { + this.allowedUserCookieSalt = allowedUserCookieSalt; return this; } @CustomType.Setter public Builder cloudletPolicy(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationCloudletPolicy cloudletPolicy) { + this.cloudletPolicy = cloudletPolicy; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder userIdentificationByCookie(@Nullable Boolean userIdentificationByCookie) { + this.userIdentificationByCookie = userIdentificationByCookie; return this; } @CustomType.Setter public Builder userIdentificationByHeaders(@Nullable Boolean userIdentificationByHeaders) { + this.userIdentificationByHeaders = userIdentificationByHeaders; return this; } @CustomType.Setter public Builder userIdentificationByIp(@Nullable Boolean userIdentificationByIp) { + this.userIdentificationByIp = userIdentificationByIp; return this; } @CustomType.Setter public Builder userIdentificationByParams(@Nullable Boolean userIdentificationByParams) { + this.userIdentificationByParams = userIdentificationByParams; return this; } @CustomType.Setter public Builder userIdentificationKeyCookie(@Nullable String userIdentificationKeyCookie) { + this.userIdentificationKeyCookie = userIdentificationKeyCookie; return this; } @CustomType.Setter public Builder userIdentificationKeyHeaders(@Nullable List userIdentificationKeyHeaders) { + this.userIdentificationKeyHeaders = userIdentificationKeyHeaders; return this; } @@ -396,6 +417,7 @@ public Builder userIdentificationKeyHeaders(String... userIdentificationKeyHeade } @CustomType.Setter public Builder userIdentificationKeyParams(@Nullable List userIdentificationKeyParams) { + this.userIdentificationKeyParams = userIdentificationKeyParams; return this; } @@ -404,101 +426,121 @@ public Builder userIdentificationKeyParams(String... userIdentificationKeyParams } @CustomType.Setter public Builder userIdentificationTitle(@Nullable String userIdentificationTitle) { + this.userIdentificationTitle = userIdentificationTitle; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomCacheTtl(@Nullable Integer waitingRoomCacheTtl) { + this.waitingRoomCacheTtl = waitingRoomCacheTtl; return this; } @CustomType.Setter public Builder waitingRoomCookieAdvanced(@Nullable Boolean waitingRoomCookieAdvanced) { + this.waitingRoomCookieAdvanced = waitingRoomCookieAdvanced; return this; } @CustomType.Setter public Builder waitingRoomCookieAutomaticSalt(@Nullable Boolean waitingRoomCookieAutomaticSalt) { + this.waitingRoomCookieAutomaticSalt = waitingRoomCookieAutomaticSalt; return this; } @CustomType.Setter public Builder waitingRoomCookieDomain(@Nullable String waitingRoomCookieDomain) { + this.waitingRoomCookieDomain = waitingRoomCookieDomain; return this; } @CustomType.Setter public Builder waitingRoomCookieDomainType(@Nullable String waitingRoomCookieDomainType) { + this.waitingRoomCookieDomainType = waitingRoomCookieDomainType; return this; } @CustomType.Setter public Builder waitingRoomCookieDuration(@Nullable Integer waitingRoomCookieDuration) { + this.waitingRoomCookieDuration = waitingRoomCookieDuration; return this; } @CustomType.Setter public Builder waitingRoomCookieEnabled(@Nullable Boolean waitingRoomCookieEnabled) { + this.waitingRoomCookieEnabled = waitingRoomCookieEnabled; return this; } @CustomType.Setter public Builder waitingRoomCookieHttpOnly(@Nullable Boolean waitingRoomCookieHttpOnly) { + this.waitingRoomCookieHttpOnly = waitingRoomCookieHttpOnly; return this; } @CustomType.Setter public Builder waitingRoomCookieLabel(@Nullable String waitingRoomCookieLabel) { + this.waitingRoomCookieLabel = waitingRoomCookieLabel; return this; } @CustomType.Setter public Builder waitingRoomCookieManagementTitle(@Nullable String waitingRoomCookieManagementTitle) { + this.waitingRoomCookieManagementTitle = waitingRoomCookieManagementTitle; return this; } @CustomType.Setter public Builder waitingRoomCookieSalt(@Nullable String waitingRoomCookieSalt) { + this.waitingRoomCookieSalt = waitingRoomCookieSalt; return this; } @CustomType.Setter public Builder waitingRoomCookieShareLabel(@Nullable Boolean waitingRoomCookieShareLabel) { + this.waitingRoomCookieShareLabel = waitingRoomCookieShareLabel; return this; } @CustomType.Setter public Builder waitingRoomCpCode(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCode waitingRoomCpCode) { + this.waitingRoomCpCode = waitingRoomCpCode; return this; } @CustomType.Setter public Builder waitingRoomDirectory(@Nullable String waitingRoomDirectory) { + this.waitingRoomDirectory = waitingRoomDirectory; return this; } @CustomType.Setter public Builder waitingRoomManagementTitle(@Nullable String waitingRoomManagementTitle) { + this.waitingRoomManagementTitle = waitingRoomManagementTitle; return this; } @CustomType.Setter public Builder waitingRoomNetStorage(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomNetStorage waitingRoomNetStorage) { + this.waitingRoomNetStorage = waitingRoomNetStorage; return this; } @CustomType.Setter public Builder waitingRoomStatusCode(@Nullable Integer waitingRoomStatusCode) { + this.waitingRoomStatusCode = waitingRoomStatusCode; return this; } @CustomType.Setter public Builder waitingRoomUseCpCode(@Nullable Boolean waitingRoomUseCpCode) { + this.waitingRoomUseCpCode = waitingRoomUseCpCode; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationCloudletPolicy.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationCloudletPolicy.java index 74985e488db..825158e6f8a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationCloudletPolicy.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationCloudletPolicy.java @@ -43,11 +43,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifo.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifo.java index a9fc7cdd534..79dc6c35362 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifo.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifo.java @@ -105,51 +105,61 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder accessTitle(@Nullable String accessTitle) { + this.accessTitle = accessTitle; return this; } @CustomType.Setter public Builder cloudletSharedPolicy(@Nullable Integer cloudletSharedPolicy) { + this.cloudletSharedPolicy = cloudletSharedPolicy; return this; } @CustomType.Setter public Builder customCookieDomain(@Nullable String customCookieDomain) { + this.customCookieDomain = customCookieDomain; return this; } @CustomType.Setter public Builder domainConfig(@Nullable String domainConfig) { + this.domainConfig = domainConfig; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder sessionAutoProlong(@Nullable Boolean sessionAutoProlong) { + this.sessionAutoProlong = sessionAutoProlong; return this; } @CustomType.Setter public Builder sessionDuration(@Nullable Integer sessionDuration) { + this.sessionDuration = sessionDuration; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder waitingRoomAssetsPaths(@Nullable List waitingRoomAssetsPaths) { + this.waitingRoomAssetsPaths = waitingRoomAssetsPaths; return this; } @@ -158,11 +168,13 @@ public Builder waitingRoomAssetsPaths(String... waitingRoomAssetsPaths) { } @CustomType.Setter public Builder waitingRoomPath(@Nullable String waitingRoomPath) { + this.waitingRoomPath = waitingRoomPath; return this; } @CustomType.Setter public Builder waitingRoomTitle(@Nullable String waitingRoomTitle) { + this.waitingRoomTitle = waitingRoomTitle; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifoStandalone.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifoStandalone.java index d795995b408..b24b4378736 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifoStandalone.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationFifoStandalone.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCode.java index d821a94a918..11aa21f5815 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCode.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java index 7ed8d84c00e..9cea738be8e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomCpCodeCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomNetStorage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomNetStorage.java index 7487ac3ae0b..c4d4750530f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomNetStorage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizationWaitingRoomNetStorage.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorVisitorPrioritizatio @CustomType.Setter public Builder cpCode(@Nullable Integer cpCode) { + this.cpCode = cpCode; return this; } @CustomType.Setter public Builder downloadDomainName(@Nullable String downloadDomainName) { + this.downloadDomainName = downloadDomainName; return this; } @CustomType.Setter public Builder g2oToken(@Nullable String g2oToken) { + this.g2oToken = g2oToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking.java index 5fcbe62955d..71a4ecb9b77 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking.java @@ -145,96 +145,115 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorWatermarking default @CustomType.Setter public Builder abVariantLocation(@Nullable String abVariantLocation) { + this.abVariantLocation = abVariantLocation; return this; } @CustomType.Setter public Builder decryptionPassword1(@Nullable String decryptionPassword1) { + this.decryptionPassword1 = decryptionPassword1; return this; } @CustomType.Setter public Builder decryptionPassword2(@Nullable String decryptionPassword2) { + this.decryptionPassword2 = decryptionPassword2; return this; } @CustomType.Setter public Builder decryptionPasswordId1(@Nullable String decryptionPasswordId1) { + this.decryptionPasswordId1 = decryptionPasswordId1; return this; } @CustomType.Setter public Builder decryptionPasswordId2(@Nullable String decryptionPasswordId2) { + this.decryptionPasswordId2 = decryptionPasswordId2; return this; } @CustomType.Setter public Builder enable(@Nullable Boolean enable) { + this.enable = enable; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder miscellaneousSettingsTitle(@Nullable String miscellaneousSettingsTitle) { + this.miscellaneousSettingsTitle = miscellaneousSettingsTitle; return this; } @CustomType.Setter public Builder patternDecryptionEnable(@Nullable Boolean patternDecryptionEnable) { + this.patternDecryptionEnable = patternDecryptionEnable; return this; } @CustomType.Setter public Builder patternEncryptionTitle(@Nullable String patternEncryptionTitle) { + this.patternEncryptionTitle = patternEncryptionTitle; return this; } @CustomType.Setter public Builder signatureVerificationEnable(@Nullable Boolean signatureVerificationEnable) { + this.signatureVerificationEnable = signatureVerificationEnable; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder tokenSigningTitle(@Nullable String tokenSigningTitle) { + this.tokenSigningTitle = tokenSigningTitle; return this; } @CustomType.Setter public Builder useOriginalAsA(@Nullable Boolean useOriginalAsA) { + this.useOriginalAsA = useOriginalAsA; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder verificationKeyId1(@Nullable String verificationKeyId1) { + this.verificationKeyId1 = verificationKeyId1; return this; } @CustomType.Setter public Builder verificationKeyId2(@Nullable String verificationKeyId2) { + this.verificationKeyId2 = verificationKeyId2; return this; } @CustomType.Setter public Builder verificationPublicKey1(@Nullable String verificationPublicKey1) { + this.verificationPublicKey1 = verificationPublicKey1; return this; } @CustomType.Setter public Builder verificationPublicKey2(@Nullable String verificationPublicKey2) { + this.verificationPublicKey2 = verificationPublicKey2; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewall.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewall.java index 9a14cbceff5..2e1001b092f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewall.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewall.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewa @CustomType.Setter public Builder firewallConfiguration(@Nullable GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewallFirewallConfiguration firewallConfiguration) { + this.firewallConfiguration = firewallConfiguration; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewallFirewallConfiguration.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewallFirewallConfiguration.java index d0343768a9c..90ad216b3db 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewallFirewallConfiguration.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewallFirewallConfiguration.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorWebApplicationFirewa @CustomType.Setter public Builder configId(@Nullable Integer configId) { + this.configId = configId; return this; } @CustomType.Setter public Builder fileName(@Nullable String fileName) { + this.fileName = fileName; return this; } @CustomType.Setter public Builder productionStatus(@Nullable String productionStatus) { + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder productionVersion(@Nullable Integer productionVersion) { + this.productionVersion = productionVersion; return this; } @CustomType.Setter public Builder stagingStatus(@Nullable String stagingStatus) { + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder stagingVersion(@Nullable Integer stagingVersion) { + this.stagingVersion = stagingVersion; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets.java index cf155aa785f..899d0336ea7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorWebSockets defaults) @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebdav.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebdav.java index 4b773173d94..157b1f5a4bb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebdav.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530BehaviorWebdav.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorWebdav defaults) { @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Criterion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Criterion.java index d6035e9b432..dd3bf77e2e6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Criterion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Criterion.java @@ -344,226 +344,271 @@ public Builder(GetPropertyRulesBuilderRulesV20230530Criterion defaults) { @CustomType.Setter public Builder advancedImMatch(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch advancedImMatch) { + this.advancedImMatch = advancedImMatch; return this; } @CustomType.Setter public Builder bucket(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionBucket bucket) { + this.bucket = bucket; return this; } @CustomType.Setter public Builder cacheability(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionCacheability cacheability) { + this.cacheability = cacheability; return this; } @CustomType.Setter public Builder chinaCdnRegion(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion chinaCdnRegion) { + this.chinaCdnRegion = chinaCdnRegion; return this; } @CustomType.Setter public Builder clientCertificate(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate clientCertificate) { + this.clientCertificate = clientCertificate; return this; } @CustomType.Setter public Builder clientIp(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionClientIp clientIp) { + this.clientIp = clientIp; return this; } @CustomType.Setter public Builder clientIpVersion(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion clientIpVersion) { + this.clientIpVersion = clientIpVersion; return this; } @CustomType.Setter public Builder cloudletsOrigin(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin cloudletsOrigin) { + this.cloudletsOrigin = cloudletsOrigin; return this; } @CustomType.Setter public Builder contentDeliveryNetwork(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetwork contentDeliveryNetwork) { + this.contentDeliveryNetwork = contentDeliveryNetwork; return this; } @CustomType.Setter public Builder contentType(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionContentType contentType) { + this.contentType = contentType; return this; } @CustomType.Setter public Builder deviceCharacteristic(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristic deviceCharacteristic) { + this.deviceCharacteristic = deviceCharacteristic; return this; } @CustomType.Setter public Builder ecmdAuthGroups(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups ecmdAuthGroups) { + this.ecmdAuthGroups = ecmdAuthGroups; return this; } @CustomType.Setter public Builder ecmdAuthScheme(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme ecmdAuthScheme) { + this.ecmdAuthScheme = ecmdAuthScheme; return this; } @CustomType.Setter public Builder ecmdIsAuthenticated(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated ecmdIsAuthenticated) { + this.ecmdIsAuthenticated = ecmdIsAuthenticated; return this; } @CustomType.Setter public Builder ecmdUsername(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername ecmdUsername) { + this.ecmdUsername = ecmdUsername; return this; } @CustomType.Setter public Builder edgeWorkersFailure(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure edgeWorkersFailure) { + this.edgeWorkersFailure = edgeWorkersFailure; return this; } @CustomType.Setter public Builder fileExtension(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionFileExtension fileExtension) { + this.fileExtension = fileExtension; return this; } @CustomType.Setter public Builder filename(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionFilename filename) { + this.filename = filename; return this; } @CustomType.Setter public Builder hostname(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionHostname hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder matchAdvanced(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced matchAdvanced) { + this.matchAdvanced = matchAdvanced; return this; } @CustomType.Setter public Builder matchCpCode(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode matchCpCode) { + this.matchCpCode = matchCpCode; return this; } @CustomType.Setter public Builder matchResponseCode(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode matchResponseCode) { + this.matchResponseCode = matchResponseCode; return this; } @CustomType.Setter public Builder matchVariable(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable matchVariable) { + this.matchVariable = matchVariable; return this; } @CustomType.Setter public Builder metadataStage(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage metadataStage) { + this.metadataStage = metadataStage; return this; } @CustomType.Setter public Builder originTimeout(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout originTimeout) { + this.originTimeout = originTimeout; return this; } @CustomType.Setter public Builder path(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionPath path) { + this.path = path; return this; } @CustomType.Setter public Builder queryStringParameter(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParameter queryStringParameter) { + this.queryStringParameter = queryStringParameter; return this; } @CustomType.Setter public Builder random(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRandom random) { + this.random = random; return this; } @CustomType.Setter public Builder recoveryConfig(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig recoveryConfig) { + this.recoveryConfig = recoveryConfig; return this; } @CustomType.Setter public Builder regularExpression(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression regularExpression) { + this.regularExpression = regularExpression; return this; } @CustomType.Setter public Builder requestCookie(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie requestCookie) { + this.requestCookie = requestCookie; return this; } @CustomType.Setter public Builder requestHeader(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader requestHeader) { + this.requestHeader = requestHeader; return this; } @CustomType.Setter public Builder requestMethod(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod requestMethod) { + this.requestMethod = requestMethod; return this; } @CustomType.Setter public Builder requestProtocol(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol requestProtocol) { + this.requestProtocol = requestProtocol; return this; } @CustomType.Setter public Builder requestType(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionRequestType requestType) { + this.requestType = requestType; return this; } @CustomType.Setter public Builder responseHeader(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader responseHeader) { + this.responseHeader = responseHeader; return this; } @CustomType.Setter public Builder serverLocation(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionServerLocation serverLocation) { + this.serverLocation = serverLocation; return this; } @CustomType.Setter public Builder time(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionTime time) { + this.time = time; return this; } @CustomType.Setter public Builder tokenAuthorization(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization tokenAuthorization) { + this.tokenAuthorization = tokenAuthorization; return this; } @CustomType.Setter public Builder userAgent(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionUserAgent userAgent) { + this.userAgent = userAgent; return this; } @CustomType.Setter public Builder userLocation(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionUserLocation userLocation) { + this.userLocation = userLocation; return this; } @CustomType.Setter public Builder userNetwork(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork userNetwork) { + this.userNetwork = userNetwork; return this; } @CustomType.Setter public Builder variableError(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionVariableError variableError) { + this.variableError = variableError; return this; } @CustomType.Setter public Builder virtualWaitingRoomRequest(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomRequest virtualWaitingRoomRequest) { + this.virtualWaitingRoomRequest = virtualWaitingRoomRequest; return this; } @CustomType.Setter public Builder visitorPrioritizationRequest(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizationRequest visitorPrioritizationRequest) { + this.visitorPrioritizationRequest = visitorPrioritizationRequest; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch.java index ed805800a42..ccb75243eb2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionAdvancedImMatch def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionBucket.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionBucket.java index 366ceae31ff..942b846ca3e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionBucket.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionBucket.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionBucket defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder percentage(@Nullable Integer percentage) { + this.percentage = percentage; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCacheability.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCacheability.java index 5be9e39cf1f..cb3f9df0e75 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCacheability.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCacheability.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionCacheability defaul @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion.java index 88a1b296445..bf4e2a1ae73 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionChinaCdnRegion defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate.java index 168efde5def..c0d3d18c343 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionClientCertificate d @CustomType.Setter public Builder isCertificatePresent(@Nullable Boolean isCertificatePresent) { + this.isCertificatePresent = isCertificatePresent; return this; } @CustomType.Setter public Builder isCertificateValid(@Nullable String isCertificateValid) { + this.isCertificateValid = isCertificateValid; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIp.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIp.java index 20bb51e4a4f..be676beedfc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIp.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIp.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionClientIp defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useHeaders(@Nullable Boolean useHeaders) { + this.useHeaders = useHeaders; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion.java index a21d630cf6f..ebb04e92691 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionClientIpVersion def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useXForwardedFor(@Nullable Boolean useXForwardedFor) { + this.useXForwardedFor = useXForwardedFor; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin.java index dd7cf7ac50f..5ac82aa3046 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionCloudletsOrigin def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder originId(@Nullable String originId) { + this.originId = originId; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetwork.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetwork.java index a66a9fa23fa..33ca84428f0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetwork.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetwork.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionContentDeliveryNetw @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder network(@Nullable String network) { + this.network = network; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentType.java index b4b27d4e1b8..02f3ffc0082 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionContentType.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionContentType default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristic.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristic.java index 3d13b354cf7..c52d0c1d4c7 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristic.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristic.java @@ -111,46 +111,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionDeviceCharacteristi @CustomType.Setter public Builder booleanValue(@Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; return this; } @CustomType.Setter public Builder characteristic(@Nullable String characteristic) { + this.characteristic = characteristic; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder numericMatchOperator(@Nullable String numericMatchOperator) { + this.numericMatchOperator = numericMatchOperator; return this; } @CustomType.Setter public Builder numericValue(@Nullable Integer numericValue) { + this.numericValue = numericValue; return this; } @CustomType.Setter public Builder stringMatchOperator(@Nullable String stringMatchOperator) { + this.stringMatchOperator = stringMatchOperator; return this; } @CustomType.Setter public Builder stringValues(@Nullable List stringValues) { + this.stringValues = stringValues; return this; } @@ -159,21 +168,25 @@ public Builder stringValues(String... stringValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder versionMatchOperator(@Nullable String versionMatchOperator) { + this.versionMatchOperator = versionMatchOperator; return this; } @CustomType.Setter public Builder versionValue(@Nullable String versionValue) { + this.versionValue = versionValue; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups.java index 272f421ea0c..4ed1e58c73e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthGroups defa @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme.java index d74c4bc7eb3..2f37182432a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionEcmdAuthScheme defa @CustomType.Setter public Builder authScheme(@Nullable String authScheme) { + this.authScheme = authScheme; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated.java index f44622bb26f..87690d5e8a6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionEcmdIsAuthenticated @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername.java index 0b4b4a35321..aa10affd312 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionEcmdUsername defaul @CustomType.Setter public Builder length(@Nullable String length) { + this.length = length; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure.java index a6e5d9608a5..3ea0ba1c1a0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionEdgeWorkersFailure @CustomType.Setter public Builder execStatus(@Nullable String execStatus) { + this.execStatus = execStatus; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFileExtension.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFileExtension.java index 87739f6c58b..86c6d336b75 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFileExtension.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFileExtension.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionFileExtension defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFilename.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFilename.java index 1fcda8796fb..14177c1f985 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFilename.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionFilename.java @@ -68,31 +68,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionFilename defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionHostname.java index d8c348ad348..e42433ba500 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionHostname.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionHostname defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced.java index a557e089719..553d6bb125f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchAdvanced defau @CustomType.Setter public Builder closeXml(@Nullable String closeXml) { + this.closeXml = closeXml; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder openXml(@Nullable String openXml) { + this.openXml = openXml; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode.java index 33617d51911..3c4093cb232 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCode default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue.java index 6a6df9715f7..7d0640cc4fa 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue.java @@ -69,31 +69,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValue de @CustomType.Setter public Builder cpCodeLimits(@Nullable GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpCodeLimits cpCodeLimits) { + this.cpCodeLimits = cpCodeLimits; return this; } @CustomType.Setter public Builder createdDate(@Nullable Integer createdDate) { + this.createdDate = createdDate; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Integer id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder products(@Nullable List products) { + this.products = products; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpCodeLimits.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpCodeLimits.java index 7f44783d593..0db7e041bbf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpCodeLimits.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpCodeLimits.java @@ -49,16 +49,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchCpCodeValueCpC @CustomType.Setter public Builder currentCapacity(@Nullable Integer currentCapacity) { + this.currentCapacity = currentCapacity; return this; } @CustomType.Setter public Builder limit(@Nullable Integer limit) { + this.limit = limit; return this; } @CustomType.Setter public Builder limitType(@Nullable String limitType) { + this.limitType = limitType; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode.java index d76b944b582..22a3476e95c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode.java @@ -75,36 +75,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchResponseCode d @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable.java index e5d56a15ae1..2332f0ce81c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable.java @@ -98,56 +98,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMatchVariable defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable String lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable String upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableExpression(@Nullable String variableExpression) { + this.variableExpression = variableExpression; return this; } @CustomType.Setter public Builder variableName(@Nullable String variableName) { + this.variableName = variableName; return this; } @CustomType.Setter public Builder variableValues(@Nullable List variableValues) { + this.variableValues = variableValues; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage.java index 07f7dd5591e..47a43d8783c 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionMetadataStage defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout.java index c4022ed8f43..ff8d980b718 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionOriginTimeout defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionPath.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionPath.java index a4965c8bd67..f906913c92b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionPath.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionPath.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionPath defaults) { @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder normalize(@Nullable Boolean normalize) { + this.normalize = normalize; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParameter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParameter.java index 6ef72add921..03dc3b771da 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParameter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParameter.java @@ -111,66 +111,79 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionQueryStringParamete @CustomType.Setter public Builder escapeValue(@Nullable Boolean escapeValue) { + this.escapeValue = escapeValue; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveName(@Nullable Boolean matchCaseSensitiveName) { + this.matchCaseSensitiveName = matchCaseSensitiveName; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder parameterName(@Nullable String parameterName) { + this.parameterName = parameterName; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRandom.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRandom.java index d38a4b45393..39e6a6e48f9 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRandom.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRandom.java @@ -56,21 +56,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRandom defaults) { @CustomType.Setter public Builder bucket(@Nullable Integer bucket) { + this.bucket = bucket; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig.java index 59425ad5dbe..1139ccf8b3e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRecoveryConfig defa @CustomType.Setter public Builder configName(@Nullable String configName) { + this.configName = configName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression.java index 23add2a41f5..800f1307f58 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression.java @@ -67,31 +67,37 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRegularExpression d @CustomType.Setter public Builder caseSensitive(@Nullable Boolean caseSensitive) { + this.caseSensitive = caseSensitive; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchString(@Nullable String matchString) { + this.matchString = matchString; return this; } @CustomType.Setter public Builder regex(@Nullable String regex) { + this.regex = regex; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie.java index d27c36942a8..c0973c4202f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie.java @@ -104,61 +104,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRequestCookie defau @CustomType.Setter public Builder cookieName(@Nullable String cookieName) { + this.cookieName = cookieName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveName(@Nullable Boolean matchCaseSensitiveName) { + this.matchCaseSensitiveName = matchCaseSensitiveName; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader.java index b6328270650..82e5c8f7039 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader.java @@ -86,46 +86,55 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRequestHeader defau @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod.java index f09433dee4a..0254b795d70 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRequestMethod defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol.java index acd0cd376f4..1c1d15e41dd 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol.java @@ -55,21 +55,25 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRequestProtocol def @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestType.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestType.java index a2f843ab106..ca91b45641e 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestType.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionRequestType.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionRequestType default @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader.java index ff1cd88aefb..6bb7875f901 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader.java @@ -99,56 +99,67 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionResponseHeader defa @CustomType.Setter public Builder headerName(@Nullable String headerName) { + this.headerName = headerName; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder lowerBound(@Nullable Integer lowerBound) { + this.lowerBound = lowerBound; return this; } @CustomType.Setter public Builder matchCaseSensitiveValue(@Nullable Boolean matchCaseSensitiveValue) { + this.matchCaseSensitiveValue = matchCaseSensitiveValue; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcardName(@Nullable Boolean matchWildcardName) { + this.matchWildcardName = matchWildcardName; return this; } @CustomType.Setter public Builder matchWildcardValue(@Nullable Boolean matchWildcardValue) { + this.matchWildcardValue = matchWildcardValue; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder upperBound(@Nullable Integer upperBound) { + this.upperBound = upperBound; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionServerLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionServerLocation.java index 98473ce54ef..6866500dd9f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionServerLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionServerLocation.java @@ -80,6 +80,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionServerLocation defa @CustomType.Setter public Builder continents(@Nullable List continents) { + this.continents = continents; return this; } @@ -88,6 +89,7 @@ public Builder continents(String... continents) { } @CustomType.Setter public Builder countries(@Nullable List countries) { + this.countries = countries; return this; } @@ -96,21 +98,25 @@ public Builder countries(String... countries) { } @CustomType.Setter public Builder locationType(@Nullable String locationType) { + this.locationType = locationType; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder regions(@Nullable List regions) { + this.regions = regions; return this; } @@ -119,11 +125,13 @@ public Builder regions(String... regions) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTime.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTime.java index 055d7b841ae..e7de5eafb81 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTime.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTime.java @@ -103,61 +103,73 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionTime defaults) { @CustomType.Setter public Builder applyDaylightSavingsTime(@Nullable Boolean applyDaylightSavingsTime) { + this.applyDaylightSavingsTime = applyDaylightSavingsTime; return this; } @CustomType.Setter public Builder beginDate(@Nullable String beginDate) { + this.beginDate = beginDate; return this; } @CustomType.Setter public Builder endDate(@Nullable String endDate) { + this.endDate = endDate; return this; } @CustomType.Setter public Builder lastingDate(@Nullable String lastingDate) { + this.lastingDate = lastingDate; return this; } @CustomType.Setter public Builder lastingDuration(@Nullable String lastingDuration) { + this.lastingDuration = lastingDuration; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder repeatBeginDate(@Nullable String repeatBeginDate) { + this.repeatBeginDate = repeatBeginDate; return this; } @CustomType.Setter public Builder repeatDuration(@Nullable String repeatDuration) { + this.repeatDuration = repeatDuration; return this; } @CustomType.Setter public Builder repeatInterval(@Nullable String repeatInterval) { + this.repeatInterval = repeatInterval; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization.java index ef1abf2b764..e6775958457 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization.java @@ -62,16 +62,19 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionTokenAuthorization @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder statusLists(@Nullable List statusLists) { + this.statusLists = statusLists; return this; } @@ -80,11 +83,13 @@ public Builder statusLists(String... statusLists) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserAgent.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserAgent.java index dfcd99cbd14..9216c735ce0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserAgent.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserAgent.java @@ -74,36 +74,43 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionUserAgent defaults) @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchCaseSensitive(@Nullable Boolean matchCaseSensitive) { + this.matchCaseSensitive = matchCaseSensitive; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder matchWildcard(@Nullable Boolean matchWildcard) { + this.matchWildcard = matchWildcard; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder values(@Nullable List values) { + this.values = values; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserLocation.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserLocation.java index 6198b778a11..d02e991ab35 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserLocation.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserLocation.java @@ -92,11 +92,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionUserLocation defaul @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder continentValues(@Nullable List continentValues) { + this.continentValues = continentValues; return this; } @@ -105,6 +107,7 @@ public Builder continentValues(String... continentValues) { } @CustomType.Setter public Builder countryValues(@Nullable List countryValues) { + this.countryValues = countryValues; return this; } @@ -113,21 +116,25 @@ public Builder countryValues(String... countryValues) { } @CustomType.Setter public Builder field(@Nullable String field) { + this.field = field; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder regionValues(@Nullable List regionValues) { + this.regionValues = regionValues; return this; } @@ -136,16 +143,19 @@ public Builder regionValues(String... regionValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useOnlyFirstXForwardedForIp(@Nullable Boolean useOnlyFirstXForwardedForIp) { + this.useOnlyFirstXForwardedForIp = useOnlyFirstXForwardedForIp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork.java index ff7ab7513a3..b1afdec30c1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork.java @@ -92,6 +92,7 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionUserNetwork default @CustomType.Setter public Builder bandwidthValues(@Nullable List bandwidthValues) { + this.bandwidthValues = bandwidthValues; return this; } @@ -100,26 +101,31 @@ public Builder bandwidthValues(String... bandwidthValues) { } @CustomType.Setter public Builder checkIps(@Nullable String checkIps) { + this.checkIps = checkIps; return this; } @CustomType.Setter public Builder field(@Nullable String field) { + this.field = field; return this; } @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder networkTypeValues(@Nullable List networkTypeValues) { + this.networkTypeValues = networkTypeValues; return this; } @@ -128,6 +134,7 @@ public Builder networkTypeValues(String... networkTypeValues) { } @CustomType.Setter public Builder networkValues(@Nullable List networkValues) { + this.networkValues = networkValues; return this; } @@ -136,16 +143,19 @@ public Builder networkValues(String... networkValues) { } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder useOnlyFirstXForwardedForIp(@Nullable Boolean useOnlyFirstXForwardedForIp) { + this.useOnlyFirstXForwardedForIp = useOnlyFirstXForwardedForIp; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVariableError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVariableError.java index dac7bce008d..11c5370a455 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVariableError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVariableError.java @@ -62,26 +62,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionVariableError defau @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder result(@Nullable Boolean result) { + this.result = result; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } @CustomType.Setter public Builder variableNames(@Nullable List variableNames) { + this.variableNames = variableNames; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomRequest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomRequest.java index 67e8e5e60f5..b8938211b8f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomRequest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomRequest.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionVirtualWaitingRoomR @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizationRequest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizationRequest.java index 55fd2003d97..829934301e0 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizationRequest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizationRequest.java @@ -61,26 +61,31 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CriterionVisitorPrioritizati @CustomType.Setter public Builder locked(@Nullable Boolean locked) { + this.locked = locked; return this; } @CustomType.Setter public Builder matchOn(@Nullable String matchOn) { + this.matchOn = matchOn; return this; } @CustomType.Setter public Builder matchOperator(@Nullable String matchOperator) { + this.matchOperator = matchOperator; return this; } @CustomType.Setter public Builder templateUuid(@Nullable String templateUuid) { + this.templateUuid = templateUuid; return this; } @CustomType.Setter public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CustomOverride.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CustomOverride.java index cab66eddfbe..bebd6bbc931 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CustomOverride.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530CustomOverride.java @@ -42,11 +42,13 @@ public Builder(GetPropertyRulesBuilderRulesV20230530CustomOverride defaults) { @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder overrideId(@Nullable String overrideId) { + this.overrideId = overrideId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Variable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Variable.java index bef236db7c3..c9afe861a8d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Variable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesBuilderRulesV20230530Variable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.String; import java.util.Objects; @@ -59,27 +60,42 @@ public Builder(GetPropertyRulesBuilderRulesV20230530Variable defaults) { @CustomType.Setter public Builder description(String description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder hidden(Boolean hidden) { - this.hidden = Objects.requireNonNull(hidden); + if (hidden == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "hidden"); + } + this.hidden = hidden; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder sensitive(Boolean sensitive) { - this.sensitive = Objects.requireNonNull(sensitive); + if (sensitive == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "sensitive"); + } + this.sensitive = sensitive; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesBuilderRulesV20230530Variable", "value"); + } + this.value = value; return this; } public GetPropertyRulesBuilderRulesV20230530Variable build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesResult.java index 66ceb082eb4..1891f7e9770 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetPropertyRulesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder errors(String errors) { - this.errors = Objects.requireNonNull(errors); + if (errors == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "errors"); + } + this.errors = errors; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder ruleFormat(@Nullable String ruleFormat) { + this.ruleFormat = ruleFormat; return this; } @CustomType.Setter public Builder rules(String rules) { - this.rules = Objects.requireNonNull(rules); + if (rules == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "rules"); + } + this.rules = rules; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "version"); + } + this.version = version; return this; } public GetPropertyRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateResult.java index 9a7f860e909..db212cac953 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateResult.java @@ -6,6 +6,7 @@ import com.pulumi.akamai.outputs.GetPropertyRulesTemplateTemplate; import com.pulumi.akamai.outputs.GetPropertyRulesTemplateVariable; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -83,21 +84,29 @@ public Builder(GetPropertyRulesTemplateResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder templateFile(@Nullable String templateFile) { + this.templateFile = templateFile; return this; } @CustomType.Setter public Builder templates(@Nullable List templates) { + this.templates = templates; return this; } @@ -106,16 +115,19 @@ public Builder templates(GetPropertyRulesTemplateTemplate... templates) { } @CustomType.Setter public Builder varDefinitionFile(@Nullable String varDefinitionFile) { + this.varDefinitionFile = varDefinitionFile; return this; } @CustomType.Setter public Builder varValuesFile(@Nullable String varValuesFile) { + this.varValuesFile = varValuesFile; return this; } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateTemplate.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateTemplate.java index 0da47125a1d..b6273abb02a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateTemplate.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateTemplate.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -40,12 +41,18 @@ public Builder(GetPropertyRulesTemplateTemplate defaults) { @CustomType.Setter public Builder templateData(String templateData) { - this.templateData = Objects.requireNonNull(templateData); + if (templateData == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplate", "templateData"); + } + this.templateData = templateData; return this; } @CustomType.Setter public Builder templateDir(String templateDir) { - this.templateDir = Objects.requireNonNull(templateDir); + if (templateDir == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateTemplate", "templateDir"); + } + this.templateDir = templateDir; return this; } public GetPropertyRulesTemplateTemplate build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateVariable.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateVariable.java index 45e31ab2e0e..3bd00e6312d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateVariable.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GetPropertyRulesTemplateVariable.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -48,17 +49,24 @@ public Builder(GetPropertyRulesTemplateVariable defaults) { @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariable", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesTemplateVariable", "value"); + } + this.value = value; return this; } public GetPropertyRulesTemplateVariable build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapAssignment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapAssignment.java index 8fb1776b8a8..c756b1d3d8f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapAssignment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapAssignment.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -48,7 +49,10 @@ public Builder(GtmAsmapAssignment defaults) { @CustomType.Setter public Builder asNumbers(List asNumbers) { - this.asNumbers = Objects.requireNonNull(asNumbers); + if (asNumbers == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignment", "asNumbers"); + } + this.asNumbers = asNumbers; return this; } public Builder asNumbers(Integer... asNumbers) { @@ -56,12 +60,18 @@ public Builder asNumbers(Integer... asNumbers) { } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignment", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GtmAsmapAssignment", "nickname"); + } + this.nickname = nickname; return this; } public GtmAsmapAssignment build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapDefaultDatacenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapDefaultDatacenter.java index 170dbc8d961..28358a89f0d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapDefaultDatacenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmAsmapDefaultDatacenter.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,11 +44,15 @@ public Builder(GtmAsmapDefaultDatacenter defaults) { @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmAsmapDefaultDatacenter", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(@Nullable String nickname) { + this.nickname = nickname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapAssignment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapAssignment.java index 209b1c6ac18..0f4579e4806 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapAssignment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapAssignment.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -49,6 +50,7 @@ public Builder(GtmCidrmapAssignment defaults) { @CustomType.Setter public Builder blocks(@Nullable List blocks) { + this.blocks = blocks; return this; } @@ -57,12 +59,18 @@ public Builder blocks(String... blocks) { } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmCidrmapAssignment", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GtmCidrmapAssignment", "nickname"); + } + this.nickname = nickname; return this; } public GtmCidrmapAssignment build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapDefaultDatacenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapDefaultDatacenter.java index 65123f5ae15..3f95ca2a7f6 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapDefaultDatacenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmCidrmapDefaultDatacenter.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,11 +44,15 @@ public Builder(GtmCidrmapDefaultDatacenter defaults) { @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmCidrmapDefaultDatacenter", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(@Nullable String nickname) { + this.nickname = nickname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmDatacenterDefaultLoadObject.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmDatacenterDefaultLoadObject.java index f9b1ae52980..55b7e384783 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmDatacenterDefaultLoadObject.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmDatacenterDefaultLoadObject.java @@ -50,16 +50,19 @@ public Builder(GtmDatacenterDefaultLoadObject defaults) { @CustomType.Setter public Builder loadObject(@Nullable String loadObject) { + this.loadObject = loadObject; return this; } @CustomType.Setter public Builder loadObjectPort(@Nullable Integer loadObjectPort) { + this.loadObjectPort = loadObjectPort; return this; } @CustomType.Setter public Builder loadServers(@Nullable List loadServers) { + this.loadServers = loadServers; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapAssignment.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapAssignment.java index a99d5dfcafc..06dfa854155 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapAssignment.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapAssignment.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -49,6 +50,7 @@ public Builder(GtmGeomapAssignment defaults) { @CustomType.Setter public Builder countries(@Nullable List countries) { + this.countries = countries; return this; } @@ -57,12 +59,18 @@ public Builder countries(String... countries) { } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmGeomapAssignment", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GtmGeomapAssignment", "nickname"); + } + this.nickname = nickname; return this; } public GtmGeomapAssignment build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapDefaultDatacenter.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapDefaultDatacenter.java index 4caa57b6569..f04ad0c00cf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapDefaultDatacenter.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmGeomapDefaultDatacenter.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,11 +44,15 @@ public Builder(GtmGeomapDefaultDatacenter defaults) { @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmGeomapDefaultDatacenter", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder nickname(@Nullable String nickname) { + this.nickname = nickname; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTest.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTest.java index 01d0306b435..ac0317e681a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTest.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTest.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.GtmPropertyLivenessTestHttpHeader; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -179,41 +180,49 @@ public Builder(GtmPropertyLivenessTest defaults) { @CustomType.Setter public Builder answersRequired(@Nullable Boolean answersRequired) { + this.answersRequired = answersRequired; return this; } @CustomType.Setter public Builder disableNonstandardPortWarning(@Nullable Boolean disableNonstandardPortWarning) { + this.disableNonstandardPortWarning = disableNonstandardPortWarning; return this; } @CustomType.Setter public Builder disabled(@Nullable Boolean disabled) { + this.disabled = disabled; return this; } @CustomType.Setter public Builder errorPenalty(@Nullable Double errorPenalty) { + this.errorPenalty = errorPenalty; return this; } @CustomType.Setter public Builder httpError3xx(@Nullable Boolean httpError3xx) { + this.httpError3xx = httpError3xx; return this; } @CustomType.Setter public Builder httpError4xx(@Nullable Boolean httpError4xx) { + this.httpError4xx = httpError4xx; return this; } @CustomType.Setter public Builder httpError5xx(@Nullable Boolean httpError5xx) { + this.httpError5xx = httpError5xx; return this; } @CustomType.Setter public Builder httpHeaders(@Nullable List httpHeaders) { + this.httpHeaders = httpHeaders; return this; } @@ -222,81 +231,105 @@ public Builder httpHeaders(GtmPropertyLivenessTestHttpHeader... httpHeaders) { } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTest", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder peerCertificateVerification(@Nullable Boolean peerCertificateVerification) { + this.peerCertificateVerification = peerCertificateVerification; return this; } @CustomType.Setter public Builder recursionRequested(@Nullable Boolean recursionRequested) { + this.recursionRequested = recursionRequested; return this; } @CustomType.Setter public Builder requestString(@Nullable String requestString) { + this.requestString = requestString; return this; } @CustomType.Setter public Builder resourceType(@Nullable String resourceType) { + this.resourceType = resourceType; return this; } @CustomType.Setter public Builder responseString(@Nullable String responseString) { + this.responseString = responseString; return this; } @CustomType.Setter public Builder sslClientCertificate(@Nullable String sslClientCertificate) { + this.sslClientCertificate = sslClientCertificate; return this; } @CustomType.Setter public Builder sslClientPrivateKey(@Nullable String sslClientPrivateKey) { + this.sslClientPrivateKey = sslClientPrivateKey; return this; } @CustomType.Setter public Builder testInterval(Integer testInterval) { - this.testInterval = Objects.requireNonNull(testInterval); + if (testInterval == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTest", "testInterval"); + } + this.testInterval = testInterval; return this; } @CustomType.Setter public Builder testObject(@Nullable String testObject) { + this.testObject = testObject; return this; } @CustomType.Setter public Builder testObjectPassword(@Nullable String testObjectPassword) { + this.testObjectPassword = testObjectPassword; return this; } @CustomType.Setter public Builder testObjectPort(@Nullable Integer testObjectPort) { + this.testObjectPort = testObjectPort; return this; } @CustomType.Setter public Builder testObjectProtocol(String testObjectProtocol) { - this.testObjectProtocol = Objects.requireNonNull(testObjectProtocol); + if (testObjectProtocol == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTest", "testObjectProtocol"); + } + this.testObjectProtocol = testObjectProtocol; return this; } @CustomType.Setter public Builder testObjectUsername(@Nullable String testObjectUsername) { + this.testObjectUsername = testObjectUsername; return this; } @CustomType.Setter public Builder testTimeout(Double testTimeout) { - this.testTimeout = Objects.requireNonNull(testTimeout); + if (testTimeout == null) { + throw new MissingRequiredPropertyException("GtmPropertyLivenessTest", "testTimeout"); + } + this.testTimeout = testTimeout; return this; } @CustomType.Setter public Builder timeoutPenalty(@Nullable Double timeoutPenalty) { + this.timeoutPenalty = timeoutPenalty; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTestHttpHeader.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTestHttpHeader.java index fda009d44da..810e53eb90d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTestHttpHeader.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyLivenessTestHttpHeader.java @@ -42,11 +42,13 @@ public Builder(GtmPropertyLivenessTestHttpHeader defaults) { @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyStaticRrSet.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyStaticRrSet.java index d20963807ef..60d5ece9ccf 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyStaticRrSet.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyStaticRrSet.java @@ -50,6 +50,7 @@ public Builder(GtmPropertyStaticRrSet defaults) { @CustomType.Setter public Builder rdatas(@Nullable List rdatas) { + this.rdatas = rdatas; return this; } @@ -58,11 +59,13 @@ public Builder rdatas(String... rdatas) { } @CustomType.Setter public Builder ttl(@Nullable Integer ttl) { + this.ttl = ttl; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyTrafficTarget.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyTrafficTarget.java index 3bcde20b41c..e81feeff1f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyTrafficTarget.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmPropertyTrafficTarget.java @@ -82,26 +82,31 @@ public Builder(GtmPropertyTrafficTarget defaults) { @CustomType.Setter public Builder datacenterId(@Nullable Integer datacenterId) { + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; return this; } @CustomType.Setter public Builder handoutCname(@Nullable String handoutCname) { + this.handoutCname = handoutCname; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder servers(@Nullable List servers) { + this.servers = servers; return this; } @@ -110,6 +115,7 @@ public Builder servers(String... servers) { } @CustomType.Setter public Builder weight(@Nullable Double weight) { + this.weight = weight; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmResourceResourceInstance.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmResourceResourceInstance.java index ad84433fb7e..947c5f23742 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmResourceResourceInstance.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/GtmResourceResourceInstance.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -63,21 +64,27 @@ public Builder(GtmResourceResourceInstance defaults) { @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GtmResourceResourceInstance", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder loadObject(@Nullable String loadObject) { + this.loadObject = loadObject; return this; } @CustomType.Setter public Builder loadObjectPort(@Nullable Integer loadObjectPort) { + this.loadObjectPort = loadObjectPort; return this; } @CustomType.Setter public Builder loadServers(@Nullable List loadServers) { + this.loadServers = loadServers; return this; } @@ -86,6 +93,7 @@ public Builder loadServers(String... loadServers) { } @CustomType.Setter public Builder useDefaultLoadObject(@Nullable Boolean useDefaultLoadObject) { + this.useDefaultLoadObject = useDefaultLoadObject; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecord.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecord.java index 7ddb736bb16..b7af7a7a276 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecord.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecord.java @@ -57,21 +57,25 @@ public Builder(PropertyActivationComplianceRecord defaults) { @CustomType.Setter public Builder noncomplianceReasonEmergency(@Nullable PropertyActivationComplianceRecordNoncomplianceReasonEmergency noncomplianceReasonEmergency) { + this.noncomplianceReasonEmergency = noncomplianceReasonEmergency; return this; } @CustomType.Setter public Builder noncomplianceReasonNoProductionTraffic(@Nullable PropertyActivationComplianceRecordNoncomplianceReasonNoProductionTraffic noncomplianceReasonNoProductionTraffic) { + this.noncomplianceReasonNoProductionTraffic = noncomplianceReasonNoProductionTraffic; return this; } @CustomType.Setter public Builder noncomplianceReasonNone(@Nullable PropertyActivationComplianceRecordNoncomplianceReasonNone noncomplianceReasonNone) { + this.noncomplianceReasonNone = noncomplianceReasonNone; return this; } @CustomType.Setter public Builder noncomplianceReasonOther(@Nullable PropertyActivationComplianceRecordNoncomplianceReasonOther noncomplianceReasonOther) { + this.noncomplianceReasonOther = noncomplianceReasonOther; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonEmergency.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonEmergency.java index 7665ac356e4..a05b166d6ec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonEmergency.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonEmergency.java @@ -36,6 +36,7 @@ public Builder(PropertyActivationComplianceRecordNoncomplianceReasonEmergency de @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java index b7f37db134d..0488b75eb51 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java @@ -36,6 +36,7 @@ public Builder(PropertyActivationComplianceRecordNoncomplianceReasonNoProduction @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNone.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNone.java index 74024271282..33d116ae3d2 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNone.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonNone.java @@ -55,21 +55,25 @@ public Builder(PropertyActivationComplianceRecordNoncomplianceReasonNone default @CustomType.Setter public Builder customerEmail(@Nullable String customerEmail) { + this.customerEmail = customerEmail; return this; } @CustomType.Setter public Builder peerReviewedBy(@Nullable String peerReviewedBy) { + this.peerReviewedBy = peerReviewedBy; return this; } @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } @CustomType.Setter public Builder unitTested(@Nullable Boolean unitTested) { + this.unitTested = unitTested; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonOther.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonOther.java index b70b36c15e0..5dc28dbf7ec 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonOther.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationComplianceRecordNoncomplianceReasonOther.java @@ -42,11 +42,13 @@ public Builder(PropertyActivationComplianceRecordNoncomplianceReasonOther defaul @CustomType.Setter public Builder otherNoncomplianceReason(@Nullable String otherNoncomplianceReason) { + this.otherNoncomplianceReason = otherNoncomplianceReason; return this; } @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationRuleError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationRuleError.java index 5f06db7a0dc..3552cdbda28 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationRuleError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyActivationRuleError.java @@ -73,36 +73,43 @@ public Builder(PropertyActivationRuleError defaults) { @CustomType.Setter public Builder behaviorName(@Nullable String behaviorName) { + this.behaviorName = behaviorName; return this; } @CustomType.Setter public Builder detail(@Nullable String detail) { + this.detail = detail; return this; } @CustomType.Setter public Builder errorLocation(@Nullable String errorLocation) { + this.errorLocation = errorLocation; return this; } @CustomType.Setter public Builder instance(@Nullable String instance) { + this.instance = instance; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostname.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostname.java index 94ff9098c70..9260d9d5b82 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostname.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostname.java @@ -5,6 +5,7 @@ import com.pulumi.akamai.outputs.PropertyHostnameCertStatus; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -68,11 +69,15 @@ public Builder(PropertyHostname defaults) { @CustomType.Setter public Builder certProvisioningType(String certProvisioningType) { - this.certProvisioningType = Objects.requireNonNull(certProvisioningType); + if (certProvisioningType == null) { + throw new MissingRequiredPropertyException("PropertyHostname", "certProvisioningType"); + } + this.certProvisioningType = certProvisioningType; return this; } @CustomType.Setter public Builder certStatuses(@Nullable List certStatuses) { + this.certStatuses = certStatuses; return this; } @@ -81,21 +86,29 @@ public Builder certStatuses(PropertyHostnameCertStatus... certStatuses) { } @CustomType.Setter public Builder cnameFrom(String cnameFrom) { - this.cnameFrom = Objects.requireNonNull(cnameFrom); + if (cnameFrom == null) { + throw new MissingRequiredPropertyException("PropertyHostname", "cnameFrom"); + } + this.cnameFrom = cnameFrom; return this; } @CustomType.Setter public Builder cnameTo(String cnameTo) { - this.cnameTo = Objects.requireNonNull(cnameTo); + if (cnameTo == null) { + throw new MissingRequiredPropertyException("PropertyHostname", "cnameTo"); + } + this.cnameTo = cnameTo; return this; } @CustomType.Setter public Builder cnameType(@Nullable String cnameType) { + this.cnameType = cnameType; return this; } @CustomType.Setter public Builder edgeHostnameId(@Nullable String edgeHostnameId) { + this.edgeHostnameId = edgeHostnameId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostnameCertStatus.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostnameCertStatus.java index def246e3c50..3533fb8bfa1 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostnameCertStatus.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyHostnameCertStatus.java @@ -54,21 +54,25 @@ public Builder(PropertyHostnameCertStatus defaults) { @CustomType.Setter public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; return this; } @CustomType.Setter public Builder productionStatus(@Nullable String productionStatus) { + this.productionStatus = productionStatus; return this; } @CustomType.Setter public Builder stagingStatus(@Nullable String stagingStatus) { + this.stagingStatus = stagingStatus; return this; } @CustomType.Setter public Builder target(@Nullable String target) { + this.target = target; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecord.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecord.java index 43832b96417..f20e09b9e2b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecord.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecord.java @@ -57,21 +57,25 @@ public Builder(PropertyIncludeActivationComplianceRecord defaults) { @CustomType.Setter public Builder noncomplianceReasonEmergency(@Nullable PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmergency noncomplianceReasonEmergency) { + this.noncomplianceReasonEmergency = noncomplianceReasonEmergency; return this; } @CustomType.Setter public Builder noncomplianceReasonNoProductionTraffic(@Nullable PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoProductionTraffic noncomplianceReasonNoProductionTraffic) { + this.noncomplianceReasonNoProductionTraffic = noncomplianceReasonNoProductionTraffic; return this; } @CustomType.Setter public Builder noncomplianceReasonNone(@Nullable PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone noncomplianceReasonNone) { + this.noncomplianceReasonNone = noncomplianceReasonNone; return this; } @CustomType.Setter public Builder noncomplianceReasonOther(@Nullable PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther noncomplianceReasonOther) { + this.noncomplianceReasonOther = noncomplianceReasonOther; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmergency.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmergency.java index 9ad99f00445..ea066b2b4fc 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmergency.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmergency.java @@ -36,6 +36,7 @@ public Builder(PropertyIncludeActivationComplianceRecordNoncomplianceReasonEmerg @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java index 2d7323994ff..61b57442e05 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoProductionTraffic.java @@ -36,6 +36,7 @@ public Builder(PropertyIncludeActivationComplianceRecordNoncomplianceReasonNoPro @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone.java index 08299a02e74..723e0dc4768 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone.java @@ -55,21 +55,25 @@ public Builder(PropertyIncludeActivationComplianceRecordNoncomplianceReasonNone @CustomType.Setter public Builder customerEmail(@Nullable String customerEmail) { + this.customerEmail = customerEmail; return this; } @CustomType.Setter public Builder peerReviewedBy(@Nullable String peerReviewedBy) { + this.peerReviewedBy = peerReviewedBy; return this; } @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } @CustomType.Setter public Builder unitTested(@Nullable Boolean unitTested) { + this.unitTested = unitTested; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther.java index de531aa94ce..89c1adca5cb 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther.java @@ -42,11 +42,13 @@ public Builder(PropertyIncludeActivationComplianceRecordNoncomplianceReasonOther @CustomType.Setter public Builder otherNoncomplianceReason(@Nullable String otherNoncomplianceReason) { + this.otherNoncomplianceReason = otherNoncomplianceReason; return this; } @CustomType.Setter public Builder ticketId(@Nullable String ticketId) { + this.ticketId = ticketId; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyRuleError.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyRuleError.java index fa561dce064..cd3f1278c02 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyRuleError.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/outputs/PropertyRuleError.java @@ -73,36 +73,43 @@ public Builder(PropertyRuleError defaults) { @CustomType.Setter public Builder behaviorName(@Nullable String behaviorName) { + this.behaviorName = behaviorName; return this; } @CustomType.Setter public Builder detail(@Nullable String detail) { + this.detail = detail; return this; } @CustomType.Setter public Builder errorLocation(@Nullable String errorLocation) { + this.errorLocation = errorLocation; return this; } @CustomType.Setter public Builder instance(@Nullable String instance) { + this.instance = instance; return this; } @CustomType.Setter public Builder statusCode(@Nullable Integer statusCode) { + this.statusCode = statusCode; return this; } @CustomType.Setter public Builder title(@Nullable String title) { + this.title = title; return this; } @CustomType.Setter public Builder type(@Nullable String type) { + this.type = type; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationArgs.java index 8b3cc03e52c..d18635677f4 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -91,8 +92,12 @@ public Builder version(Integer version) { } public GetActivationArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetActivationArgs", "propertyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetActivationArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationPlainArgs.java index ecdfe085b45..9696313cb5d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetActivationPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -78,8 +79,12 @@ public Builder version(Integer version) { } public GetActivationPlainArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); - $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetActivationPlainArgs", "propertyId"); + } + if ($.version == null) { + throw new MissingRequiredPropertyException("GetActivationPlainArgs", "version"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodeArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodeArgs.java index 77ba26b9c13..34bb9dd27a8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodeArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodeArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -88,9 +89,15 @@ public Builder name(String name) { } public GetCpCodeArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "groupId"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCpCodeArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodePlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodePlainArgs.java index 711eb540f75..b7bb675b27d 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetCpCodePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -75,9 +76,15 @@ public Builder name(String name) { } public GetCpCodePlainArgs build() { - $.contractId = Objects.requireNonNull($.contractId, "expected parameter 'contractId' to be non-null"); - $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null"); - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "contractId"); + } + if ($.groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "groupId"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetCpCodePlainArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyArgs.java index 170b00739d9..0c100a858ab 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder version(Integer version) { } public GetPropertyArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyPlainArgs.java index 421d96daa4c..140c2dff79f 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder version(@Nullable Integer version) { } public GetPropertyPlainArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetPropertyPlainArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesArgs.java index 802c998d9ff..35877f91e11 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -125,7 +126,9 @@ public Builder version(Integer version) { } public GetPropertyRulesArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesPlainArgs.java index 506b78591d6..5b58e1be7ed 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/inputs/GetPropertyRulesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -104,7 +105,9 @@ public Builder version(@Nullable Integer version) { } public GetPropertyRulesPlainArgs build() { - $.propertyId = Objects.requireNonNull($.propertyId, "expected parameter 'propertyId' to be non-null"); + if ($.propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesPlainArgs", "propertyId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetActivationResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetActivationResult.java index f81fa615bd8..b45dbbfc77b 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetActivationResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetActivationResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -100,12 +101,18 @@ public Builder(GetActivationResult defaults) { @CustomType.Setter public Builder activationId(String activationId) { - this.activationId = Objects.requireNonNull(activationId); + if (activationId == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "activationId"); + } + this.activationId = activationId; return this; } @CustomType.Setter public Builder contacts(List contacts) { - this.contacts = Objects.requireNonNull(contacts); + if (contacts == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "contacts"); + } + this.contacts = contacts; return this; } public Builder contacts(String... contacts) { @@ -113,42 +120,64 @@ public Builder contacts(String... contacts) { } @CustomType.Setter public Builder errors(String errors) { - this.errors = Objects.requireNonNull(errors); + if (errors == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "errors"); + } + this.errors = errors; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder network(@Nullable String network) { + this.network = network; return this; } @CustomType.Setter public Builder note(String note) { - this.note = Objects.requireNonNull(note); + if (note == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "note"); + } + this.note = note; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder status(String status) { - this.status = Objects.requireNonNull(status); + if (status == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "status"); + } + this.status = status; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "version"); + } + this.version = version; return this; } @CustomType.Setter public Builder warnings(String warnings) { - this.warnings = Objects.requireNonNull(warnings); + if (warnings == null) { + throw new MissingRequiredPropertyException("GetActivationResult", "warnings"); + } + this.warnings = warnings; return this; } public GetActivationResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetCpCodeResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetCpCodeResult.java index 5bda27361e9..580d344f6d8 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetCpCodeResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetCpCodeResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,27 +68,42 @@ public Builder(GetCpCodeResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder productIds(List productIds) { - this.productIds = Objects.requireNonNull(productIds); + if (productIds == null) { + throw new MissingRequiredPropertyException("GetCpCodeResult", "productIds"); + } + this.productIds = productIds; return this; } public Builder productIds(String... productIds) { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyResult.java index 9c7820adfa3..95487714b47 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,21 +64,31 @@ public Builder(GetPropertyResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder rules(String rules) { - this.rules = Objects.requireNonNull(rules); + if (rules == null) { + throw new MissingRequiredPropertyException("GetPropertyResult", "rules"); + } + this.rules = rules; return this; } @CustomType.Setter public Builder version(@Nullable Integer version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyRulesResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyRulesResult.java index cb3ea9b1aba..42bcd9eeb2a 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyRulesResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/properties/outputs/GetPropertyRulesResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.properties.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -87,42 +88,64 @@ public Builder(GetPropertyRulesResult defaults) { @CustomType.Setter public Builder contractId(String contractId) { - this.contractId = Objects.requireNonNull(contractId); + if (contractId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "contractId"); + } + this.contractId = contractId; return this; } @CustomType.Setter public Builder errors(String errors) { - this.errors = Objects.requireNonNull(errors); + if (errors == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "errors"); + } + this.errors = errors; return this; } @CustomType.Setter public Builder groupId(String groupId) { - this.groupId = Objects.requireNonNull(groupId); + if (groupId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "groupId"); + } + this.groupId = groupId; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder propertyId(String propertyId) { - this.propertyId = Objects.requireNonNull(propertyId); + if (propertyId == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "propertyId"); + } + this.propertyId = propertyId; return this; } @CustomType.Setter public Builder ruleFormat(@Nullable String ruleFormat) { + this.ruleFormat = ruleFormat; return this; } @CustomType.Setter public Builder rules(String rules) { - this.rules = Objects.requireNonNull(rules); + if (rules == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "rules"); + } + this.rules = rules; return this; } @CustomType.Setter public Builder version(Integer version) { - this.version = Objects.requireNonNull(version); + if (version == null) { + throw new MissingRequiredPropertyException("GetPropertyRulesResult", "version"); + } + this.version = version; return this; } public GetPropertyRulesResult build() { diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterArgs.java index dd7eecb9344..81bc46492d5 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder domain(String domain) { } public GetGtmDefaultDatacenterArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterPlainArgs.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterPlainArgs.java index 000918c2cef..3f074f289ae 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/inputs/GetGtmDefaultDatacenterPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.trafficmanagement.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -65,7 +66,9 @@ public Builder domain(String domain) { } public GetGtmDefaultDatacenterPlainArgs build() { - $.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null"); + if ($.domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterPlainArgs", "domain"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/outputs/GetGtmDefaultDatacenterResult.java b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/outputs/GetGtmDefaultDatacenterResult.java index a53d146b99b..f1e29342a38 100644 --- a/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/outputs/GetGtmDefaultDatacenterResult.java +++ b/pkg/codegen/testing/test/testdata/akamai/java/src/main/java/com/pulumi/akamai/trafficmanagement/outputs/GetGtmDefaultDatacenterResult.java @@ -4,6 +4,7 @@ package com.pulumi.akamai.trafficmanagement.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -69,27 +70,40 @@ public Builder(GetGtmDefaultDatacenterResult defaults) { @CustomType.Setter public Builder datacenter(@Nullable Integer datacenter) { + this.datacenter = datacenter; return this; } @CustomType.Setter public Builder datacenterId(Integer datacenterId) { - this.datacenterId = Objects.requireNonNull(datacenterId); + if (datacenterId == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "datacenterId"); + } + this.datacenterId = datacenterId; return this; } @CustomType.Setter public Builder domain(String domain) { - this.domain = Objects.requireNonNull(domain); + if (domain == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "domain"); + } + this.domain = domain; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder nickname(String nickname) { - this.nickname = Objects.requireNonNull(nickname); + if (nickname == null) { + throw new MissingRequiredPropertyException("GetGtmDefaultDatacenterResult", "nickname"); + } + this.nickname = nickname; return this; } public GetGtmDefaultDatacenterResult build() { diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/CompositePathResponse.java b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/CompositePathResponse.java index 922379d34b6..45491bacaf7 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/CompositePathResponse.java +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/CompositePathResponse.java @@ -58,11 +58,13 @@ public Builder(CompositePathResponse defaults) { @CustomType.Setter public Builder order(@Nullable String order) { + this.order = order; return this; } @CustomType.Setter public Builder path(@Nullable String path) { + this.path = path; return this; } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/IndexingPolicyResponse.java b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/IndexingPolicyResponse.java index 8187a26099a..4e6acd4e1cb 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/IndexingPolicyResponse.java +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/IndexingPolicyResponse.java @@ -44,6 +44,7 @@ public Builder(IndexingPolicyResponse defaults) { @CustomType.Setter public Builder compositeIndexes(@Nullable List> compositeIndexes) { + this.compositeIndexes = compositeIndexes; return this; } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/SqlContainerGetPropertiesResponseResource.java b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/SqlContainerGetPropertiesResponseResource.java index 3be4cfaca1f..d5dee55cb20 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/SqlContainerGetPropertiesResponseResource.java +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/java/src/main/java/com/pulumi/azurenative/documentdb/outputs/SqlContainerGetPropertiesResponseResource.java @@ -44,6 +44,7 @@ public Builder(SqlContainerGetPropertiesResponseResource defaults) { @CustomType.Setter public Builder indexingPolicy(@Nullable IndexingPolicyResponse indexingPolicy) { + this.indexingPolicy = indexingPolicy; return this; } diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/java/src/main/java/com/pulumi/foobar/outputs/TopLevel.java b/pkg/codegen/testing/test/testdata/dash-named-schema/java/src/main/java/com/pulumi/foobar/outputs/TopLevel.java index bfcc8da54a3..47ce99a743d 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/java/src/main/java/com/pulumi/foobar/outputs/TopLevel.java +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/java/src/main/java/com/pulumi/foobar/outputs/TopLevel.java @@ -36,6 +36,7 @@ public Builder(TopLevel defaults) { @CustomType.Setter public Builder buzz(@Nullable String buzz) { + this.buzz = buzz; return this; } diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java index cdf5b3e75f0..7654bd52c7c 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.enums.ContainerBrightness; import com.pulumi.plant.enums.ContainerColor; import com.pulumi.plant.enums.ContainerSize; @@ -121,7 +122,9 @@ public Builder size(ContainerSize size) { public ContainerArgs build() { $.brightness = Codegen.objectProp("brightness", ContainerBrightness.class).output().arg($.brightness).def(ContainerBrightness.One).getNullable(); - $.size = Objects.requireNonNull($.size, "expected parameter 'size' to be non-null"); + if ($.size == null) { + throw new MissingRequiredPropertyException("ContainerArgs", "size"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java index ec7acf352b4..97a7500b1fd 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java @@ -4,6 +4,7 @@ package com.pulumi.plant.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.enums.ContainerBrightness; import com.pulumi.plant.enums.ContainerSize; import java.lang.String; @@ -56,22 +57,28 @@ public Builder(Container defaults) { @CustomType.Setter public Builder brightness(@Nullable ContainerBrightness brightness) { + this.brightness = brightness; return this; } @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder material(@Nullable String material) { + this.material = material; return this; } @CustomType.Setter public Builder size(ContainerSize size) { - this.size = Objects.requireNonNull(size); + if (size == null) { + throw new MissingRequiredPropertyException("Container", "size"); + } + this.size = size; return this; } public Container build() { diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java index 884c98ac146..cb0eeb7f166 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.tree_v1.enums.RubberTreeVariety; import com.pulumi.plant.tree_v1.enums.TreeSize; import java.lang.String; @@ -127,7 +128,9 @@ public Builder varieties(RubberTreeVariety... varieties) { } public NurseryArgs build() { - $.varieties = Objects.requireNonNull($.varieties, "expected parameter 'varieties' to be non-null"); + if ($.varieties == null) { + throw new MissingRequiredPropertyException("NurseryArgs", "varieties"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java index 474c5f8e68a..bf830d4f02b 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.inputs.ContainerArgs; import com.pulumi.plant.tree_v1.enums.Diameter; import com.pulumi.plant.tree_v1.enums.Farm; diff --git a/pkg/codegen/testing/test/testdata/docs-collision/java/src/main/java/com/pulumi/example/outputs/OverlayResult.java b/pkg/codegen/testing/test/testdata/docs-collision/java/src/main/java/com/pulumi/example/outputs/OverlayResult.java index 2db2eaa8741..4ab9e46c227 100644 --- a/pkg/codegen/testing/test/testdata/docs-collision/java/src/main/java/com/pulumi/example/outputs/OverlayResult.java +++ b/pkg/codegen/testing/test/testdata/docs-collision/java/src/main/java/com/pulumi/example/outputs/OverlayResult.java @@ -36,6 +36,7 @@ public Builder(OverlayResult defaults) { @CustomType.Setter public Builder result(@Nullable Overlay result) { + this.result = result; return this; } diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsArgs.java b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsArgs.java index d74ca639677..fdb9e16f989 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsArgs.java +++ b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -71,8 +72,12 @@ public Builder plaintext(String plaintext) { } public FuncWithSecretsArgs build() { - $.cryptoKey = Objects.requireNonNull($.cryptoKey, "expected parameter 'cryptoKey' to be non-null"); - $.plaintext = Objects.requireNonNull($.plaintext, "expected parameter 'plaintext' to be non-null"); + if ($.cryptoKey == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsArgs", "cryptoKey"); + } + if ($.plaintext == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsArgs", "plaintext"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsPlainArgs.java b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsPlainArgs.java index 88a082fe538..c1737ef5df7 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithSecretsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -62,8 +63,12 @@ public Builder plaintext(String plaintext) { } public FuncWithSecretsPlainArgs build() { - $.cryptoKey = Objects.requireNonNull($.cryptoKey, "expected parameter 'cryptoKey' to be non-null"); - $.plaintext = Objects.requireNonNull($.plaintext, "expected parameter 'plaintext' to be non-null"); + if ($.cryptoKey == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsPlainArgs", "cryptoKey"); + } + if ($.plaintext == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsPlainArgs", "plaintext"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithSecretsResult.java b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithSecretsResult.java index def0fa86f46..824d7243ded 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithSecretsResult.java +++ b/pkg/codegen/testing/test/testdata/functions-secrets/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithSecretsResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -52,22 +53,34 @@ public Builder(FuncWithSecretsResult defaults) { @CustomType.Setter public Builder ciphertext(String ciphertext) { - this.ciphertext = Objects.requireNonNull(ciphertext); + if (ciphertext == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsResult", "ciphertext"); + } + this.ciphertext = ciphertext; return this; } @CustomType.Setter public Builder cryptoKey(String cryptoKey) { - this.cryptoKey = Objects.requireNonNull(cryptoKey); + if (cryptoKey == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsResult", "cryptoKey"); + } + this.cryptoKey = cryptoKey; return this; } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder plaintext(String plaintext) { - this.plaintext = Objects.requireNonNull(plaintext); + if (plaintext == null) { + throw new MissingRequiredPropertyException("FuncWithSecretsResult", "plaintext"); + } + this.plaintext = plaintext; return this; } public FuncWithSecretsResult build() { diff --git a/pkg/codegen/testing/test/testdata/hyphenated-symbols/java/src/main/java/com/pulumi/repro/outputs/Bar.java b/pkg/codegen/testing/test/testdata/hyphenated-symbols/java/src/main/java/com/pulumi/repro/outputs/Bar.java index a352560f597..f894828785d 100644 --- a/pkg/codegen/testing/test/testdata/hyphenated-symbols/java/src/main/java/com/pulumi/repro/outputs/Bar.java +++ b/pkg/codegen/testing/test/testdata/hyphenated-symbols/java/src/main/java/com/pulumi/repro/outputs/Bar.java @@ -36,6 +36,7 @@ public Builder(Bar defaults) { @CustomType.Setter("has-a-hyphen") public Builder hasahyphen(@Nullable String hasahyphen) { + this.hasahyphen = hasahyphen; return this; } diff --git a/pkg/codegen/testing/test/testdata/jumbo-resources/java/src/main/java/com/pulumi/jumbo/outputs/ACustomType.java b/pkg/codegen/testing/test/testdata/jumbo-resources/java/src/main/java/com/pulumi/jumbo/outputs/ACustomType.java index 1b729729226..a8f0c3f417c 100644 --- a/pkg/codegen/testing/test/testdata/jumbo-resources/java/src/main/java/com/pulumi/jumbo/outputs/ACustomType.java +++ b/pkg/codegen/testing/test/testdata/jumbo-resources/java/src/main/java/com/pulumi/jumbo/outputs/ACustomType.java @@ -1572,1286 +1572,1543 @@ public Builder(ACustomType defaults) { @CustomType.Setter public Builder bar1(@Nullable String bar1) { + this.bar1 = bar1; return this; } @CustomType.Setter public Builder bar10(@Nullable String bar10) { + this.bar10 = bar10; return this; } @CustomType.Setter public Builder bar100(@Nullable String bar100) { + this.bar100 = bar100; return this; } @CustomType.Setter public Builder bar101(@Nullable String bar101) { + this.bar101 = bar101; return this; } @CustomType.Setter public Builder bar102(@Nullable String bar102) { + this.bar102 = bar102; return this; } @CustomType.Setter public Builder bar103(@Nullable String bar103) { + this.bar103 = bar103; return this; } @CustomType.Setter public Builder bar104(@Nullable String bar104) { + this.bar104 = bar104; return this; } @CustomType.Setter public Builder bar105(@Nullable String bar105) { + this.bar105 = bar105; return this; } @CustomType.Setter public Builder bar106(@Nullable String bar106) { + this.bar106 = bar106; return this; } @CustomType.Setter public Builder bar107(@Nullable String bar107) { + this.bar107 = bar107; return this; } @CustomType.Setter public Builder bar108(@Nullable String bar108) { + this.bar108 = bar108; return this; } @CustomType.Setter public Builder bar109(@Nullable String bar109) { + this.bar109 = bar109; return this; } @CustomType.Setter public Builder bar11(@Nullable String bar11) { + this.bar11 = bar11; return this; } @CustomType.Setter public Builder bar110(@Nullable String bar110) { + this.bar110 = bar110; return this; } @CustomType.Setter public Builder bar111(@Nullable String bar111) { + this.bar111 = bar111; return this; } @CustomType.Setter public Builder bar112(@Nullable String bar112) { + this.bar112 = bar112; return this; } @CustomType.Setter public Builder bar113(@Nullable String bar113) { + this.bar113 = bar113; return this; } @CustomType.Setter public Builder bar114(@Nullable String bar114) { + this.bar114 = bar114; return this; } @CustomType.Setter public Builder bar115(@Nullable String bar115) { + this.bar115 = bar115; return this; } @CustomType.Setter public Builder bar116(@Nullable String bar116) { + this.bar116 = bar116; return this; } @CustomType.Setter public Builder bar117(@Nullable String bar117) { + this.bar117 = bar117; return this; } @CustomType.Setter public Builder bar118(@Nullable String bar118) { + this.bar118 = bar118; return this; } @CustomType.Setter public Builder bar119(@Nullable String bar119) { + this.bar119 = bar119; return this; } @CustomType.Setter public Builder bar12(@Nullable String bar12) { + this.bar12 = bar12; return this; } @CustomType.Setter public Builder bar120(@Nullable String bar120) { + this.bar120 = bar120; return this; } @CustomType.Setter public Builder bar121(@Nullable String bar121) { + this.bar121 = bar121; return this; } @CustomType.Setter public Builder bar122(@Nullable String bar122) { + this.bar122 = bar122; return this; } @CustomType.Setter public Builder bar123(@Nullable String bar123) { + this.bar123 = bar123; return this; } @CustomType.Setter public Builder bar124(@Nullable String bar124) { + this.bar124 = bar124; return this; } @CustomType.Setter public Builder bar125(@Nullable String bar125) { + this.bar125 = bar125; return this; } @CustomType.Setter public Builder bar126(@Nullable String bar126) { + this.bar126 = bar126; return this; } @CustomType.Setter public Builder bar127(@Nullable String bar127) { + this.bar127 = bar127; return this; } @CustomType.Setter public Builder bar128(@Nullable String bar128) { + this.bar128 = bar128; return this; } @CustomType.Setter public Builder bar129(@Nullable String bar129) { + this.bar129 = bar129; return this; } @CustomType.Setter public Builder bar13(@Nullable String bar13) { + this.bar13 = bar13; return this; } @CustomType.Setter public Builder bar130(@Nullable String bar130) { + this.bar130 = bar130; return this; } @CustomType.Setter public Builder bar131(@Nullable String bar131) { + this.bar131 = bar131; return this; } @CustomType.Setter public Builder bar132(@Nullable String bar132) { + this.bar132 = bar132; return this; } @CustomType.Setter public Builder bar133(@Nullable String bar133) { + this.bar133 = bar133; return this; } @CustomType.Setter public Builder bar134(@Nullable String bar134) { + this.bar134 = bar134; return this; } @CustomType.Setter public Builder bar135(@Nullable String bar135) { + this.bar135 = bar135; return this; } @CustomType.Setter public Builder bar136(@Nullable String bar136) { + this.bar136 = bar136; return this; } @CustomType.Setter public Builder bar137(@Nullable String bar137) { + this.bar137 = bar137; return this; } @CustomType.Setter public Builder bar138(@Nullable String bar138) { + this.bar138 = bar138; return this; } @CustomType.Setter public Builder bar139(@Nullable String bar139) { + this.bar139 = bar139; return this; } @CustomType.Setter public Builder bar14(@Nullable String bar14) { + this.bar14 = bar14; return this; } @CustomType.Setter public Builder bar140(@Nullable String bar140) { + this.bar140 = bar140; return this; } @CustomType.Setter public Builder bar141(@Nullable String bar141) { + this.bar141 = bar141; return this; } @CustomType.Setter public Builder bar142(@Nullable String bar142) { + this.bar142 = bar142; return this; } @CustomType.Setter public Builder bar143(@Nullable String bar143) { + this.bar143 = bar143; return this; } @CustomType.Setter public Builder bar144(@Nullable String bar144) { + this.bar144 = bar144; return this; } @CustomType.Setter public Builder bar145(@Nullable String bar145) { + this.bar145 = bar145; return this; } @CustomType.Setter public Builder bar146(@Nullable String bar146) { + this.bar146 = bar146; return this; } @CustomType.Setter public Builder bar147(@Nullable String bar147) { + this.bar147 = bar147; return this; } @CustomType.Setter public Builder bar148(@Nullable String bar148) { + this.bar148 = bar148; return this; } @CustomType.Setter public Builder bar149(@Nullable String bar149) { + this.bar149 = bar149; return this; } @CustomType.Setter public Builder bar15(@Nullable String bar15) { + this.bar15 = bar15; return this; } @CustomType.Setter public Builder bar150(@Nullable String bar150) { + this.bar150 = bar150; return this; } @CustomType.Setter public Builder bar151(@Nullable String bar151) { + this.bar151 = bar151; return this; } @CustomType.Setter public Builder bar152(@Nullable String bar152) { + this.bar152 = bar152; return this; } @CustomType.Setter public Builder bar153(@Nullable String bar153) { + this.bar153 = bar153; return this; } @CustomType.Setter public Builder bar154(@Nullable String bar154) { + this.bar154 = bar154; return this; } @CustomType.Setter public Builder bar155(@Nullable String bar155) { + this.bar155 = bar155; return this; } @CustomType.Setter public Builder bar156(@Nullable String bar156) { + this.bar156 = bar156; return this; } @CustomType.Setter public Builder bar157(@Nullable String bar157) { + this.bar157 = bar157; return this; } @CustomType.Setter public Builder bar158(@Nullable String bar158) { + this.bar158 = bar158; return this; } @CustomType.Setter public Builder bar159(@Nullable String bar159) { + this.bar159 = bar159; return this; } @CustomType.Setter public Builder bar16(@Nullable String bar16) { + this.bar16 = bar16; return this; } @CustomType.Setter public Builder bar160(@Nullable String bar160) { + this.bar160 = bar160; return this; } @CustomType.Setter public Builder bar161(@Nullable String bar161) { + this.bar161 = bar161; return this; } @CustomType.Setter public Builder bar162(@Nullable String bar162) { + this.bar162 = bar162; return this; } @CustomType.Setter public Builder bar163(@Nullable String bar163) { + this.bar163 = bar163; return this; } @CustomType.Setter public Builder bar164(@Nullable String bar164) { + this.bar164 = bar164; return this; } @CustomType.Setter public Builder bar165(@Nullable String bar165) { + this.bar165 = bar165; return this; } @CustomType.Setter public Builder bar166(@Nullable String bar166) { + this.bar166 = bar166; return this; } @CustomType.Setter public Builder bar167(@Nullable String bar167) { + this.bar167 = bar167; return this; } @CustomType.Setter public Builder bar168(@Nullable String bar168) { + this.bar168 = bar168; return this; } @CustomType.Setter public Builder bar169(@Nullable String bar169) { + this.bar169 = bar169; return this; } @CustomType.Setter public Builder bar17(@Nullable String bar17) { + this.bar17 = bar17; return this; } @CustomType.Setter public Builder bar170(@Nullable String bar170) { + this.bar170 = bar170; return this; } @CustomType.Setter public Builder bar171(@Nullable String bar171) { + this.bar171 = bar171; return this; } @CustomType.Setter public Builder bar172(@Nullable String bar172) { + this.bar172 = bar172; return this; } @CustomType.Setter public Builder bar173(@Nullable String bar173) { + this.bar173 = bar173; return this; } @CustomType.Setter public Builder bar174(@Nullable String bar174) { + this.bar174 = bar174; return this; } @CustomType.Setter public Builder bar175(@Nullable String bar175) { + this.bar175 = bar175; return this; } @CustomType.Setter public Builder bar176(@Nullable String bar176) { + this.bar176 = bar176; return this; } @CustomType.Setter public Builder bar177(@Nullable String bar177) { + this.bar177 = bar177; return this; } @CustomType.Setter public Builder bar178(@Nullable String bar178) { + this.bar178 = bar178; return this; } @CustomType.Setter public Builder bar179(@Nullable String bar179) { + this.bar179 = bar179; return this; } @CustomType.Setter public Builder bar18(@Nullable String bar18) { + this.bar18 = bar18; return this; } @CustomType.Setter public Builder bar180(@Nullable String bar180) { + this.bar180 = bar180; return this; } @CustomType.Setter public Builder bar181(@Nullable String bar181) { + this.bar181 = bar181; return this; } @CustomType.Setter public Builder bar182(@Nullable String bar182) { + this.bar182 = bar182; return this; } @CustomType.Setter public Builder bar183(@Nullable String bar183) { + this.bar183 = bar183; return this; } @CustomType.Setter public Builder bar184(@Nullable String bar184) { + this.bar184 = bar184; return this; } @CustomType.Setter public Builder bar185(@Nullable String bar185) { + this.bar185 = bar185; return this; } @CustomType.Setter public Builder bar186(@Nullable String bar186) { + this.bar186 = bar186; return this; } @CustomType.Setter public Builder bar187(@Nullable String bar187) { + this.bar187 = bar187; return this; } @CustomType.Setter public Builder bar188(@Nullable String bar188) { + this.bar188 = bar188; return this; } @CustomType.Setter public Builder bar189(@Nullable String bar189) { + this.bar189 = bar189; return this; } @CustomType.Setter public Builder bar19(@Nullable String bar19) { + this.bar19 = bar19; return this; } @CustomType.Setter public Builder bar190(@Nullable String bar190) { + this.bar190 = bar190; return this; } @CustomType.Setter public Builder bar191(@Nullable String bar191) { + this.bar191 = bar191; return this; } @CustomType.Setter public Builder bar192(@Nullable String bar192) { + this.bar192 = bar192; return this; } @CustomType.Setter public Builder bar193(@Nullable String bar193) { + this.bar193 = bar193; return this; } @CustomType.Setter public Builder bar194(@Nullable String bar194) { + this.bar194 = bar194; return this; } @CustomType.Setter public Builder bar195(@Nullable String bar195) { + this.bar195 = bar195; return this; } @CustomType.Setter public Builder bar196(@Nullable String bar196) { + this.bar196 = bar196; return this; } @CustomType.Setter public Builder bar197(@Nullable String bar197) { + this.bar197 = bar197; return this; } @CustomType.Setter public Builder bar198(@Nullable String bar198) { + this.bar198 = bar198; return this; } @CustomType.Setter public Builder bar199(@Nullable String bar199) { + this.bar199 = bar199; return this; } @CustomType.Setter public Builder bar2(@Nullable String bar2) { + this.bar2 = bar2; return this; } @CustomType.Setter public Builder bar20(@Nullable String bar20) { + this.bar20 = bar20; return this; } @CustomType.Setter public Builder bar200(@Nullable String bar200) { + this.bar200 = bar200; return this; } @CustomType.Setter public Builder bar201(@Nullable String bar201) { + this.bar201 = bar201; return this; } @CustomType.Setter public Builder bar202(@Nullable String bar202) { + this.bar202 = bar202; return this; } @CustomType.Setter public Builder bar203(@Nullable String bar203) { + this.bar203 = bar203; return this; } @CustomType.Setter public Builder bar204(@Nullable String bar204) { + this.bar204 = bar204; return this; } @CustomType.Setter public Builder bar205(@Nullable String bar205) { + this.bar205 = bar205; return this; } @CustomType.Setter public Builder bar206(@Nullable String bar206) { + this.bar206 = bar206; return this; } @CustomType.Setter public Builder bar207(@Nullable String bar207) { + this.bar207 = bar207; return this; } @CustomType.Setter public Builder bar208(@Nullable String bar208) { + this.bar208 = bar208; return this; } @CustomType.Setter public Builder bar209(@Nullable String bar209) { + this.bar209 = bar209; return this; } @CustomType.Setter public Builder bar21(@Nullable String bar21) { + this.bar21 = bar21; return this; } @CustomType.Setter public Builder bar210(@Nullable String bar210) { + this.bar210 = bar210; return this; } @CustomType.Setter public Builder bar211(@Nullable String bar211) { + this.bar211 = bar211; return this; } @CustomType.Setter public Builder bar212(@Nullable String bar212) { + this.bar212 = bar212; return this; } @CustomType.Setter public Builder bar213(@Nullable String bar213) { + this.bar213 = bar213; return this; } @CustomType.Setter public Builder bar214(@Nullable String bar214) { + this.bar214 = bar214; return this; } @CustomType.Setter public Builder bar215(@Nullable String bar215) { + this.bar215 = bar215; return this; } @CustomType.Setter public Builder bar216(@Nullable String bar216) { + this.bar216 = bar216; return this; } @CustomType.Setter public Builder bar217(@Nullable String bar217) { + this.bar217 = bar217; return this; } @CustomType.Setter public Builder bar218(@Nullable String bar218) { + this.bar218 = bar218; return this; } @CustomType.Setter public Builder bar219(@Nullable String bar219) { + this.bar219 = bar219; return this; } @CustomType.Setter public Builder bar22(@Nullable String bar22) { + this.bar22 = bar22; return this; } @CustomType.Setter public Builder bar220(@Nullable String bar220) { + this.bar220 = bar220; return this; } @CustomType.Setter public Builder bar221(@Nullable String bar221) { + this.bar221 = bar221; return this; } @CustomType.Setter public Builder bar222(@Nullable String bar222) { + this.bar222 = bar222; return this; } @CustomType.Setter public Builder bar223(@Nullable String bar223) { + this.bar223 = bar223; return this; } @CustomType.Setter public Builder bar224(@Nullable String bar224) { + this.bar224 = bar224; return this; } @CustomType.Setter public Builder bar225(@Nullable String bar225) { + this.bar225 = bar225; return this; } @CustomType.Setter public Builder bar226(@Nullable String bar226) { + this.bar226 = bar226; return this; } @CustomType.Setter public Builder bar227(@Nullable String bar227) { + this.bar227 = bar227; return this; } @CustomType.Setter public Builder bar228(@Nullable String bar228) { + this.bar228 = bar228; return this; } @CustomType.Setter public Builder bar229(@Nullable String bar229) { + this.bar229 = bar229; return this; } @CustomType.Setter public Builder bar23(@Nullable String bar23) { + this.bar23 = bar23; return this; } @CustomType.Setter public Builder bar230(@Nullable String bar230) { + this.bar230 = bar230; return this; } @CustomType.Setter public Builder bar231(@Nullable String bar231) { + this.bar231 = bar231; return this; } @CustomType.Setter public Builder bar232(@Nullable String bar232) { + this.bar232 = bar232; return this; } @CustomType.Setter public Builder bar233(@Nullable String bar233) { + this.bar233 = bar233; return this; } @CustomType.Setter public Builder bar234(@Nullable String bar234) { + this.bar234 = bar234; return this; } @CustomType.Setter public Builder bar235(@Nullable String bar235) { + this.bar235 = bar235; return this; } @CustomType.Setter public Builder bar236(@Nullable String bar236) { + this.bar236 = bar236; return this; } @CustomType.Setter public Builder bar237(@Nullable String bar237) { + this.bar237 = bar237; return this; } @CustomType.Setter public Builder bar238(@Nullable String bar238) { + this.bar238 = bar238; return this; } @CustomType.Setter public Builder bar239(@Nullable String bar239) { + this.bar239 = bar239; return this; } @CustomType.Setter public Builder bar24(@Nullable String bar24) { + this.bar24 = bar24; return this; } @CustomType.Setter public Builder bar240(@Nullable String bar240) { + this.bar240 = bar240; return this; } @CustomType.Setter public Builder bar241(@Nullable String bar241) { + this.bar241 = bar241; return this; } @CustomType.Setter public Builder bar242(@Nullable String bar242) { + this.bar242 = bar242; return this; } @CustomType.Setter public Builder bar243(@Nullable String bar243) { + this.bar243 = bar243; return this; } @CustomType.Setter public Builder bar244(@Nullable String bar244) { + this.bar244 = bar244; return this; } @CustomType.Setter public Builder bar245(@Nullable String bar245) { + this.bar245 = bar245; return this; } @CustomType.Setter public Builder bar246(@Nullable String bar246) { + this.bar246 = bar246; return this; } @CustomType.Setter public Builder bar247(@Nullable String bar247) { + this.bar247 = bar247; return this; } @CustomType.Setter public Builder bar248(@Nullable String bar248) { + this.bar248 = bar248; return this; } @CustomType.Setter public Builder bar249(@Nullable String bar249) { + this.bar249 = bar249; return this; } @CustomType.Setter public Builder bar25(@Nullable String bar25) { + this.bar25 = bar25; return this; } @CustomType.Setter public Builder bar250(@Nullable String bar250) { + this.bar250 = bar250; return this; } @CustomType.Setter public Builder bar251(@Nullable String bar251) { + this.bar251 = bar251; return this; } @CustomType.Setter public Builder bar252(@Nullable String bar252) { + this.bar252 = bar252; return this; } @CustomType.Setter public Builder bar253(@Nullable String bar253) { + this.bar253 = bar253; return this; } @CustomType.Setter public Builder bar254(@Nullable String bar254) { + this.bar254 = bar254; return this; } @CustomType.Setter public Builder bar255(@Nullable String bar255) { + this.bar255 = bar255; return this; } @CustomType.Setter public Builder bar256(@Nullable String bar256) { + this.bar256 = bar256; return this; } @CustomType.Setter public Builder bar26(@Nullable String bar26) { + this.bar26 = bar26; return this; } @CustomType.Setter public Builder bar27(@Nullable String bar27) { + this.bar27 = bar27; return this; } @CustomType.Setter public Builder bar28(@Nullable String bar28) { + this.bar28 = bar28; return this; } @CustomType.Setter public Builder bar29(@Nullable String bar29) { + this.bar29 = bar29; return this; } @CustomType.Setter public Builder bar3(@Nullable String bar3) { + this.bar3 = bar3; return this; } @CustomType.Setter public Builder bar30(@Nullable String bar30) { + this.bar30 = bar30; return this; } @CustomType.Setter public Builder bar31(@Nullable String bar31) { + this.bar31 = bar31; return this; } @CustomType.Setter public Builder bar32(@Nullable String bar32) { + this.bar32 = bar32; return this; } @CustomType.Setter public Builder bar33(@Nullable String bar33) { + this.bar33 = bar33; return this; } @CustomType.Setter public Builder bar34(@Nullable String bar34) { + this.bar34 = bar34; return this; } @CustomType.Setter public Builder bar35(@Nullable String bar35) { + this.bar35 = bar35; return this; } @CustomType.Setter public Builder bar36(@Nullable String bar36) { + this.bar36 = bar36; return this; } @CustomType.Setter public Builder bar37(@Nullable String bar37) { + this.bar37 = bar37; return this; } @CustomType.Setter public Builder bar38(@Nullable String bar38) { + this.bar38 = bar38; return this; } @CustomType.Setter public Builder bar39(@Nullable String bar39) { + this.bar39 = bar39; return this; } @CustomType.Setter public Builder bar4(@Nullable String bar4) { + this.bar4 = bar4; return this; } @CustomType.Setter public Builder bar40(@Nullable String bar40) { + this.bar40 = bar40; return this; } @CustomType.Setter public Builder bar41(@Nullable String bar41) { + this.bar41 = bar41; return this; } @CustomType.Setter public Builder bar42(@Nullable String bar42) { + this.bar42 = bar42; return this; } @CustomType.Setter public Builder bar43(@Nullable String bar43) { + this.bar43 = bar43; return this; } @CustomType.Setter public Builder bar44(@Nullable String bar44) { + this.bar44 = bar44; return this; } @CustomType.Setter public Builder bar45(@Nullable String bar45) { + this.bar45 = bar45; return this; } @CustomType.Setter public Builder bar46(@Nullable String bar46) { + this.bar46 = bar46; return this; } @CustomType.Setter public Builder bar47(@Nullable String bar47) { + this.bar47 = bar47; return this; } @CustomType.Setter public Builder bar48(@Nullable String bar48) { + this.bar48 = bar48; return this; } @CustomType.Setter public Builder bar49(@Nullable String bar49) { + this.bar49 = bar49; return this; } @CustomType.Setter public Builder bar5(@Nullable String bar5) { + this.bar5 = bar5; return this; } @CustomType.Setter public Builder bar50(@Nullable String bar50) { + this.bar50 = bar50; return this; } @CustomType.Setter public Builder bar51(@Nullable String bar51) { + this.bar51 = bar51; return this; } @CustomType.Setter public Builder bar52(@Nullable String bar52) { + this.bar52 = bar52; return this; } @CustomType.Setter public Builder bar53(@Nullable String bar53) { + this.bar53 = bar53; return this; } @CustomType.Setter public Builder bar54(@Nullable String bar54) { + this.bar54 = bar54; return this; } @CustomType.Setter public Builder bar55(@Nullable String bar55) { + this.bar55 = bar55; return this; } @CustomType.Setter public Builder bar56(@Nullable String bar56) { + this.bar56 = bar56; return this; } @CustomType.Setter public Builder bar57(@Nullable String bar57) { + this.bar57 = bar57; return this; } @CustomType.Setter public Builder bar58(@Nullable String bar58) { + this.bar58 = bar58; return this; } @CustomType.Setter public Builder bar59(@Nullable String bar59) { + this.bar59 = bar59; return this; } @CustomType.Setter public Builder bar6(@Nullable String bar6) { + this.bar6 = bar6; return this; } @CustomType.Setter public Builder bar60(@Nullable String bar60) { + this.bar60 = bar60; return this; } @CustomType.Setter public Builder bar61(@Nullable String bar61) { + this.bar61 = bar61; return this; } @CustomType.Setter public Builder bar62(@Nullable String bar62) { + this.bar62 = bar62; return this; } @CustomType.Setter public Builder bar63(@Nullable String bar63) { + this.bar63 = bar63; return this; } @CustomType.Setter public Builder bar64(@Nullable String bar64) { + this.bar64 = bar64; return this; } @CustomType.Setter public Builder bar65(@Nullable String bar65) { + this.bar65 = bar65; return this; } @CustomType.Setter public Builder bar66(@Nullable String bar66) { + this.bar66 = bar66; return this; } @CustomType.Setter public Builder bar67(@Nullable String bar67) { + this.bar67 = bar67; return this; } @CustomType.Setter public Builder bar68(@Nullable String bar68) { + this.bar68 = bar68; return this; } @CustomType.Setter public Builder bar69(@Nullable String bar69) { + this.bar69 = bar69; return this; } @CustomType.Setter public Builder bar7(@Nullable String bar7) { + this.bar7 = bar7; return this; } @CustomType.Setter public Builder bar70(@Nullable String bar70) { + this.bar70 = bar70; return this; } @CustomType.Setter public Builder bar71(@Nullable String bar71) { + this.bar71 = bar71; return this; } @CustomType.Setter public Builder bar72(@Nullable String bar72) { + this.bar72 = bar72; return this; } @CustomType.Setter public Builder bar73(@Nullable String bar73) { + this.bar73 = bar73; return this; } @CustomType.Setter public Builder bar74(@Nullable String bar74) { + this.bar74 = bar74; return this; } @CustomType.Setter public Builder bar75(@Nullable String bar75) { + this.bar75 = bar75; return this; } @CustomType.Setter public Builder bar76(@Nullable String bar76) { + this.bar76 = bar76; return this; } @CustomType.Setter public Builder bar77(@Nullable String bar77) { + this.bar77 = bar77; return this; } @CustomType.Setter public Builder bar78(@Nullable String bar78) { + this.bar78 = bar78; return this; } @CustomType.Setter public Builder bar79(@Nullable String bar79) { + this.bar79 = bar79; return this; } @CustomType.Setter public Builder bar8(@Nullable String bar8) { + this.bar8 = bar8; return this; } @CustomType.Setter public Builder bar80(@Nullable String bar80) { + this.bar80 = bar80; return this; } @CustomType.Setter public Builder bar81(@Nullable String bar81) { + this.bar81 = bar81; return this; } @CustomType.Setter public Builder bar82(@Nullable String bar82) { + this.bar82 = bar82; return this; } @CustomType.Setter public Builder bar83(@Nullable String bar83) { + this.bar83 = bar83; return this; } @CustomType.Setter public Builder bar84(@Nullable String bar84) { + this.bar84 = bar84; return this; } @CustomType.Setter public Builder bar85(@Nullable String bar85) { + this.bar85 = bar85; return this; } @CustomType.Setter public Builder bar86(@Nullable String bar86) { + this.bar86 = bar86; return this; } @CustomType.Setter public Builder bar87(@Nullable String bar87) { + this.bar87 = bar87; return this; } @CustomType.Setter public Builder bar88(@Nullable String bar88) { + this.bar88 = bar88; return this; } @CustomType.Setter public Builder bar89(@Nullable String bar89) { + this.bar89 = bar89; return this; } @CustomType.Setter public Builder bar9(@Nullable String bar9) { + this.bar9 = bar9; return this; } @CustomType.Setter public Builder bar90(@Nullable String bar90) { + this.bar90 = bar90; return this; } @CustomType.Setter public Builder bar91(@Nullable String bar91) { + this.bar91 = bar91; return this; } @CustomType.Setter public Builder bar92(@Nullable String bar92) { + this.bar92 = bar92; return this; } @CustomType.Setter public Builder bar93(@Nullable String bar93) { + this.bar93 = bar93; return this; } @CustomType.Setter public Builder bar94(@Nullable String bar94) { + this.bar94 = bar94; return this; } @CustomType.Setter public Builder bar95(@Nullable String bar95) { + this.bar95 = bar95; return this; } @CustomType.Setter public Builder bar96(@Nullable String bar96) { + this.bar96 = bar96; return this; } @CustomType.Setter public Builder bar97(@Nullable String bar97) { + this.bar97 = bar97; return this; } @CustomType.Setter public Builder bar98(@Nullable String bar98) { + this.bar98 = bar98; return this; } @CustomType.Setter public Builder bar99(@Nullable String bar99) { + this.bar99 = bar99; return this; } @CustomType.Setter("default") public Builder default_(@Nullable String default_) { + this.default_ = default_; return this; } diff --git a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/config_endpoints/inputs/Endpoints.java b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/config_endpoints/inputs/Endpoints.java index 5dd58829b10..62744d3afef 100644 --- a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/config_endpoints/inputs/Endpoints.java +++ b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/config_endpoints/inputs/Endpoints.java @@ -1836,1506 +1836,1807 @@ public Builder(Endpoints defaults) { @CustomType.Setter public Builder accessanalyzer(@Nullable String accessanalyzer) { + this.accessanalyzer = accessanalyzer; return this; } @CustomType.Setter public Builder account(@Nullable String account) { + this.account = account; return this; } @CustomType.Setter public Builder acm(@Nullable String acm) { + this.acm = acm; return this; } @CustomType.Setter public Builder acmpca(@Nullable String acmpca) { + this.acmpca = acmpca; return this; } @CustomType.Setter public Builder alexaforbusiness(@Nullable String alexaforbusiness) { + this.alexaforbusiness = alexaforbusiness; return this; } @CustomType.Setter public Builder amp(@Nullable String amp) { + this.amp = amp; return this; } @CustomType.Setter public Builder amplify(@Nullable String amplify) { + this.amplify = amplify; return this; } @CustomType.Setter public Builder amplifybackend(@Nullable String amplifybackend) { + this.amplifybackend = amplifybackend; return this; } @CustomType.Setter public Builder apigateway(@Nullable String apigateway) { + this.apigateway = apigateway; return this; } @CustomType.Setter public Builder apigatewayv2(@Nullable String apigatewayv2) { + this.apigatewayv2 = apigatewayv2; return this; } @CustomType.Setter public Builder appautoscaling(@Nullable String appautoscaling) { + this.appautoscaling = appautoscaling; return this; } @CustomType.Setter public Builder appconfig(@Nullable String appconfig) { + this.appconfig = appconfig; return this; } @CustomType.Setter public Builder appflow(@Nullable String appflow) { + this.appflow = appflow; return this; } @CustomType.Setter public Builder appintegrations(@Nullable String appintegrations) { + this.appintegrations = appintegrations; return this; } @CustomType.Setter public Builder appintegrationsservice(@Nullable String appintegrationsservice) { + this.appintegrationsservice = appintegrationsservice; return this; } @CustomType.Setter public Builder applicationautoscaling(@Nullable String applicationautoscaling) { + this.applicationautoscaling = applicationautoscaling; return this; } @CustomType.Setter public Builder applicationcostprofiler(@Nullable String applicationcostprofiler) { + this.applicationcostprofiler = applicationcostprofiler; return this; } @CustomType.Setter public Builder applicationdiscovery(@Nullable String applicationdiscovery) { + this.applicationdiscovery = applicationdiscovery; return this; } @CustomType.Setter public Builder applicationdiscoveryservice(@Nullable String applicationdiscoveryservice) { + this.applicationdiscoveryservice = applicationdiscoveryservice; return this; } @CustomType.Setter public Builder applicationinsights(@Nullable String applicationinsights) { + this.applicationinsights = applicationinsights; return this; } @CustomType.Setter public Builder appmesh(@Nullable String appmesh) { + this.appmesh = appmesh; return this; } @CustomType.Setter public Builder appregistry(@Nullable String appregistry) { + this.appregistry = appregistry; return this; } @CustomType.Setter public Builder apprunner(@Nullable String apprunner) { + this.apprunner = apprunner; return this; } @CustomType.Setter public Builder appstream(@Nullable String appstream) { + this.appstream = appstream; return this; } @CustomType.Setter public Builder appsync(@Nullable String appsync) { + this.appsync = appsync; return this; } @CustomType.Setter public Builder athena(@Nullable String athena) { + this.athena = athena; return this; } @CustomType.Setter public Builder auditmanager(@Nullable String auditmanager) { + this.auditmanager = auditmanager; return this; } @CustomType.Setter public Builder augmentedairuntime(@Nullable String augmentedairuntime) { + this.augmentedairuntime = augmentedairuntime; return this; } @CustomType.Setter public Builder autoscaling(@Nullable String autoscaling) { + this.autoscaling = autoscaling; return this; } @CustomType.Setter public Builder autoscalingplans(@Nullable String autoscalingplans) { + this.autoscalingplans = autoscalingplans; return this; } @CustomType.Setter public Builder backup(@Nullable String backup) { + this.backup = backup; return this; } @CustomType.Setter public Builder batch(@Nullable String batch) { + this.batch = batch; return this; } @CustomType.Setter public Builder braket(@Nullable String braket) { + this.braket = braket; return this; } @CustomType.Setter public Builder budgets(@Nullable String budgets) { + this.budgets = budgets; return this; } @CustomType.Setter public Builder chime(@Nullable String chime) { + this.chime = chime; return this; } @CustomType.Setter public Builder cloud9(@Nullable String cloud9) { + this.cloud9 = cloud9; return this; } @CustomType.Setter public Builder cloudcontrol(@Nullable String cloudcontrol) { + this.cloudcontrol = cloudcontrol; return this; } @CustomType.Setter public Builder cloudcontrolapi(@Nullable String cloudcontrolapi) { + this.cloudcontrolapi = cloudcontrolapi; return this; } @CustomType.Setter public Builder clouddirectory(@Nullable String clouddirectory) { + this.clouddirectory = clouddirectory; return this; } @CustomType.Setter public Builder cloudformation(@Nullable String cloudformation) { + this.cloudformation = cloudformation; return this; } @CustomType.Setter public Builder cloudfront(@Nullable String cloudfront) { + this.cloudfront = cloudfront; return this; } @CustomType.Setter public Builder cloudhsm(@Nullable String cloudhsm) { + this.cloudhsm = cloudhsm; return this; } @CustomType.Setter public Builder cloudhsmv2(@Nullable String cloudhsmv2) { + this.cloudhsmv2 = cloudhsmv2; return this; } @CustomType.Setter public Builder cloudsearch(@Nullable String cloudsearch) { + this.cloudsearch = cloudsearch; return this; } @CustomType.Setter public Builder cloudsearchdomain(@Nullable String cloudsearchdomain) { + this.cloudsearchdomain = cloudsearchdomain; return this; } @CustomType.Setter public Builder cloudtrail(@Nullable String cloudtrail) { + this.cloudtrail = cloudtrail; return this; } @CustomType.Setter public Builder cloudwatch(@Nullable String cloudwatch) { + this.cloudwatch = cloudwatch; return this; } @CustomType.Setter public Builder cloudwatchevents(@Nullable String cloudwatchevents) { + this.cloudwatchevents = cloudwatchevents; return this; } @CustomType.Setter public Builder cloudwatchlogs(@Nullable String cloudwatchlogs) { + this.cloudwatchlogs = cloudwatchlogs; return this; } @CustomType.Setter public Builder codeartifact(@Nullable String codeartifact) { + this.codeartifact = codeartifact; return this; } @CustomType.Setter public Builder codebuild(@Nullable String codebuild) { + this.codebuild = codebuild; return this; } @CustomType.Setter public Builder codecommit(@Nullable String codecommit) { + this.codecommit = codecommit; return this; } @CustomType.Setter public Builder codedeploy(@Nullable String codedeploy) { + this.codedeploy = codedeploy; return this; } @CustomType.Setter public Builder codeguruprofiler(@Nullable String codeguruprofiler) { + this.codeguruprofiler = codeguruprofiler; return this; } @CustomType.Setter public Builder codegurureviewer(@Nullable String codegurureviewer) { + this.codegurureviewer = codegurureviewer; return this; } @CustomType.Setter public Builder codepipeline(@Nullable String codepipeline) { + this.codepipeline = codepipeline; return this; } @CustomType.Setter public Builder codestar(@Nullable String codestar) { + this.codestar = codestar; return this; } @CustomType.Setter public Builder codestarconnections(@Nullable String codestarconnections) { + this.codestarconnections = codestarconnections; return this; } @CustomType.Setter public Builder codestarnotifications(@Nullable String codestarnotifications) { + this.codestarnotifications = codestarnotifications; return this; } @CustomType.Setter public Builder cognitoidentity(@Nullable String cognitoidentity) { + this.cognitoidentity = cognitoidentity; return this; } @CustomType.Setter public Builder cognitoidentityprovider(@Nullable String cognitoidentityprovider) { + this.cognitoidentityprovider = cognitoidentityprovider; return this; } @CustomType.Setter public Builder cognitoidp(@Nullable String cognitoidp) { + this.cognitoidp = cognitoidp; return this; } @CustomType.Setter public Builder cognitosync(@Nullable String cognitosync) { + this.cognitosync = cognitosync; return this; } @CustomType.Setter public Builder comprehend(@Nullable String comprehend) { + this.comprehend = comprehend; return this; } @CustomType.Setter public Builder comprehendmedical(@Nullable String comprehendmedical) { + this.comprehendmedical = comprehendmedical; return this; } @CustomType.Setter public Builder config(@Nullable String config) { + this.config = config; return this; } @CustomType.Setter public Builder configservice(@Nullable String configservice) { + this.configservice = configservice; return this; } @CustomType.Setter public Builder connect(@Nullable String connect) { + this.connect = connect; return this; } @CustomType.Setter public Builder connectcontactlens(@Nullable String connectcontactlens) { + this.connectcontactlens = connectcontactlens; return this; } @CustomType.Setter public Builder connectparticipant(@Nullable String connectparticipant) { + this.connectparticipant = connectparticipant; return this; } @CustomType.Setter public Builder costandusagereportservice(@Nullable String costandusagereportservice) { + this.costandusagereportservice = costandusagereportservice; return this; } @CustomType.Setter public Builder costexplorer(@Nullable String costexplorer) { + this.costexplorer = costexplorer; return this; } @CustomType.Setter public Builder cur(@Nullable String cur) { + this.cur = cur; return this; } @CustomType.Setter public Builder databasemigration(@Nullable String databasemigration) { + this.databasemigration = databasemigration; return this; } @CustomType.Setter public Builder databasemigrationservice(@Nullable String databasemigrationservice) { + this.databasemigrationservice = databasemigrationservice; return this; } @CustomType.Setter public Builder dataexchange(@Nullable String dataexchange) { + this.dataexchange = dataexchange; return this; } @CustomType.Setter public Builder datapipeline(@Nullable String datapipeline) { + this.datapipeline = datapipeline; return this; } @CustomType.Setter public Builder datasync(@Nullable String datasync) { + this.datasync = datasync; return this; } @CustomType.Setter public Builder dax(@Nullable String dax) { + this.dax = dax; return this; } @CustomType.Setter public Builder detective(@Nullable String detective) { + this.detective = detective; return this; } @CustomType.Setter public Builder devicefarm(@Nullable String devicefarm) { + this.devicefarm = devicefarm; return this; } @CustomType.Setter public Builder devopsguru(@Nullable String devopsguru) { + this.devopsguru = devopsguru; return this; } @CustomType.Setter public Builder directconnect(@Nullable String directconnect) { + this.directconnect = directconnect; return this; } @CustomType.Setter public Builder dlm(@Nullable String dlm) { + this.dlm = dlm; return this; } @CustomType.Setter public Builder dms(@Nullable String dms) { + this.dms = dms; return this; } @CustomType.Setter public Builder docdb(@Nullable String docdb) { + this.docdb = docdb; return this; } @CustomType.Setter public Builder ds(@Nullable String ds) { + this.ds = ds; return this; } @CustomType.Setter public Builder dynamodb(@Nullable String dynamodb) { + this.dynamodb = dynamodb; return this; } @CustomType.Setter public Builder dynamodbstreams(@Nullable String dynamodbstreams) { + this.dynamodbstreams = dynamodbstreams; return this; } @CustomType.Setter public Builder ec2(@Nullable String ec2) { + this.ec2 = ec2; return this; } @CustomType.Setter public Builder ec2instanceconnect(@Nullable String ec2instanceconnect) { + this.ec2instanceconnect = ec2instanceconnect; return this; } @CustomType.Setter public Builder ecr(@Nullable String ecr) { + this.ecr = ecr; return this; } @CustomType.Setter public Builder ecrpublic(@Nullable String ecrpublic) { + this.ecrpublic = ecrpublic; return this; } @CustomType.Setter public Builder ecs(@Nullable String ecs) { + this.ecs = ecs; return this; } @CustomType.Setter public Builder efs(@Nullable String efs) { + this.efs = efs; return this; } @CustomType.Setter public Builder eks(@Nullable String eks) { + this.eks = eks; return this; } @CustomType.Setter public Builder elasticache(@Nullable String elasticache) { + this.elasticache = elasticache; return this; } @CustomType.Setter public Builder elasticbeanstalk(@Nullable String elasticbeanstalk) { + this.elasticbeanstalk = elasticbeanstalk; return this; } @CustomType.Setter public Builder elasticinference(@Nullable String elasticinference) { + this.elasticinference = elasticinference; return this; } @CustomType.Setter public Builder elasticsearch(@Nullable String elasticsearch) { + this.elasticsearch = elasticsearch; return this; } @CustomType.Setter public Builder elasticsearchservice(@Nullable String elasticsearchservice) { + this.elasticsearchservice = elasticsearchservice; return this; } @CustomType.Setter public Builder elastictranscoder(@Nullable String elastictranscoder) { + this.elastictranscoder = elastictranscoder; return this; } @CustomType.Setter public Builder elb(@Nullable String elb) { + this.elb = elb; return this; } @CustomType.Setter public Builder elbv2(@Nullable String elbv2) { + this.elbv2 = elbv2; return this; } @CustomType.Setter public Builder emr(@Nullable String emr) { + this.emr = emr; return this; } @CustomType.Setter public Builder emrcontainers(@Nullable String emrcontainers) { + this.emrcontainers = emrcontainers; return this; } @CustomType.Setter public Builder es(@Nullable String es) { + this.es = es; return this; } @CustomType.Setter public Builder eventbridge(@Nullable String eventbridge) { + this.eventbridge = eventbridge; return this; } @CustomType.Setter public Builder events(@Nullable String events) { + this.events = events; return this; } @CustomType.Setter public Builder finspace(@Nullable String finspace) { + this.finspace = finspace; return this; } @CustomType.Setter public Builder finspacedata(@Nullable String finspacedata) { + this.finspacedata = finspacedata; return this; } @CustomType.Setter public Builder firehose(@Nullable String firehose) { + this.firehose = firehose; return this; } @CustomType.Setter public Builder fis(@Nullable String fis) { + this.fis = fis; return this; } @CustomType.Setter public Builder fms(@Nullable String fms) { + this.fms = fms; return this; } @CustomType.Setter public Builder forecast(@Nullable String forecast) { + this.forecast = forecast; return this; } @CustomType.Setter public Builder forecastquery(@Nullable String forecastquery) { + this.forecastquery = forecastquery; return this; } @CustomType.Setter public Builder forecastqueryservice(@Nullable String forecastqueryservice) { + this.forecastqueryservice = forecastqueryservice; return this; } @CustomType.Setter public Builder forecastservice(@Nullable String forecastservice) { + this.forecastservice = forecastservice; return this; } @CustomType.Setter public Builder frauddetector(@Nullable String frauddetector) { + this.frauddetector = frauddetector; return this; } @CustomType.Setter public Builder fsx(@Nullable String fsx) { + this.fsx = fsx; return this; } @CustomType.Setter public Builder gamelift(@Nullable String gamelift) { + this.gamelift = gamelift; return this; } @CustomType.Setter public Builder glacier(@Nullable String glacier) { + this.glacier = glacier; return this; } @CustomType.Setter public Builder globalaccelerator(@Nullable String globalaccelerator) { + this.globalaccelerator = globalaccelerator; return this; } @CustomType.Setter public Builder glue(@Nullable String glue) { + this.glue = glue; return this; } @CustomType.Setter public Builder gluedatabrew(@Nullable String gluedatabrew) { + this.gluedatabrew = gluedatabrew; return this; } @CustomType.Setter public Builder greengrass(@Nullable String greengrass) { + this.greengrass = greengrass; return this; } @CustomType.Setter public Builder greengrassv2(@Nullable String greengrassv2) { + this.greengrassv2 = greengrassv2; return this; } @CustomType.Setter public Builder groundstation(@Nullable String groundstation) { + this.groundstation = groundstation; return this; } @CustomType.Setter public Builder guardduty(@Nullable String guardduty) { + this.guardduty = guardduty; return this; } @CustomType.Setter public Builder health(@Nullable String health) { + this.health = health; return this; } @CustomType.Setter public Builder healthlake(@Nullable String healthlake) { + this.healthlake = healthlake; return this; } @CustomType.Setter public Builder honeycode(@Nullable String honeycode) { + this.honeycode = honeycode; return this; } @CustomType.Setter public Builder iam(@Nullable String iam) { + this.iam = iam; return this; } @CustomType.Setter public Builder identitystore(@Nullable String identitystore) { + this.identitystore = identitystore; return this; } @CustomType.Setter public Builder imagebuilder(@Nullable String imagebuilder) { + this.imagebuilder = imagebuilder; return this; } @CustomType.Setter public Builder inspector(@Nullable String inspector) { + this.inspector = inspector; return this; } @CustomType.Setter public Builder iot(@Nullable String iot) { + this.iot = iot; return this; } @CustomType.Setter public Builder iot1clickdevices(@Nullable String iot1clickdevices) { + this.iot1clickdevices = iot1clickdevices; return this; } @CustomType.Setter public Builder iot1clickdevicesservice(@Nullable String iot1clickdevicesservice) { + this.iot1clickdevicesservice = iot1clickdevicesservice; return this; } @CustomType.Setter public Builder iot1clickprojects(@Nullable String iot1clickprojects) { + this.iot1clickprojects = iot1clickprojects; return this; } @CustomType.Setter public Builder iotanalytics(@Nullable String iotanalytics) { + this.iotanalytics = iotanalytics; return this; } @CustomType.Setter public Builder iotdataplane(@Nullable String iotdataplane) { + this.iotdataplane = iotdataplane; return this; } @CustomType.Setter public Builder iotdeviceadvisor(@Nullable String iotdeviceadvisor) { + this.iotdeviceadvisor = iotdeviceadvisor; return this; } @CustomType.Setter public Builder iotevents(@Nullable String iotevents) { + this.iotevents = iotevents; return this; } @CustomType.Setter public Builder ioteventsdata(@Nullable String ioteventsdata) { + this.ioteventsdata = ioteventsdata; return this; } @CustomType.Setter public Builder iotfleethub(@Nullable String iotfleethub) { + this.iotfleethub = iotfleethub; return this; } @CustomType.Setter public Builder iotjobsdataplane(@Nullable String iotjobsdataplane) { + this.iotjobsdataplane = iotjobsdataplane; return this; } @CustomType.Setter public Builder iotsecuretunneling(@Nullable String iotsecuretunneling) { + this.iotsecuretunneling = iotsecuretunneling; return this; } @CustomType.Setter public Builder iotsitewise(@Nullable String iotsitewise) { + this.iotsitewise = iotsitewise; return this; } @CustomType.Setter public Builder iotthingsgraph(@Nullable String iotthingsgraph) { + this.iotthingsgraph = iotthingsgraph; return this; } @CustomType.Setter public Builder iotwireless(@Nullable String iotwireless) { + this.iotwireless = iotwireless; return this; } @CustomType.Setter public Builder kafka(@Nullable String kafka) { + this.kafka = kafka; return this; } @CustomType.Setter public Builder kafkaconnect(@Nullable String kafkaconnect) { + this.kafkaconnect = kafkaconnect; return this; } @CustomType.Setter public Builder kendra(@Nullable String kendra) { + this.kendra = kendra; return this; } @CustomType.Setter public Builder kinesis(@Nullable String kinesis) { + this.kinesis = kinesis; return this; } @CustomType.Setter public Builder kinesisanalytics(@Nullable String kinesisanalytics) { + this.kinesisanalytics = kinesisanalytics; return this; } @CustomType.Setter public Builder kinesisanalyticsv2(@Nullable String kinesisanalyticsv2) { + this.kinesisanalyticsv2 = kinesisanalyticsv2; return this; } @CustomType.Setter public Builder kinesisvideo(@Nullable String kinesisvideo) { + this.kinesisvideo = kinesisvideo; return this; } @CustomType.Setter public Builder kinesisvideoarchivedmedia(@Nullable String kinesisvideoarchivedmedia) { + this.kinesisvideoarchivedmedia = kinesisvideoarchivedmedia; return this; } @CustomType.Setter public Builder kinesisvideomedia(@Nullable String kinesisvideomedia) { + this.kinesisvideomedia = kinesisvideomedia; return this; } @CustomType.Setter public Builder kinesisvideosignalingchannels(@Nullable String kinesisvideosignalingchannels) { + this.kinesisvideosignalingchannels = kinesisvideosignalingchannels; return this; } @CustomType.Setter public Builder kms(@Nullable String kms) { + this.kms = kms; return this; } @CustomType.Setter public Builder lakeformation(@Nullable String lakeformation) { + this.lakeformation = lakeformation; return this; } @CustomType.Setter public Builder lambda(@Nullable String lambda) { + this.lambda = lambda; return this; } @CustomType.Setter public Builder lexmodelbuilding(@Nullable String lexmodelbuilding) { + this.lexmodelbuilding = lexmodelbuilding; return this; } @CustomType.Setter public Builder lexmodelbuildingservice(@Nullable String lexmodelbuildingservice) { + this.lexmodelbuildingservice = lexmodelbuildingservice; return this; } @CustomType.Setter public Builder lexmodels(@Nullable String lexmodels) { + this.lexmodels = lexmodels; return this; } @CustomType.Setter public Builder lexmodelsv2(@Nullable String lexmodelsv2) { + this.lexmodelsv2 = lexmodelsv2; return this; } @CustomType.Setter public Builder lexruntime(@Nullable String lexruntime) { + this.lexruntime = lexruntime; return this; } @CustomType.Setter public Builder lexruntimeservice(@Nullable String lexruntimeservice) { + this.lexruntimeservice = lexruntimeservice; return this; } @CustomType.Setter public Builder lexruntimev2(@Nullable String lexruntimev2) { + this.lexruntimev2 = lexruntimev2; return this; } @CustomType.Setter public Builder licensemanager(@Nullable String licensemanager) { + this.licensemanager = licensemanager; return this; } @CustomType.Setter public Builder lightsail(@Nullable String lightsail) { + this.lightsail = lightsail; return this; } @CustomType.Setter public Builder location(@Nullable String location) { + this.location = location; return this; } @CustomType.Setter public Builder lookoutequipment(@Nullable String lookoutequipment) { + this.lookoutequipment = lookoutequipment; return this; } @CustomType.Setter public Builder lookoutforvision(@Nullable String lookoutforvision) { + this.lookoutforvision = lookoutforvision; return this; } @CustomType.Setter public Builder lookoutmetrics(@Nullable String lookoutmetrics) { + this.lookoutmetrics = lookoutmetrics; return this; } @CustomType.Setter public Builder machinelearning(@Nullable String machinelearning) { + this.machinelearning = machinelearning; return this; } @CustomType.Setter public Builder macie(@Nullable String macie) { + this.macie = macie; return this; } @CustomType.Setter public Builder macie2(@Nullable String macie2) { + this.macie2 = macie2; return this; } @CustomType.Setter public Builder managedblockchain(@Nullable String managedblockchain) { + this.managedblockchain = managedblockchain; return this; } @CustomType.Setter public Builder marketplacecatalog(@Nullable String marketplacecatalog) { + this.marketplacecatalog = marketplacecatalog; return this; } @CustomType.Setter public Builder marketplacecommerceanalytics(@Nullable String marketplacecommerceanalytics) { + this.marketplacecommerceanalytics = marketplacecommerceanalytics; return this; } @CustomType.Setter public Builder marketplaceentitlement(@Nullable String marketplaceentitlement) { + this.marketplaceentitlement = marketplaceentitlement; return this; } @CustomType.Setter public Builder marketplaceentitlementservice(@Nullable String marketplaceentitlementservice) { + this.marketplaceentitlementservice = marketplaceentitlementservice; return this; } @CustomType.Setter public Builder marketplacemetering(@Nullable String marketplacemetering) { + this.marketplacemetering = marketplacemetering; return this; } @CustomType.Setter public Builder mediaconnect(@Nullable String mediaconnect) { + this.mediaconnect = mediaconnect; return this; } @CustomType.Setter public Builder mediaconvert(@Nullable String mediaconvert) { + this.mediaconvert = mediaconvert; return this; } @CustomType.Setter public Builder medialive(@Nullable String medialive) { + this.medialive = medialive; return this; } @CustomType.Setter public Builder mediapackage(@Nullable String mediapackage) { + this.mediapackage = mediapackage; return this; } @CustomType.Setter public Builder mediapackagevod(@Nullable String mediapackagevod) { + this.mediapackagevod = mediapackagevod; return this; } @CustomType.Setter public Builder mediastore(@Nullable String mediastore) { + this.mediastore = mediastore; return this; } @CustomType.Setter public Builder mediastoredata(@Nullable String mediastoredata) { + this.mediastoredata = mediastoredata; return this; } @CustomType.Setter public Builder mediatailor(@Nullable String mediatailor) { + this.mediatailor = mediatailor; return this; } @CustomType.Setter public Builder memorydb(@Nullable String memorydb) { + this.memorydb = memorydb; return this; } @CustomType.Setter public Builder mgn(@Nullable String mgn) { + this.mgn = mgn; return this; } @CustomType.Setter public Builder migrationhub(@Nullable String migrationhub) { + this.migrationhub = migrationhub; return this; } @CustomType.Setter public Builder migrationhubconfig(@Nullable String migrationhubconfig) { + this.migrationhubconfig = migrationhubconfig; return this; } @CustomType.Setter public Builder mobile(@Nullable String mobile) { + this.mobile = mobile; return this; } @CustomType.Setter public Builder mobileanalytics(@Nullable String mobileanalytics) { + this.mobileanalytics = mobileanalytics; return this; } @CustomType.Setter public Builder mq(@Nullable String mq) { + this.mq = mq; return this; } @CustomType.Setter public Builder mturk(@Nullable String mturk) { + this.mturk = mturk; return this; } @CustomType.Setter public Builder mwaa(@Nullable String mwaa) { + this.mwaa = mwaa; return this; } @CustomType.Setter public Builder neptune(@Nullable String neptune) { + this.neptune = neptune; return this; } @CustomType.Setter public Builder networkfirewall(@Nullable String networkfirewall) { + this.networkfirewall = networkfirewall; return this; } @CustomType.Setter public Builder networkmanager(@Nullable String networkmanager) { + this.networkmanager = networkmanager; return this; } @CustomType.Setter public Builder nimblestudio(@Nullable String nimblestudio) { + this.nimblestudio = nimblestudio; return this; } @CustomType.Setter public Builder opsworks(@Nullable String opsworks) { + this.opsworks = opsworks; return this; } @CustomType.Setter public Builder opsworkscm(@Nullable String opsworkscm) { + this.opsworkscm = opsworkscm; return this; } @CustomType.Setter public Builder organizations(@Nullable String organizations) { + this.organizations = organizations; return this; } @CustomType.Setter public Builder outposts(@Nullable String outposts) { + this.outposts = outposts; return this; } @CustomType.Setter public Builder personalize(@Nullable String personalize) { + this.personalize = personalize; return this; } @CustomType.Setter public Builder personalizeevents(@Nullable String personalizeevents) { + this.personalizeevents = personalizeevents; return this; } @CustomType.Setter public Builder personalizeruntime(@Nullable String personalizeruntime) { + this.personalizeruntime = personalizeruntime; return this; } @CustomType.Setter public Builder pi(@Nullable String pi) { + this.pi = pi; return this; } @CustomType.Setter public Builder pinpoint(@Nullable String pinpoint) { + this.pinpoint = pinpoint; return this; } @CustomType.Setter public Builder pinpointemail(@Nullable String pinpointemail) { + this.pinpointemail = pinpointemail; return this; } @CustomType.Setter public Builder pinpointsmsvoice(@Nullable String pinpointsmsvoice) { + this.pinpointsmsvoice = pinpointsmsvoice; return this; } @CustomType.Setter public Builder polly(@Nullable String polly) { + this.polly = polly; return this; } @CustomType.Setter public Builder pricing(@Nullable String pricing) { + this.pricing = pricing; return this; } @CustomType.Setter public Builder prometheus(@Nullable String prometheus) { + this.prometheus = prometheus; return this; } @CustomType.Setter public Builder prometheusservice(@Nullable String prometheusservice) { + this.prometheusservice = prometheusservice; return this; } @CustomType.Setter public Builder proton(@Nullable String proton) { + this.proton = proton; return this; } @CustomType.Setter public Builder qldb(@Nullable String qldb) { + this.qldb = qldb; return this; } @CustomType.Setter public Builder qldbsession(@Nullable String qldbsession) { + this.qldbsession = qldbsession; return this; } @CustomType.Setter public Builder quicksight(@Nullable String quicksight) { + this.quicksight = quicksight; return this; } @CustomType.Setter public Builder ram(@Nullable String ram) { + this.ram = ram; return this; } @CustomType.Setter public Builder rds(@Nullable String rds) { + this.rds = rds; return this; } @CustomType.Setter public Builder rdsdata(@Nullable String rdsdata) { + this.rdsdata = rdsdata; return this; } @CustomType.Setter public Builder rdsdataservice(@Nullable String rdsdataservice) { + this.rdsdataservice = rdsdataservice; return this; } @CustomType.Setter public Builder redshift(@Nullable String redshift) { + this.redshift = redshift; return this; } @CustomType.Setter public Builder redshiftdata(@Nullable String redshiftdata) { + this.redshiftdata = redshiftdata; return this; } @CustomType.Setter public Builder rekognition(@Nullable String rekognition) { + this.rekognition = rekognition; return this; } @CustomType.Setter public Builder resourcegroups(@Nullable String resourcegroups) { + this.resourcegroups = resourcegroups; return this; } @CustomType.Setter public Builder resourcegroupstagging(@Nullable String resourcegroupstagging) { + this.resourcegroupstagging = resourcegroupstagging; return this; } @CustomType.Setter public Builder resourcegroupstaggingapi(@Nullable String resourcegroupstaggingapi) { + this.resourcegroupstaggingapi = resourcegroupstaggingapi; return this; } @CustomType.Setter public Builder robomaker(@Nullable String robomaker) { + this.robomaker = robomaker; return this; } @CustomType.Setter public Builder route53(@Nullable String route53) { + this.route53 = route53; return this; } @CustomType.Setter public Builder route53domains(@Nullable String route53domains) { + this.route53domains = route53domains; return this; } @CustomType.Setter public Builder route53recoverycontrolconfig(@Nullable String route53recoverycontrolconfig) { + this.route53recoverycontrolconfig = route53recoverycontrolconfig; return this; } @CustomType.Setter public Builder route53recoveryreadiness(@Nullable String route53recoveryreadiness) { + this.route53recoveryreadiness = route53recoveryreadiness; return this; } @CustomType.Setter public Builder route53resolver(@Nullable String route53resolver) { + this.route53resolver = route53resolver; return this; } @CustomType.Setter public Builder s3(@Nullable String s3) { + this.s3 = s3; return this; } @CustomType.Setter public Builder s3control(@Nullable String s3control) { + this.s3control = s3control; return this; } @CustomType.Setter public Builder s3outposts(@Nullable String s3outposts) { + this.s3outposts = s3outposts; return this; } @CustomType.Setter public Builder sagemaker(@Nullable String sagemaker) { + this.sagemaker = sagemaker; return this; } @CustomType.Setter public Builder sagemakeredgemanager(@Nullable String sagemakeredgemanager) { + this.sagemakeredgemanager = sagemakeredgemanager; return this; } @CustomType.Setter public Builder sagemakerfeaturestoreruntime(@Nullable String sagemakerfeaturestoreruntime) { + this.sagemakerfeaturestoreruntime = sagemakerfeaturestoreruntime; return this; } @CustomType.Setter public Builder sagemakerruntime(@Nullable String sagemakerruntime) { + this.sagemakerruntime = sagemakerruntime; return this; } @CustomType.Setter public Builder savingsplans(@Nullable String savingsplans) { + this.savingsplans = savingsplans; return this; } @CustomType.Setter public Builder schemas(@Nullable String schemas) { + this.schemas = schemas; return this; } @CustomType.Setter public Builder sdb(@Nullable String sdb) { + this.sdb = sdb; return this; } @CustomType.Setter public Builder secretsmanager(@Nullable String secretsmanager) { + this.secretsmanager = secretsmanager; return this; } @CustomType.Setter public Builder securityhub(@Nullable String securityhub) { + this.securityhub = securityhub; return this; } @CustomType.Setter public Builder serverlessapplicationrepository(@Nullable String serverlessapplicationrepository) { + this.serverlessapplicationrepository = serverlessapplicationrepository; return this; } @CustomType.Setter public Builder serverlessapprepo(@Nullable String serverlessapprepo) { + this.serverlessapprepo = serverlessapprepo; return this; } @CustomType.Setter public Builder serverlessrepo(@Nullable String serverlessrepo) { + this.serverlessrepo = serverlessrepo; return this; } @CustomType.Setter public Builder servicecatalog(@Nullable String servicecatalog) { + this.servicecatalog = servicecatalog; return this; } @CustomType.Setter public Builder servicediscovery(@Nullable String servicediscovery) { + this.servicediscovery = servicediscovery; return this; } @CustomType.Setter public Builder servicequotas(@Nullable String servicequotas) { + this.servicequotas = servicequotas; return this; } @CustomType.Setter public Builder ses(@Nullable String ses) { + this.ses = ses; return this; } @CustomType.Setter public Builder sesv2(@Nullable String sesv2) { + this.sesv2 = sesv2; return this; } @CustomType.Setter public Builder sfn(@Nullable String sfn) { + this.sfn = sfn; return this; } @CustomType.Setter public Builder shield(@Nullable String shield) { + this.shield = shield; return this; } @CustomType.Setter public Builder signer(@Nullable String signer) { + this.signer = signer; return this; } @CustomType.Setter public Builder simpledb(@Nullable String simpledb) { + this.simpledb = simpledb; return this; } @CustomType.Setter public Builder sms(@Nullable String sms) { + this.sms = sms; return this; } @CustomType.Setter public Builder snowball(@Nullable String snowball) { + this.snowball = snowball; return this; } @CustomType.Setter public Builder sns(@Nullable String sns) { + this.sns = sns; return this; } @CustomType.Setter public Builder sqs(@Nullable String sqs) { + this.sqs = sqs; return this; } @CustomType.Setter public Builder ssm(@Nullable String ssm) { + this.ssm = ssm; return this; } @CustomType.Setter public Builder ssmcontacts(@Nullable String ssmcontacts) { + this.ssmcontacts = ssmcontacts; return this; } @CustomType.Setter public Builder ssmincidents(@Nullable String ssmincidents) { + this.ssmincidents = ssmincidents; return this; } @CustomType.Setter public Builder sso(@Nullable String sso) { + this.sso = sso; return this; } @CustomType.Setter public Builder ssoadmin(@Nullable String ssoadmin) { + this.ssoadmin = ssoadmin; return this; } @CustomType.Setter public Builder ssooidc(@Nullable String ssooidc) { + this.ssooidc = ssooidc; return this; } @CustomType.Setter public Builder stepfunctions(@Nullable String stepfunctions) { + this.stepfunctions = stepfunctions; return this; } @CustomType.Setter public Builder storagegateway(@Nullable String storagegateway) { + this.storagegateway = storagegateway; return this; } @CustomType.Setter public Builder sts(@Nullable String sts) { + this.sts = sts; return this; } @CustomType.Setter public Builder support(@Nullable String support) { + this.support = support; return this; } @CustomType.Setter public Builder swf(@Nullable String swf) { + this.swf = swf; return this; } @CustomType.Setter public Builder synthetics(@Nullable String synthetics) { + this.synthetics = synthetics; return this; } @CustomType.Setter public Builder textract(@Nullable String textract) { + this.textract = textract; return this; } @CustomType.Setter public Builder timestreamquery(@Nullable String timestreamquery) { + this.timestreamquery = timestreamquery; return this; } @CustomType.Setter public Builder timestreamwrite(@Nullable String timestreamwrite) { + this.timestreamwrite = timestreamwrite; return this; } @CustomType.Setter public Builder transcribe(@Nullable String transcribe) { + this.transcribe = transcribe; return this; } @CustomType.Setter public Builder transcribeservice(@Nullable String transcribeservice) { + this.transcribeservice = transcribeservice; return this; } @CustomType.Setter public Builder transcribestreaming(@Nullable String transcribestreaming) { + this.transcribestreaming = transcribestreaming; return this; } @CustomType.Setter public Builder transcribestreamingservice(@Nullable String transcribestreamingservice) { + this.transcribestreamingservice = transcribestreamingservice; return this; } @CustomType.Setter public Builder transfer(@Nullable String transfer) { + this.transfer = transfer; return this; } @CustomType.Setter public Builder translate(@Nullable String translate) { + this.translate = translate; return this; } @CustomType.Setter public Builder waf(@Nullable String waf) { + this.waf = waf; return this; } @CustomType.Setter public Builder wafregional(@Nullable String wafregional) { + this.wafregional = wafregional; return this; } @CustomType.Setter public Builder wafv2(@Nullable String wafv2) { + this.wafv2 = wafv2; return this; } @CustomType.Setter public Builder wellarchitected(@Nullable String wellarchitected) { + this.wellarchitected = wellarchitected; return this; } @CustomType.Setter public Builder workdocs(@Nullable String workdocs) { + this.workdocs = workdocs; return this; } @CustomType.Setter public Builder worklink(@Nullable String worklink) { + this.worklink = worklink; return this; } @CustomType.Setter public Builder workmail(@Nullable String workmail) { + this.workmail = workmail; return this; } @CustomType.Setter public Builder workmailmessageflow(@Nullable String workmailmessageflow) { + this.workmailmessageflow = workmailmessageflow; return this; } @CustomType.Setter public Builder workspaces(@Nullable String workspaces) { + this.workspaces = workspaces; return this; } @CustomType.Setter public Builder xray(@Nullable String xray) { + this.xray = xray; return this; } diff --git a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiArgs.java b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiArgs.java index 9863024bfb0..d1469bc079a 100644 --- a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -139,7 +140,9 @@ public Builder owners(String... owners) { } public GetAmiArgs build() { - $.owners = Objects.requireNonNull($.owners, "expected parameter 'owners' to be non-null"); + if ($.owners == null) { + throw new MissingRequiredPropertyException("GetAmiArgs", "owners"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiPlainArgs.java b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiPlainArgs.java index 59b0417f3a7..559094dedbd 100644 --- a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/inputs/GetAmiPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.aws.ec2_getAmi.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -117,7 +118,9 @@ public Builder owners(String... owners) { } public GetAmiPlainArgs build() { - $.owners = Objects.requireNonNull($.owners, "expected parameter 'owners' to be non-null"); + if ($.owners == null) { + throw new MissingRequiredPropertyException("GetAmiPlainArgs", "owners"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/outputs/GetAmiResult.java b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/outputs/GetAmiResult.java index 5a41cf71ba3..ce42f3d0ebd 100644 --- a/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/outputs/GetAmiResult.java +++ b/pkg/codegen/testing/test/testdata/mini-awsclassic/java/src/main/java/com/pulumi/aws/ec2_getAmi/outputs/GetAmiResult.java @@ -4,6 +4,7 @@ package com.pulumi.aws.ec2_getAmi.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -44,7 +45,10 @@ public Builder(GetAmiResult defaults) { @CustomType.Setter public Builder kernelId(String kernelId) { - this.kernelId = Objects.requireNonNull(kernelId); + if (kernelId == null) { + throw new MissingRequiredPropertyException("GetAmiResult", "kernelId"); + } + this.kernelId = kernelId; return this; } public GetAmiResult build() { diff --git a/pkg/codegen/testing/test/testdata/mini-awsnative/java/src/main/java/com/pulumi/awsnative/config/inputs/IgnoreTags.java b/pkg/codegen/testing/test/testdata/mini-awsnative/java/src/main/java/com/pulumi/awsnative/config/inputs/IgnoreTags.java index 6ce6c6d2a26..c04c6d5b80e 100644 --- a/pkg/codegen/testing/test/testdata/mini-awsnative/java/src/main/java/com/pulumi/awsnative/config/inputs/IgnoreTags.java +++ b/pkg/codegen/testing/test/testdata/mini-awsnative/java/src/main/java/com/pulumi/awsnative/config/inputs/IgnoreTags.java @@ -58,6 +58,7 @@ public Builder(IgnoreTags defaults) { @CustomType.Setter public Builder keyPrefixes(@Nullable List keyPrefixes) { + this.keyPrefixes = keyPrefixes; return this; } @@ -66,6 +67,7 @@ public Builder keyPrefixes(String... keyPrefixes) { } @CustomType.Setter public Builder keys(@Nullable List keys) { + this.keys = keys; return this; } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNameArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNameArgs.java index 4be2a75b673..a4ce34361bb 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNameArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNameArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -111,8 +112,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public GetActionRuleByNameArgs build() { - $.actionRuleName = Objects.requireNonNull($.actionRuleName, "expected parameter 'actionRuleName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.actionRuleName == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameArgs", "actionRuleName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNamePlainArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNamePlainArgs.java index 11a6256f08e..6046926b714 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNamePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/inputs/GetActionRuleByNamePlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.azurenative.alertsmanagement.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -90,8 +91,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public GetActionRuleByNamePlainArgs build() { - $.actionRuleName = Objects.requireNonNull($.actionRuleName, "expected parameter 'actionRuleName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.actionRuleName == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNamePlainArgs", "actionRuleName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNamePlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/ActionGroupResponse.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/ActionGroupResponse.java index a789f3760e2..ca416a1e050 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/ActionGroupResponse.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/ActionGroupResponse.java @@ -4,6 +4,7 @@ package com.pulumi.azurenative.alertsmanagement.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -144,42 +145,62 @@ public Builder(ActionGroupResponse defaults) { @CustomType.Setter public Builder actionGroupId(String actionGroupId) { - this.actionGroupId = Objects.requireNonNull(actionGroupId); + if (actionGroupId == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "actionGroupId"); + } + this.actionGroupId = actionGroupId; return this; } @CustomType.Setter public Builder createdAt(String createdAt) { - this.createdAt = Objects.requireNonNull(createdAt); + if (createdAt == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "createdAt"); + } + this.createdAt = createdAt; return this; } @CustomType.Setter public Builder createdBy(String createdBy) { - this.createdBy = Objects.requireNonNull(createdBy); + if (createdBy == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "createdBy"); + } + this.createdBy = createdBy; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder lastModifiedAt(String lastModifiedAt) { - this.lastModifiedAt = Objects.requireNonNull(lastModifiedAt); + if (lastModifiedAt == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "lastModifiedAt"); + } + this.lastModifiedAt = lastModifiedAt; return this; } @CustomType.Setter public Builder lastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = Objects.requireNonNull(lastModifiedBy); + if (lastModifiedBy == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "lastModifiedBy"); + } + this.lastModifiedBy = lastModifiedBy; return this; } @CustomType.Setter public Builder status(@Nullable String status) { + this.status = status; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("ActionGroupResponse", "type"); + } + this.type = type; return this; } public ActionGroupResponse build() { diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/GetActionRuleByNameResult.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/GetActionRuleByNameResult.java index 94138983bff..739bc22eb6c 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/GetActionRuleByNameResult.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/alertsmanagement/outputs/GetActionRuleByNameResult.java @@ -7,6 +7,7 @@ import com.pulumi.azurenative.alertsmanagement.outputs.DiagnosticsResponse; import com.pulumi.azurenative.alertsmanagement.outputs.SuppressionResponse; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Object; import java.lang.String; import java.util.Map; @@ -118,32 +119,48 @@ public Builder(GetActionRuleByNameResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder location(String location) { - this.location = Objects.requireNonNull(location); + if (location == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameResult", "location"); + } + this.location = location; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameResult", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder properties(Object properties) { - this.properties = Objects.requireNonNull(properties); + if (properties == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameResult", "properties"); + } + this.properties = properties; return this; } @CustomType.Setter public Builder tags(@Nullable Map tags) { + this.tags = tags; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("GetActionRuleByNameResult", "type"); + } + this.type = type; return this; } public GetActionRuleByNameResult build() { diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/insights/WebTestArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/insights/WebTestArgs.java index 5604e02e500..42a1fe8544a 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/insights/WebTestArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/insights/WebTestArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -490,8 +491,12 @@ public Builder webTestName(String webTestName) { public WebTestArgs build() { $.frequency = Codegen.integerProp("frequency").output().arg($.frequency).def(300).getNullable(); $.kind = Codegen.objectProp("kind", WebTestKind.class).output().arg($.kind).def(WebTestKind.Ping).getNullable(); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); - $.syntheticMonitorId = Objects.requireNonNull($.syntheticMonitorId, "expected parameter 'syntheticMonitorId' to be non-null"); + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("WebTestArgs", "resourceGroupName"); + } + if ($.syntheticMonitorId == null) { + throw new MissingRequiredPropertyException("WebTestArgs", "syntheticMonitorId"); + } $.timeout = Codegen.integerProp("timeout").output().arg($.timeout).def(30).getNullable(); $.webTestKind = Codegen.objectProp("webTestKind", WebTestKind.class).output().arg($.webTestKind).def(WebTestKind.Ping).require(); return $; diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysArgs.java index a3d8d3828a7..c14945e6b50 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysArgs.java @@ -6,6 +6,7 @@ import com.pulumi.azurenative.logic.inputs.KeyVaultReferenceArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -188,9 +189,15 @@ public Builder skipToken(String skipToken) { } public ListIntegrationAccountKeyVaultKeysArgs build() { - $.integrationAccountName = Objects.requireNonNull($.integrationAccountName, "expected parameter 'integrationAccountName' to be non-null"); - $.keyVault = Objects.requireNonNull($.keyVault, "expected parameter 'keyVault' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.integrationAccountName == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysArgs", "integrationAccountName"); + } + if ($.keyVault == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysArgs", "keyVault"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysPlainArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysPlainArgs.java index 90f15947b28..4e2cbf88124 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/inputs/ListIntegrationAccountKeyVaultKeysPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.azurenative.logic.inputs.KeyVaultReference; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -147,9 +148,15 @@ public Builder skipToken(@Nullable String skipToken) { } public ListIntegrationAccountKeyVaultKeysPlainArgs build() { - $.integrationAccountName = Objects.requireNonNull($.integrationAccountName, "expected parameter 'integrationAccountName' to be non-null"); - $.keyVault = Objects.requireNonNull($.keyVault, "expected parameter 'keyVault' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.integrationAccountName == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysPlainArgs", "integrationAccountName"); + } + if ($.keyVault == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysPlainArgs", "keyVault"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListIntegrationAccountKeyVaultKeysPlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/outputs/ListIntegrationAccountKeyVaultKeysResult.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/outputs/ListIntegrationAccountKeyVaultKeysResult.java index f92a9ae6822..64352bac421 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/outputs/ListIntegrationAccountKeyVaultKeysResult.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/logic/outputs/ListIntegrationAccountKeyVaultKeysResult.java @@ -44,6 +44,7 @@ public Builder(ListIntegrationAccountKeyVaultKeysResult defaults) { @CustomType.Setter public Builder skipToken(@Nullable String skipToken) { + this.skipToken = skipToken; return this; } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/machinelearningservices/BatchDeploymentArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/machinelearningservices/BatchDeploymentArgs.java index a88c18f6560..1f9d28337f1 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/machinelearningservices/BatchDeploymentArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/machinelearningservices/BatchDeploymentArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -336,10 +337,18 @@ public Builder workspaceName(String workspaceName) { } public BatchDeploymentArgs build() { - $.endpointName = Objects.requireNonNull($.endpointName, "expected parameter 'endpointName' to be non-null"); - $.properties = Objects.requireNonNull($.properties, "expected parameter 'properties' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); - $.workspaceName = Objects.requireNonNull($.workspaceName, "expected parameter 'workspaceName' to be non-null"); + if ($.endpointName == null) { + throw new MissingRequiredPropertyException("BatchDeploymentArgs", "endpointName"); + } + if ($.properties == null) { + throw new MissingRequiredPropertyException("BatchDeploymentArgs", "properties"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("BatchDeploymentArgs", "resourceGroupName"); + } + if ($.workspaceName == null) { + throw new MissingRequiredPropertyException("BatchDeploymentArgs", "workspaceName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/netapp/VolumeArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/netapp/VolumeArgs.java index a7d3e0b04e0..844203a16b8 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/netapp/VolumeArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/netapp/VolumeArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Double; import java.util.Objects; import java.util.Optional; diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotArgs.java index c7843b52668..d0aeb492fac 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder slot(String slot) { } public GetWebAppSlotArgs build() { - $.slot = Objects.requireNonNull($.slot, "expected parameter 'slot' to be non-null"); + if ($.slot == null) { + throw new MissingRequiredPropertyException("GetWebAppSlotArgs", "slot"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotPlainArgs.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotPlainArgs.java index 0942ad9db96..f967ebf52b3 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/inputs/GetWebAppSlotPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.azurenative.web.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -63,7 +64,9 @@ public Builder slot(String slot) { } public GetWebAppSlotPlainArgs build() { - $.slot = Objects.requireNonNull($.slot, "expected parameter 'slot' to be non-null"); + if ($.slot == null) { + throw new MissingRequiredPropertyException("GetWebAppSlotPlainArgs", "slot"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/GetWebAppSlotResult.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/GetWebAppSlotResult.java index 1ff17a41b79..537cd4e8f4d 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/GetWebAppSlotResult.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/GetWebAppSlotResult.java @@ -44,6 +44,7 @@ public Builder(GetWebAppSlotResult defaults) { @CustomType.Setter public Builder siteConfig(@Nullable SiteConfigResponse siteConfig) { + this.siteConfig = siteConfig; return this; } diff --git a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/SiteConfigResponse.java b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/SiteConfigResponse.java index 1338fcdf50f..7886a541400 100644 --- a/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/SiteConfigResponse.java +++ b/pkg/codegen/testing/test/testdata/mini-azurenative/java/src/main/java/com/pulumi/azurenative/web/outputs/SiteConfigResponse.java @@ -44,6 +44,7 @@ public Builder(SiteConfigResponse defaults) { @CustomType.Setter public Builder netFrameworkVersion(@Nullable String netFrameworkVersion) { + this.netFrameworkVersion = netFrameworkVersion; return this; } diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java index 48f0bd1f4d3..b223d12118d 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder foo(String foo) { } public ObjectWithNodeOptionalInputsArgs build() { - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); + if ($.foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputsArgs", "foo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java index ecdc93343ee..2dbc4e334d2 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java @@ -36,6 +36,7 @@ public Builder(ArgFunctionResult defaults) { @CustomType.Setter public Builder result(@Nullable Resource result) { + this.result = result; return this; } diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java index ea6d6895576..479f9aa0765 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java @@ -36,6 +36,7 @@ public Builder(ConfigMap defaults) { @CustomType.Setter public Builder config(@Nullable String config) { + this.config = config; return this; } diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/Object.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/Object.java index 100e2bc2196..81b91e864fa 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/Object.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/Object.java @@ -81,11 +81,13 @@ public Builder(Object defaults) { @CustomType.Setter public Builder bar(@Nullable String bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder configs(@Nullable List configs) { + this.configs = configs; return this; } @@ -94,16 +96,19 @@ public Builder configs(ConfigMap... configs) { } @CustomType.Setter public Builder foo(@Nullable Resource foo) { + this.foo = foo; return this; } @CustomType.Setter public Builder others(@Nullable List> others) { + this.others = others; return this; } @CustomType.Setter public Builder stillOthers(@Nullable Map> stillOthers) { + this.stillOthers = stillOthers; return this; } diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java index 5da606a2cda..b609dc79fc3 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java @@ -4,6 +4,7 @@ package com.pulumi.example.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,12 +44,16 @@ public Builder(ObjectWithNodeOptionalInputs defaults) { @CustomType.Setter public Builder bar(@Nullable Integer bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder foo(String foo) { - this.foo = Objects.requireNonNull(foo); + if (foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputs", "foo"); + } + this.foo = foo; return this; } public ObjectWithNodeOptionalInputs build() { diff --git a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java index 4b9bc77141e..c11a114fc7d 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java +++ b/pkg/codegen/testing/test/testdata/other-owned/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java @@ -36,6 +36,7 @@ public Builder(SomeOtherObject defaults) { @CustomType.Setter public Builder baz(@Nullable String baz) { + this.baz = baz; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFilters.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFilters.java index fcc70ce8e43..234ba4e1dad 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFilters.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFilters.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.FilterableProperty; import com.pulumi.myedgeorder.inputs.HierarchyInformation; import java.util.List; @@ -108,7 +109,9 @@ public Builder hierarchyInformation(HierarchyInformation hierarchyInformation) { } public ConfigurationFilters build() { - $.hierarchyInformation = Objects.requireNonNull($.hierarchyInformation, "expected parameter 'hierarchyInformation' to be non-null"); + if ($.hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationFilters", "hierarchyInformation"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFiltersArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFiltersArgs.java index d1df88e7c95..32321352014 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFiltersArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ConfigurationFiltersArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.FilterablePropertyArgs; import com.pulumi.myedgeorder.inputs.HierarchyInformationArgs; import java.util.List; @@ -129,7 +130,9 @@ public Builder hierarchyInformation(HierarchyInformationArgs hierarchyInformatio } public ConfigurationFiltersArgs build() { - $.hierarchyInformation = Objects.requireNonNull($.hierarchyInformation, "expected parameter 'hierarchyInformation' to be non-null"); + if ($.hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationFiltersArgs", "hierarchyInformation"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetails.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetails.java index 416f2ee9ef9..3d8affe5034 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetails.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetails.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionRegisteredFeatures; import java.lang.String; import java.util.List; @@ -135,7 +136,9 @@ public Builder registeredFeatures(CustomerSubscriptionRegisteredFeatures... regi } public CustomerSubscriptionDetails build() { - $.quotaId = Objects.requireNonNull($.quotaId, "expected parameter 'quotaId' to be non-null"); + if ($.quotaId == null) { + throw new MissingRequiredPropertyException("CustomerSubscriptionDetails", "quotaId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetailsArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetailsArgs.java index f7aeebe86b6..d01f596c019 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetailsArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/CustomerSubscriptionDetailsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionRegisteredFeaturesArgs; import java.lang.String; import java.util.List; @@ -166,7 +167,9 @@ public Builder registeredFeatures(CustomerSubscriptionRegisteredFeaturesArgs... } public CustomerSubscriptionDetailsArgs build() { - $.quotaId = Objects.requireNonNull($.quotaId, "expected parameter 'quotaId' to be non-null"); + if ($.quotaId == null) { + throw new MissingRequiredPropertyException("CustomerSubscriptionDetailsArgs", "quotaId"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterableProperty.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterableProperty.java index 93651621ac0..d4752c3a195 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterableProperty.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterableProperty.java @@ -5,6 +5,7 @@ import com.pulumi.core.Either; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.enums.SupportedFilterTypes; import java.lang.String; import java.util.List; @@ -127,8 +128,12 @@ public Builder type(SupportedFilterTypes type) { } public FilterableProperty build() { - $.supportedValues = Objects.requireNonNull($.supportedValues, "expected parameter 'supportedValues' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.supportedValues == null) { + throw new MissingRequiredPropertyException("FilterableProperty", "supportedValues"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("FilterableProperty", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterablePropertyArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterablePropertyArgs.java index 99fb0d5a93a..2c2295cc227 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterablePropertyArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/FilterablePropertyArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Either; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.enums.SupportedFilterTypes; import java.lang.String; import java.util.List; @@ -148,8 +149,12 @@ public Builder type(SupportedFilterTypes type) { } public FilterablePropertyArgs build() { - $.supportedValues = Objects.requireNonNull($.supportedValues, "expected parameter 'supportedValues' to be non-null"); - $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + if ($.supportedValues == null) { + throw new MissingRequiredPropertyException("FilterablePropertyArgs", "supportedValues"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("FilterablePropertyArgs", "type"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsArgs.java index cf040a293bf..fa8a02342c6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.ConfigurationFiltersArgs; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionDetailsArgs; import java.lang.String; @@ -163,7 +164,9 @@ public Builder skipToken(String skipToken) { } public ListConfigurationsArgs build() { - $.configurationFilters = Objects.requireNonNull($.configurationFilters, "expected parameter 'configurationFilters' to be non-null"); + if ($.configurationFilters == null) { + throw new MissingRequiredPropertyException("ListConfigurationsArgs", "configurationFilters"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsPlainArgs.java index 9285d871af3..3005564c257 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListConfigurationsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.ConfigurationFilters; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionDetails; import java.lang.String; @@ -132,7 +133,9 @@ public Builder skipToken(@Nullable String skipToken) { } public ListConfigurationsPlainArgs build() { - $.configurationFilters = Objects.requireNonNull($.configurationFilters, "expected parameter 'configurationFilters' to be non-null"); + if ($.configurationFilters == null) { + throw new MissingRequiredPropertyException("ListConfigurationsPlainArgs", "configurationFilters"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesArgs.java index 269c03c44c9..b14be458b72 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionDetailsArgs; import com.pulumi.myedgeorder.inputs.FilterablePropertyArgs; import java.lang.String; @@ -191,7 +192,9 @@ public Builder skipToken(String skipToken) { } public ListProductFamiliesArgs build() { - $.filterableProperties = Objects.requireNonNull($.filterableProperties, "expected parameter 'filterableProperties' to be non-null"); + if ($.filterableProperties == null) { + throw new MissingRequiredPropertyException("ListProductFamiliesArgs", "filterableProperties"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesPlainArgs.java index a84fb37f335..d764bc6cee5 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/inputs/ListProductFamiliesPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.inputs.CustomerSubscriptionDetails; import com.pulumi.myedgeorder.inputs.FilterableProperty; import java.lang.String; @@ -150,7 +151,9 @@ public Builder skipToken(@Nullable String skipToken) { } public ListProductFamiliesPlainArgs build() { - $.filterableProperties = Objects.requireNonNull($.filterableProperties, "expected parameter 'filterableProperties' to be non-null"); + if ($.filterableProperties == null) { + throw new MissingRequiredPropertyException("ListProductFamiliesPlainArgs", "filterableProperties"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/AvailabilityInformationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/AvailabilityInformationResponse.java index 105ed8f4863..4f3291f5b57 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/AvailabilityInformationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/AvailabilityInformationResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -70,17 +71,26 @@ public Builder(AvailabilityInformationResponse defaults) { @CustomType.Setter public Builder availabilityStage(String availabilityStage) { - this.availabilityStage = Objects.requireNonNull(availabilityStage); + if (availabilityStage == null) { + throw new MissingRequiredPropertyException("AvailabilityInformationResponse", "availabilityStage"); + } + this.availabilityStage = availabilityStage; return this; } @CustomType.Setter public Builder disabledReason(String disabledReason) { - this.disabledReason = Objects.requireNonNull(disabledReason); + if (disabledReason == null) { + throw new MissingRequiredPropertyException("AvailabilityInformationResponse", "disabledReason"); + } + this.disabledReason = disabledReason; return this; } @CustomType.Setter public Builder disabledReasonMessage(String disabledReasonMessage) { - this.disabledReasonMessage = Objects.requireNonNull(disabledReasonMessage); + if (disabledReasonMessage == null) { + throw new MissingRequiredPropertyException("AvailabilityInformationResponse", "disabledReasonMessage"); + } + this.disabledReasonMessage = disabledReasonMessage; return this; } public AvailabilityInformationResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/BillingMeterDetailsResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/BillingMeterDetailsResponse.java index cf00c95ca0f..b9cb08bdefe 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/BillingMeterDetailsResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/BillingMeterDetailsResponse.java @@ -5,6 +5,7 @@ import com.pulumi.core.Either; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.Pav2MeterDetailsResponse; import com.pulumi.myedgeorder.outputs.PurchaseMeterDetailsResponse; import java.lang.String; @@ -87,22 +88,34 @@ public Builder(BillingMeterDetailsResponse defaults) { @CustomType.Setter public Builder frequency(String frequency) { - this.frequency = Objects.requireNonNull(frequency); + if (frequency == null) { + throw new MissingRequiredPropertyException("BillingMeterDetailsResponse", "frequency"); + } + this.frequency = frequency; return this; } @CustomType.Setter public Builder meterDetails(Either meterDetails) { - this.meterDetails = Objects.requireNonNull(meterDetails); + if (meterDetails == null) { + throw new MissingRequiredPropertyException("BillingMeterDetailsResponse", "meterDetails"); + } + this.meterDetails = meterDetails; return this; } @CustomType.Setter public Builder meteringType(String meteringType) { - this.meteringType = Objects.requireNonNull(meteringType); + if (meteringType == null) { + throw new MissingRequiredPropertyException("BillingMeterDetailsResponse", "meteringType"); + } + this.meteringType = meteringType; return this; } @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("BillingMeterDetailsResponse", "name"); + } + this.name = name; return this; } public BillingMeterDetailsResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ConfigurationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ConfigurationResponse.java index 427f63c8c88..4d757964c4c 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ConfigurationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ConfigurationResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.AvailabilityInformationResponse; import com.pulumi.myedgeorder.outputs.CostInformationResponse; import com.pulumi.myedgeorder.outputs.DescriptionResponse; @@ -163,32 +164,50 @@ public Builder(ConfigurationResponse defaults) { @CustomType.Setter public Builder availabilityInformation(AvailabilityInformationResponse availabilityInformation) { - this.availabilityInformation = Objects.requireNonNull(availabilityInformation); + if (availabilityInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "availabilityInformation"); + } + this.availabilityInformation = availabilityInformation; return this; } @CustomType.Setter public Builder costInformation(CostInformationResponse costInformation) { - this.costInformation = Objects.requireNonNull(costInformation); + if (costInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "costInformation"); + } + this.costInformation = costInformation; return this; } @CustomType.Setter public Builder description(DescriptionResponse description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder dimensions(DimensionsResponse dimensions) { - this.dimensions = Objects.requireNonNull(dimensions); + if (dimensions == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "dimensions"); + } + this.dimensions = dimensions; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder filterableProperties(List filterableProperties) { - this.filterableProperties = Objects.requireNonNull(filterableProperties); + if (filterableProperties == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "filterableProperties"); + } + this.filterableProperties = filterableProperties; return this; } public Builder filterableProperties(FilterablePropertyResponse... filterableProperties) { @@ -196,12 +215,18 @@ public Builder filterableProperties(FilterablePropertyResponse... filterableProp } @CustomType.Setter public Builder hierarchyInformation(HierarchyInformationResponse hierarchyInformation) { - this.hierarchyInformation = Objects.requireNonNull(hierarchyInformation); + if (hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "hierarchyInformation"); + } + this.hierarchyInformation = hierarchyInformation; return this; } @CustomType.Setter public Builder imageInformation(List imageInformation) { - this.imageInformation = Objects.requireNonNull(imageInformation); + if (imageInformation == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "imageInformation"); + } + this.imageInformation = imageInformation; return this; } public Builder imageInformation(ImageInformationResponse... imageInformation) { @@ -209,7 +234,10 @@ public Builder imageInformation(ImageInformationResponse... imageInformation) { } @CustomType.Setter public Builder specifications(List specifications) { - this.specifications = Objects.requireNonNull(specifications); + if (specifications == null) { + throw new MissingRequiredPropertyException("ConfigurationResponse", "specifications"); + } + this.specifications = specifications; return this; } public Builder specifications(SpecificationResponse... specifications) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/CostInformationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/CostInformationResponse.java index ad79bfa40d1..c23beb241b3 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/CostInformationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/CostInformationResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.BillingMeterDetailsResponse; import java.lang.String; import java.util.List; @@ -58,12 +59,18 @@ public Builder(CostInformationResponse defaults) { @CustomType.Setter public Builder billingInfoUrl(String billingInfoUrl) { - this.billingInfoUrl = Objects.requireNonNull(billingInfoUrl); + if (billingInfoUrl == null) { + throw new MissingRequiredPropertyException("CostInformationResponse", "billingInfoUrl"); + } + this.billingInfoUrl = billingInfoUrl; return this; } @CustomType.Setter public Builder billingMeterDetails(List billingMeterDetails) { - this.billingMeterDetails = Objects.requireNonNull(billingMeterDetails); + if (billingMeterDetails == null) { + throw new MissingRequiredPropertyException("CostInformationResponse", "billingMeterDetails"); + } + this.billingMeterDetails = billingMeterDetails; return this; } public Builder billingMeterDetails(BillingMeterDetailsResponse... billingMeterDetails) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DescriptionResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DescriptionResponse.java index 6b6bd926c42..5aaa07c7479 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DescriptionResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DescriptionResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.LinkResponse; import java.lang.String; import java.util.List; @@ -114,7 +115,10 @@ public Builder(DescriptionResponse defaults) { @CustomType.Setter public Builder attributes(List attributes) { - this.attributes = Objects.requireNonNull(attributes); + if (attributes == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "attributes"); + } + this.attributes = attributes; return this; } public Builder attributes(String... attributes) { @@ -122,12 +126,18 @@ public Builder attributes(String... attributes) { } @CustomType.Setter public Builder descriptionType(String descriptionType) { - this.descriptionType = Objects.requireNonNull(descriptionType); + if (descriptionType == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "descriptionType"); + } + this.descriptionType = descriptionType; return this; } @CustomType.Setter public Builder keywords(List keywords) { - this.keywords = Objects.requireNonNull(keywords); + if (keywords == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "keywords"); + } + this.keywords = keywords; return this; } public Builder keywords(String... keywords) { @@ -135,7 +145,10 @@ public Builder keywords(String... keywords) { } @CustomType.Setter public Builder links(List links) { - this.links = Objects.requireNonNull(links); + if (links == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "links"); + } + this.links = links; return this; } public Builder links(LinkResponse... links) { @@ -143,12 +156,18 @@ public Builder links(LinkResponse... links) { } @CustomType.Setter public Builder longDescription(String longDescription) { - this.longDescription = Objects.requireNonNull(longDescription); + if (longDescription == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "longDescription"); + } + this.longDescription = longDescription; return this; } @CustomType.Setter public Builder shortDescription(String shortDescription) { - this.shortDescription = Objects.requireNonNull(shortDescription); + if (shortDescription == null) { + throw new MissingRequiredPropertyException("DescriptionResponse", "shortDescription"); + } + this.shortDescription = shortDescription; return this; } public DescriptionResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DimensionsResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DimensionsResponse.java index 1f07170405d..37a2c23c7b7 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DimensionsResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/DimensionsResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Double; import java.lang.String; import java.util.Objects; @@ -127,37 +128,58 @@ public Builder(DimensionsResponse defaults) { @CustomType.Setter public Builder depth(Double depth) { - this.depth = Objects.requireNonNull(depth); + if (depth == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "depth"); + } + this.depth = depth; return this; } @CustomType.Setter public Builder height(Double height) { - this.height = Objects.requireNonNull(height); + if (height == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "height"); + } + this.height = height; return this; } @CustomType.Setter public Builder length(Double length) { - this.length = Objects.requireNonNull(length); + if (length == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "length"); + } + this.length = length; return this; } @CustomType.Setter public Builder lengthHeightUnit(String lengthHeightUnit) { - this.lengthHeightUnit = Objects.requireNonNull(lengthHeightUnit); + if (lengthHeightUnit == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "lengthHeightUnit"); + } + this.lengthHeightUnit = lengthHeightUnit; return this; } @CustomType.Setter public Builder weight(Double weight) { - this.weight = Objects.requireNonNull(weight); + if (weight == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "weight"); + } + this.weight = weight; return this; } @CustomType.Setter public Builder weightUnit(String weightUnit) { - this.weightUnit = Objects.requireNonNull(weightUnit); + if (weightUnit == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "weightUnit"); + } + this.weightUnit = weightUnit; return this; } @CustomType.Setter public Builder width(Double width) { - this.width = Objects.requireNonNull(width); + if (width == null) { + throw new MissingRequiredPropertyException("DimensionsResponse", "width"); + } + this.width = width; return this; } public DimensionsResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/FilterablePropertyResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/FilterablePropertyResponse.java index c23fd5958c5..edeafe9a9b4 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/FilterablePropertyResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/FilterablePropertyResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -57,7 +58,10 @@ public Builder(FilterablePropertyResponse defaults) { @CustomType.Setter public Builder supportedValues(List supportedValues) { - this.supportedValues = Objects.requireNonNull(supportedValues); + if (supportedValues == null) { + throw new MissingRequiredPropertyException("FilterablePropertyResponse", "supportedValues"); + } + this.supportedValues = supportedValues; return this; } public Builder supportedValues(String... supportedValues) { @@ -65,7 +69,10 @@ public Builder supportedValues(String... supportedValues) { } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("FilterablePropertyResponse", "type"); + } + this.type = type; return this; } public FilterablePropertyResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/HierarchyInformationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/HierarchyInformationResponse.java index ad6a1d5c495..9218fd5283d 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/HierarchyInformationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/HierarchyInformationResponse.java @@ -86,21 +86,25 @@ public Builder(HierarchyInformationResponse defaults) { @CustomType.Setter public Builder configurationName(@Nullable String configurationName) { + this.configurationName = configurationName; return this; } @CustomType.Setter public Builder productFamilyName(@Nullable String productFamilyName) { + this.productFamilyName = productFamilyName; return this; } @CustomType.Setter public Builder productLineName(@Nullable String productLineName) { + this.productLineName = productLineName; return this; } @CustomType.Setter public Builder productName(@Nullable String productName) { + this.productName = productName; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ImageInformationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ImageInformationResponse.java index 5db79f2724d..97f584441f0 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ImageInformationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ImageInformationResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -56,12 +57,18 @@ public Builder(ImageInformationResponse defaults) { @CustomType.Setter public Builder imageType(String imageType) { - this.imageType = Objects.requireNonNull(imageType); + if (imageType == null) { + throw new MissingRequiredPropertyException("ImageInformationResponse", "imageType"); + } + this.imageType = imageType; return this; } @CustomType.Setter public Builder imageUrl(String imageUrl) { - this.imageUrl = Objects.requireNonNull(imageUrl); + if (imageUrl == null) { + throw new MissingRequiredPropertyException("ImageInformationResponse", "imageUrl"); + } + this.imageUrl = imageUrl; return this; } public ImageInformationResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/LinkResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/LinkResponse.java index 6ee12dfa4a1..cc8ddf84524 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/LinkResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/LinkResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -56,12 +57,18 @@ public Builder(LinkResponse defaults) { @CustomType.Setter public Builder linkType(String linkType) { - this.linkType = Objects.requireNonNull(linkType); + if (linkType == null) { + throw new MissingRequiredPropertyException("LinkResponse", "linkType"); + } + this.linkType = linkType; return this; } @CustomType.Setter public Builder linkUrl(String linkUrl) { - this.linkUrl = Objects.requireNonNull(linkUrl); + if (linkUrl == null) { + throw new MissingRequiredPropertyException("LinkResponse", "linkUrl"); + } + this.linkUrl = linkUrl; return this; } public LinkResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListConfigurationsResult.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListConfigurationsResult.java index e197869496c..a2fae75c946 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListConfigurationsResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListConfigurationsResult.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.ConfigurationResponse; import java.lang.String; import java.util.List; @@ -60,12 +61,16 @@ public Builder(ListConfigurationsResult defaults) { @CustomType.Setter public Builder nextLink(@Nullable String nextLink) { + this.nextLink = nextLink; return this; } @CustomType.Setter public Builder value(List value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("ListConfigurationsResult", "value"); + } + this.value = value; return this; } public Builder value(ConfigurationResponse... value) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListProductFamiliesResult.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListProductFamiliesResult.java index 1ebb70579e2..ebf8e96e8e3 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListProductFamiliesResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ListProductFamiliesResult.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.ProductFamilyResponse; import java.lang.String; import java.util.List; @@ -60,12 +61,16 @@ public Builder(ListProductFamiliesResult defaults) { @CustomType.Setter public Builder nextLink(@Nullable String nextLink) { + this.nextLink = nextLink; return this; } @CustomType.Setter public Builder value(List value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("ListProductFamiliesResult", "value"); + } + this.value = value; return this; } public Builder value(ProductFamilyResponse... value) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/Pav2MeterDetailsResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/Pav2MeterDetailsResponse.java index 1897303e0a1..71e731faf7e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/Pav2MeterDetailsResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/Pav2MeterDetailsResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Double; import java.lang.String; import java.util.Objects; @@ -87,22 +88,34 @@ public Builder(Pav2MeterDetailsResponse defaults) { @CustomType.Setter public Builder billingType(String billingType) { - this.billingType = Objects.requireNonNull(billingType); + if (billingType == null) { + throw new MissingRequiredPropertyException("Pav2MeterDetailsResponse", "billingType"); + } + this.billingType = billingType; return this; } @CustomType.Setter public Builder chargingType(String chargingType) { - this.chargingType = Objects.requireNonNull(chargingType); + if (chargingType == null) { + throw new MissingRequiredPropertyException("Pav2MeterDetailsResponse", "chargingType"); + } + this.chargingType = chargingType; return this; } @CustomType.Setter public Builder meterGuid(String meterGuid) { - this.meterGuid = Objects.requireNonNull(meterGuid); + if (meterGuid == null) { + throw new MissingRequiredPropertyException("Pav2MeterDetailsResponse", "meterGuid"); + } + this.meterGuid = meterGuid; return this; } @CustomType.Setter public Builder multiplier(Double multiplier) { - this.multiplier = Objects.requireNonNull(multiplier); + if (multiplier == null) { + throw new MissingRequiredPropertyException("Pav2MeterDetailsResponse", "multiplier"); + } + this.multiplier = multiplier; return this; } public Pav2MeterDetailsResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductFamilyResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductFamilyResponse.java index 4d069045b9c..a706e9fa416 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductFamilyResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductFamilyResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.AvailabilityInformationResponse; import com.pulumi.myedgeorder.outputs.CostInformationResponse; import com.pulumi.myedgeorder.outputs.DescriptionResponse; @@ -148,27 +149,42 @@ public Builder(ProductFamilyResponse defaults) { @CustomType.Setter public Builder availabilityInformation(AvailabilityInformationResponse availabilityInformation) { - this.availabilityInformation = Objects.requireNonNull(availabilityInformation); + if (availabilityInformation == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "availabilityInformation"); + } + this.availabilityInformation = availabilityInformation; return this; } @CustomType.Setter public Builder costInformation(CostInformationResponse costInformation) { - this.costInformation = Objects.requireNonNull(costInformation); + if (costInformation == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "costInformation"); + } + this.costInformation = costInformation; return this; } @CustomType.Setter public Builder description(DescriptionResponse description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder filterableProperties(List filterableProperties) { - this.filterableProperties = Objects.requireNonNull(filterableProperties); + if (filterableProperties == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "filterableProperties"); + } + this.filterableProperties = filterableProperties; return this; } public Builder filterableProperties(FilterablePropertyResponse... filterableProperties) { @@ -176,12 +192,18 @@ public Builder filterableProperties(FilterablePropertyResponse... filterableProp } @CustomType.Setter public Builder hierarchyInformation(HierarchyInformationResponse hierarchyInformation) { - this.hierarchyInformation = Objects.requireNonNull(hierarchyInformation); + if (hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "hierarchyInformation"); + } + this.hierarchyInformation = hierarchyInformation; return this; } @CustomType.Setter public Builder imageInformation(List imageInformation) { - this.imageInformation = Objects.requireNonNull(imageInformation); + if (imageInformation == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "imageInformation"); + } + this.imageInformation = imageInformation; return this; } public Builder imageInformation(ImageInformationResponse... imageInformation) { @@ -189,7 +211,10 @@ public Builder imageInformation(ImageInformationResponse... imageInformation) { } @CustomType.Setter public Builder productLines(List productLines) { - this.productLines = Objects.requireNonNull(productLines); + if (productLines == null) { + throw new MissingRequiredPropertyException("ProductFamilyResponse", "productLines"); + } + this.productLines = productLines; return this; } public Builder productLines(ProductLineResponse... productLines) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductLineResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductLineResponse.java index 1593702dcc5..f7a4f50867e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductLineResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductLineResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.AvailabilityInformationResponse; import com.pulumi.myedgeorder.outputs.CostInformationResponse; import com.pulumi.myedgeorder.outputs.DescriptionResponse; @@ -148,27 +149,42 @@ public Builder(ProductLineResponse defaults) { @CustomType.Setter public Builder availabilityInformation(AvailabilityInformationResponse availabilityInformation) { - this.availabilityInformation = Objects.requireNonNull(availabilityInformation); + if (availabilityInformation == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "availabilityInformation"); + } + this.availabilityInformation = availabilityInformation; return this; } @CustomType.Setter public Builder costInformation(CostInformationResponse costInformation) { - this.costInformation = Objects.requireNonNull(costInformation); + if (costInformation == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "costInformation"); + } + this.costInformation = costInformation; return this; } @CustomType.Setter public Builder description(DescriptionResponse description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder filterableProperties(List filterableProperties) { - this.filterableProperties = Objects.requireNonNull(filterableProperties); + if (filterableProperties == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "filterableProperties"); + } + this.filterableProperties = filterableProperties; return this; } public Builder filterableProperties(FilterablePropertyResponse... filterableProperties) { @@ -176,12 +192,18 @@ public Builder filterableProperties(FilterablePropertyResponse... filterableProp } @CustomType.Setter public Builder hierarchyInformation(HierarchyInformationResponse hierarchyInformation) { - this.hierarchyInformation = Objects.requireNonNull(hierarchyInformation); + if (hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "hierarchyInformation"); + } + this.hierarchyInformation = hierarchyInformation; return this; } @CustomType.Setter public Builder imageInformation(List imageInformation) { - this.imageInformation = Objects.requireNonNull(imageInformation); + if (imageInformation == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "imageInformation"); + } + this.imageInformation = imageInformation; return this; } public Builder imageInformation(ImageInformationResponse... imageInformation) { @@ -189,7 +211,10 @@ public Builder imageInformation(ImageInformationResponse... imageInformation) { } @CustomType.Setter public Builder products(List products) { - this.products = Objects.requireNonNull(products); + if (products == null) { + throw new MissingRequiredPropertyException("ProductLineResponse", "products"); + } + this.products = products; return this; } public Builder products(ProductResponse... products) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductResponse.java index 91bf2447268..eab1bf37f94 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/ProductResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.myedgeorder.outputs.AvailabilityInformationResponse; import com.pulumi.myedgeorder.outputs.ConfigurationResponse; import com.pulumi.myedgeorder.outputs.CostInformationResponse; @@ -148,12 +149,18 @@ public Builder(ProductResponse defaults) { @CustomType.Setter public Builder availabilityInformation(AvailabilityInformationResponse availabilityInformation) { - this.availabilityInformation = Objects.requireNonNull(availabilityInformation); + if (availabilityInformation == null) { + throw new MissingRequiredPropertyException("ProductResponse", "availabilityInformation"); + } + this.availabilityInformation = availabilityInformation; return this; } @CustomType.Setter public Builder configurations(List configurations) { - this.configurations = Objects.requireNonNull(configurations); + if (configurations == null) { + throw new MissingRequiredPropertyException("ProductResponse", "configurations"); + } + this.configurations = configurations; return this; } public Builder configurations(ConfigurationResponse... configurations) { @@ -161,22 +168,34 @@ public Builder configurations(ConfigurationResponse... configurations) { } @CustomType.Setter public Builder costInformation(CostInformationResponse costInformation) { - this.costInformation = Objects.requireNonNull(costInformation); + if (costInformation == null) { + throw new MissingRequiredPropertyException("ProductResponse", "costInformation"); + } + this.costInformation = costInformation; return this; } @CustomType.Setter public Builder description(DescriptionResponse description) { - this.description = Objects.requireNonNull(description); + if (description == null) { + throw new MissingRequiredPropertyException("ProductResponse", "description"); + } + this.description = description; return this; } @CustomType.Setter public Builder displayName(String displayName) { - this.displayName = Objects.requireNonNull(displayName); + if (displayName == null) { + throw new MissingRequiredPropertyException("ProductResponse", "displayName"); + } + this.displayName = displayName; return this; } @CustomType.Setter public Builder filterableProperties(List filterableProperties) { - this.filterableProperties = Objects.requireNonNull(filterableProperties); + if (filterableProperties == null) { + throw new MissingRequiredPropertyException("ProductResponse", "filterableProperties"); + } + this.filterableProperties = filterableProperties; return this; } public Builder filterableProperties(FilterablePropertyResponse... filterableProperties) { @@ -184,12 +203,18 @@ public Builder filterableProperties(FilterablePropertyResponse... filterableProp } @CustomType.Setter public Builder hierarchyInformation(HierarchyInformationResponse hierarchyInformation) { - this.hierarchyInformation = Objects.requireNonNull(hierarchyInformation); + if (hierarchyInformation == null) { + throw new MissingRequiredPropertyException("ProductResponse", "hierarchyInformation"); + } + this.hierarchyInformation = hierarchyInformation; return this; } @CustomType.Setter public Builder imageInformation(List imageInformation) { - this.imageInformation = Objects.requireNonNull(imageInformation); + if (imageInformation == null) { + throw new MissingRequiredPropertyException("ProductResponse", "imageInformation"); + } + this.imageInformation = imageInformation; return this; } public Builder imageInformation(ImageInformationResponse... imageInformation) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/PurchaseMeterDetailsResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/PurchaseMeterDetailsResponse.java index f73d0a27b86..3bfd83bdccc 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/PurchaseMeterDetailsResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/PurchaseMeterDetailsResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Double; import java.lang.String; import java.util.Objects; @@ -115,32 +116,50 @@ public Builder(PurchaseMeterDetailsResponse defaults) { @CustomType.Setter public Builder billingType(String billingType) { - this.billingType = Objects.requireNonNull(billingType); + if (billingType == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "billingType"); + } + this.billingType = billingType; return this; } @CustomType.Setter public Builder chargingType(String chargingType) { - this.chargingType = Objects.requireNonNull(chargingType); + if (chargingType == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "chargingType"); + } + this.chargingType = chargingType; return this; } @CustomType.Setter public Builder multiplier(Double multiplier) { - this.multiplier = Objects.requireNonNull(multiplier); + if (multiplier == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "multiplier"); + } + this.multiplier = multiplier; return this; } @CustomType.Setter public Builder productId(String productId) { - this.productId = Objects.requireNonNull(productId); + if (productId == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "productId"); + } + this.productId = productId; return this; } @CustomType.Setter public Builder skuId(String skuId) { - this.skuId = Objects.requireNonNull(skuId); + if (skuId == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "skuId"); + } + this.skuId = skuId; return this; } @CustomType.Setter public Builder termId(String termId) { - this.termId = Objects.requireNonNull(termId); + if (termId == null) { + throw new MissingRequiredPropertyException("PurchaseMeterDetailsResponse", "termId"); + } + this.termId = termId; return this; } public PurchaseMeterDetailsResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/SpecificationResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/SpecificationResponse.java index e79f4eb7687..fdd88c3fda1 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/SpecificationResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/java/src/main/java/com/pulumi/myedgeorder/outputs/SpecificationResponse.java @@ -4,6 +4,7 @@ package com.pulumi.myedgeorder.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -56,12 +57,18 @@ public Builder(SpecificationResponse defaults) { @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("SpecificationResponse", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("SpecificationResponse", "value"); + } + this.value = value; return this; } public SpecificationResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsArgs.java index 52b46d474f6..bf9e01ef1ef 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.inputs.GetAmiIdsFilterArgs; import java.lang.Boolean; import java.lang.String; @@ -288,7 +289,9 @@ public Builder sortAscending(Boolean sortAscending) { } public GetAmiIdsArgs build() { - $.owners = Objects.requireNonNull($.owners, "expected parameter 'owners' to be non-null"); + if ($.owners == null) { + throw new MissingRequiredPropertyException("GetAmiIdsArgs", "owners"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilter.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilter.java index a1f4be3feb7..d20ac96c5ea 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilter.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilter.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -67,8 +68,12 @@ public Builder values(String... values) { } public GetAmiIdsFilter build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilter", "values"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilterArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilterArgs.java index 91f32fc9a1b..f0ec3b1235d 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilterArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsFilterArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -76,8 +77,12 @@ public Builder values(String... values) { } public GetAmiIdsFilterArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); - $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilterArgs", "values"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsPlainArgs.java index 76befb9a5d9..93dd37a222b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/GetAmiIdsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.inputs.GetAmiIdsFilter; import java.lang.Boolean; import java.lang.String; @@ -230,7 +231,9 @@ public Builder sortAscending(@Nullable Boolean sortAscending) { } public GetAmiIdsPlainArgs build() { - $.owners = Objects.requireNonNull($.owners, "expected parameter 'owners' to be non-null"); + if ($.owners == null) { + throw new MissingRequiredPropertyException("GetAmiIdsPlainArgs", "owners"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java index a50118eff67..92741272d99 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -150,8 +151,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public ListStorageAccountKeysArgs build() { - $.accountName = Objects.requireNonNull($.accountName, "expected parameter 'accountName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.accountName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysArgs", "accountName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java index 10aa9a11925..f8156e78f8e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -119,8 +120,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public ListStorageAccountKeysPlainArgs build() { - $.accountName = Objects.requireNonNull($.accountName, "expected parameter 'accountName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.accountName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysPlainArgs", "accountName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysPlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsFilter.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsFilter.java index 04d115d4aad..811e16339c4 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsFilter.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsFilter.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -41,12 +42,18 @@ public Builder(GetAmiIdsFilter defaults) { @CustomType.Setter public Builder name(String name) { - this.name = Objects.requireNonNull(name); + if (name == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilter", "name"); + } + this.name = name; return this; } @CustomType.Setter public Builder values(List values) { - this.values = Objects.requireNonNull(values); + if (values == null) { + throw new MissingRequiredPropertyException("GetAmiIdsFilter", "values"); + } + this.values = values; return this; } public Builder values(String... values) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsResult.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsResult.java index 160f743fee8..19a1ed8b6e6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/GetAmiIdsResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.GetAmiIdsFilter; import java.lang.Boolean; import java.lang.String; @@ -83,6 +84,7 @@ public Builder(GetAmiIdsResult defaults) { @CustomType.Setter public Builder executableUsers(@Nullable List executableUsers) { + this.executableUsers = executableUsers; return this; } @@ -91,6 +93,7 @@ public Builder executableUsers(String... executableUsers) { } @CustomType.Setter public Builder filters(@Nullable List filters) { + this.filters = filters; return this; } @@ -99,12 +102,18 @@ public Builder filters(GetAmiIdsFilter... filters) { } @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetAmiIdsResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder ids(List ids) { - this.ids = Objects.requireNonNull(ids); + if (ids == null) { + throw new MissingRequiredPropertyException("GetAmiIdsResult", "ids"); + } + this.ids = ids; return this; } public Builder ids(String... ids) { @@ -112,12 +121,16 @@ public Builder ids(String... ids) { } @CustomType.Setter public Builder nameRegex(@Nullable String nameRegex) { + this.nameRegex = nameRegex; return this; } @CustomType.Setter public Builder owners(List owners) { - this.owners = Objects.requireNonNull(owners); + if (owners == null) { + throw new MissingRequiredPropertyException("GetAmiIdsResult", "owners"); + } + this.owners = owners; return this; } public Builder owners(String... owners) { @@ -125,6 +138,7 @@ public Builder owners(String... owners) { } @CustomType.Setter public Builder sortAscending(@Nullable Boolean sortAscending) { + this.sortAscending = sortAscending; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java index 7cf9fad932e..a60e117e0d8 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.StorageAccountKeyResponse; import java.util.List; import java.util.Objects; @@ -43,7 +44,10 @@ public Builder(ListStorageAccountKeysResult defaults) { @CustomType.Setter public Builder keys(List keys) { - this.keys = Objects.requireNonNull(keys); + if (keys == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysResult", "keys"); + } + this.keys = keys; return this; } public Builder keys(StorageAccountKeyResponse... keys) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java index c2db69c7310..00e49d04bb9 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -84,22 +85,34 @@ public Builder(StorageAccountKeyResponse defaults) { @CustomType.Setter public Builder creationTime(String creationTime) { - this.creationTime = Objects.requireNonNull(creationTime); + if (creationTime == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "creationTime"); + } + this.creationTime = creationTime; return this; } @CustomType.Setter public Builder keyName(String keyName) { - this.keyName = Objects.requireNonNull(keyName); + if (keyName == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "keyName"); + } + this.keyName = keyName; return this; } @CustomType.Setter public Builder permissions(String permissions) { - this.permissions = Objects.requireNonNull(permissions); + if (permissions == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "permissions"); + } + this.permissions = permissions; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "value"); + } + this.value = value; return this; } public StorageAccountKeyResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLink.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLink.java index 32288685936..b3f06988efc 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLink.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLink.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -67,7 +68,9 @@ public Builder vm(String vm) { } public BastionShareableLink build() { - $.vm = Objects.requireNonNull($.vm, "expected parameter 'vm' to be non-null"); + if ($.vm == null) { + throw new MissingRequiredPropertyException("BastionShareableLink", "vm"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLinkArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLinkArgs.java index 29912fe61b0..877a2080617 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLinkArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/BastionShareableLinkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -78,7 +79,9 @@ public Builder vm(String vm) { } public BastionShareableLinkArgs build() { - $.vm = Objects.requireNonNull($.vm, "expected parameter 'vm' to be non-null"); + if ($.vm == null) { + throw new MissingRequiredPropertyException("BastionShareableLinkArgs", "vm"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValueArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValueArgs.java index 23f5264e8c4..3286b1b68d2 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValueArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValueArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -74,7 +75,9 @@ public Builder b(String b) { } public FuncWithDefaultValueArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("FuncWithDefaultValueArgs", "a"); + } $.b = Codegen.stringProp("b").output().arg($.b).def("b-default").getNullable(); return $; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValuePlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValuePlainArgs.java index c1c23dd8430..448f6f3233e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValuePlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithDefaultValuePlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -65,7 +66,9 @@ public Builder b(@Nullable String b) { } public FuncWithDefaultValuePlainArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("FuncWithDefaultValuePlainArgs", "a"); + } $.b = Codegen.stringProp("b").arg($.b).def("b-default").getNullable(); return $; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsArgs.java index f673e2d47df..2e804940479 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder name(String name) { } public FuncWithEmptyOutputsArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("FuncWithEmptyOutputsArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsPlainArgs.java index f6902a43e28..8c2cce732e4 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/FuncWithEmptyOutputsPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -63,7 +64,9 @@ public Builder name(String name) { } public FuncWithEmptyOutputsPlainArgs build() { - $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + if ($.name == null) { + throw new MissingRequiredPropertyException("FuncWithEmptyOutputsPlainArgs", "name"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkArgs.java index b0368d9d19c..928cefc499c 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.inputs.BastionShareableLinkArgs; import java.lang.String; import java.util.List; @@ -162,8 +163,12 @@ public Builder vms(BastionShareableLinkArgs... vms) { } public GetBastionShareableLinkArgs build() { - $.bastionHostName = Objects.requireNonNull($.bastionHostName, "expected parameter 'bastionHostName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.bastionHostName == null) { + throw new MissingRequiredPropertyException("GetBastionShareableLinkArgs", "bastionHostName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetBastionShareableLinkArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkPlainArgs.java index adfc28efc44..a2fc0834dba 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetBastionShareableLinkPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.inputs.BastionShareableLink; import java.lang.String; import java.util.List; @@ -131,8 +132,12 @@ public Builder vms(BastionShareableLink... vms) { } public GetBastionShareableLinkPlainArgs build() { - $.bastionHostName = Objects.requireNonNull($.bastionHostName, "expected parameter 'bastionHostName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.bastionHostName == null) { + throw new MissingRequiredPropertyException("GetBastionShareableLinkPlainArgs", "bastionHostName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetBastionShareableLinkPlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumArgs.java index 812bdf86d4b..d9256cb60c6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -187,9 +188,15 @@ public Builder resourceGroupName(String resourceGroupName) { } public GetIntegrationRuntimeObjectMetadatumArgs build() { - $.factoryName = Objects.requireNonNull($.factoryName, "expected parameter 'factoryName' to be non-null"); - $.integrationRuntimeName = Objects.requireNonNull($.integrationRuntimeName, "expected parameter 'integrationRuntimeName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.factoryName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumArgs", "factoryName"); + } + if ($.integrationRuntimeName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumArgs", "integrationRuntimeName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumPlainArgs.java index ffc1fff6e08..13ee38ae35d 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/GetIntegrationRuntimeObjectMetadatumPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -146,9 +147,15 @@ public Builder resourceGroupName(String resourceGroupName) { } public GetIntegrationRuntimeObjectMetadatumPlainArgs build() { - $.factoryName = Objects.requireNonNull($.factoryName, "expected parameter 'factoryName' to be non-null"); - $.integrationRuntimeName = Objects.requireNonNull($.integrationRuntimeName, "expected parameter 'integrationRuntimeName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.factoryName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumPlainArgs", "factoryName"); + } + if ($.integrationRuntimeName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumPlainArgs", "integrationRuntimeName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("GetIntegrationRuntimeObjectMetadatumPlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java index a50118eff67..92741272d99 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -150,8 +151,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public ListStorageAccountKeysArgs build() { - $.accountName = Objects.requireNonNull($.accountName, "expected parameter 'accountName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.accountName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysArgs", "accountName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java index 10aa9a11925..f8156e78f8e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/inputs/ListStorageAccountKeysPlainArgs.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -119,8 +120,12 @@ public Builder resourceGroupName(String resourceGroupName) { } public ListStorageAccountKeysPlainArgs build() { - $.accountName = Objects.requireNonNull($.accountName, "expected parameter 'accountName' to be non-null"); - $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null"); + if ($.accountName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysPlainArgs", "accountName"); + } + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysPlainArgs", "resourceGroupName"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithAllOptionalInputsResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithAllOptionalInputsResult.java index d2e3c0c9d16..19bb04a1717 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithAllOptionalInputsResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithAllOptionalInputsResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(FuncWithAllOptionalInputsResult defaults) { @CustomType.Setter public Builder r(String r) { - this.r = Objects.requireNonNull(r); + if (r == null) { + throw new MissingRequiredPropertyException("FuncWithAllOptionalInputsResult", "r"); + } + this.r = r; return this; } public FuncWithAllOptionalInputsResult build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDefaultValueResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDefaultValueResult.java index 714138ffb84..411256489d7 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDefaultValueResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDefaultValueResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(FuncWithDefaultValueResult defaults) { @CustomType.Setter public Builder r(String r) { - this.r = Objects.requireNonNull(r); + if (r == null) { + throw new MissingRequiredPropertyException("FuncWithDefaultValueResult", "r"); + } + this.r = r; return this; } public FuncWithDefaultValueResult build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDictParamResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDictParamResult.java index 39830fa7fc2..e8bf299f8ee 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDictParamResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithDictParamResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(FuncWithDictParamResult defaults) { @CustomType.Setter public Builder r(String r) { - this.r = Objects.requireNonNull(r); + if (r == null) { + throw new MissingRequiredPropertyException("FuncWithDictParamResult", "r"); + } + this.r = r; return this; } public FuncWithDictParamResult build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithListParamResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithListParamResult.java index d0a625a92bb..3a78790e69a 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithListParamResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/FuncWithListParamResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -34,7 +35,10 @@ public Builder(FuncWithListParamResult defaults) { @CustomType.Setter public Builder r(String r) { - this.r = Objects.requireNonNull(r); + if (r == null) { + throw new MissingRequiredPropertyException("FuncWithListParamResult", "r"); + } + this.r = r; return this; } public FuncWithListParamResult build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetBastionShareableLinkResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetBastionShareableLinkResult.java index c90bb0d6ca8..73a4849aca0 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetBastionShareableLinkResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetBastionShareableLinkResult.java @@ -44,6 +44,7 @@ public Builder(GetBastionShareableLinkResult defaults) { @CustomType.Setter public Builder nextLink(@Nullable String nextLink) { + this.nextLink = nextLink; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetClientConfigResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetClientConfigResult.java index fb604ac4cd6..562a8d07398 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetClientConfigResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetClientConfigResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -84,22 +85,34 @@ public Builder(GetClientConfigResult defaults) { @CustomType.Setter public Builder clientId(String clientId) { - this.clientId = Objects.requireNonNull(clientId); + if (clientId == null) { + throw new MissingRequiredPropertyException("GetClientConfigResult", "clientId"); + } + this.clientId = clientId; return this; } @CustomType.Setter public Builder objectId(String objectId) { - this.objectId = Objects.requireNonNull(objectId); + if (objectId == null) { + throw new MissingRequiredPropertyException("GetClientConfigResult", "objectId"); + } + this.objectId = objectId; return this; } @CustomType.Setter public Builder subscriptionId(String subscriptionId) { - this.subscriptionId = Objects.requireNonNull(subscriptionId); + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetClientConfigResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; return this; } @CustomType.Setter public Builder tenantId(String tenantId) { - this.tenantId = Objects.requireNonNull(tenantId); + if (tenantId == null) { + throw new MissingRequiredPropertyException("GetClientConfigResult", "tenantId"); + } + this.tenantId = tenantId; return this; } public GetClientConfigResult build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetIntegrationRuntimeObjectMetadatumResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetIntegrationRuntimeObjectMetadatumResult.java index 34b36b41a09..ae816b2d40d 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetIntegrationRuntimeObjectMetadatumResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/GetIntegrationRuntimeObjectMetadatumResult.java @@ -64,11 +64,13 @@ public Builder(GetIntegrationRuntimeObjectMetadatumResult defaults) { @CustomType.Setter public Builder nextLink(@Nullable String nextLink) { + this.nextLink = nextLink; return this; } @CustomType.Setter public Builder value(@Nullable List value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java index 7cf9fad932e..a60e117e0d8 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/ListStorageAccountKeysResult.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.StorageAccountKeyResponse; import java.util.List; import java.util.Objects; @@ -43,7 +44,10 @@ public Builder(ListStorageAccountKeysResult defaults) { @CustomType.Setter public Builder keys(List keys) { - this.keys = Objects.requireNonNull(keys); + if (keys == null) { + throw new MissingRequiredPropertyException("ListStorageAccountKeysResult", "keys"); + } + this.keys = keys; return this; } public Builder keys(StorageAccountKeyResponse... keys) { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentReferenceResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentReferenceResponse.java index 032278196dc..86acfb8d4cc 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentReferenceResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentReferenceResponse.java @@ -87,21 +87,25 @@ public Builder(SsisEnvironmentReferenceResponse defaults) { @CustomType.Setter public Builder environmentFolderName(@Nullable String environmentFolderName) { + this.environmentFolderName = environmentFolderName; return this; } @CustomType.Setter public Builder environmentName(@Nullable String environmentName) { + this.environmentName = environmentName; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder referenceType(@Nullable String referenceType) { + this.referenceType = referenceType; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentResponse.java index 8f52b8310ef..5be1b2ccd25 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisEnvironmentResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.SsisVariableResponse; import java.lang.Double; import java.lang.String; @@ -119,31 +120,39 @@ public Builder(SsisEnvironmentResponse defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder folderId(@Nullable Double folderId) { + this.folderId = folderId; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("SsisEnvironmentResponse", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder variables(@Nullable List variables) { + this.variables = variables; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisFolderResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisFolderResponse.java index d1d7c105676..8f0a648ec63 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisFolderResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisFolderResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Double; import java.lang.String; import java.util.Objects; @@ -89,22 +90,28 @@ public Builder(SsisFolderResponse defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("SsisFolderResponse", "type"); + } + this.type = type; return this; } public SsisFolderResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisPackageResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisPackageResponse.java index 3c57a0ed3a9..1e3c2ad843b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisPackageResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisPackageResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.SsisParameterResponse; import java.lang.Double; import java.lang.String; @@ -147,26 +148,31 @@ public Builder(SsisPackageResponse defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder folderId(@Nullable Double folderId) { + this.folderId = folderId; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -175,17 +181,22 @@ public Builder parameters(SsisParameterResponse... parameters) { } @CustomType.Setter public Builder projectId(@Nullable Double projectId) { + this.projectId = projectId; return this; } @CustomType.Setter public Builder projectVersion(@Nullable Double projectVersion) { + this.projectVersion = projectVersion; return this; } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("SsisPackageResponse", "type"); + } + this.type = type; return this; } public SsisPackageResponse build() { diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisParameterResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisParameterResponse.java index a3d78a2b823..da6f1748e6b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisParameterResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisParameterResponse.java @@ -200,61 +200,73 @@ public Builder(SsisParameterResponse defaults) { @CustomType.Setter public Builder dataType(@Nullable String dataType) { + this.dataType = dataType; return this; } @CustomType.Setter public Builder defaultValue(@Nullable String defaultValue) { + this.defaultValue = defaultValue; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder designDefaultValue(@Nullable String designDefaultValue) { + this.designDefaultValue = designDefaultValue; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder required(@Nullable Boolean required) { + this.required = required; return this; } @CustomType.Setter public Builder sensitive(@Nullable Boolean sensitive) { + this.sensitive = sensitive; return this; } @CustomType.Setter public Builder sensitiveDefaultValue(@Nullable String sensitiveDefaultValue) { + this.sensitiveDefaultValue = sensitiveDefaultValue; return this; } @CustomType.Setter public Builder valueSet(@Nullable Boolean valueSet) { + this.valueSet = valueSet; return this; } @CustomType.Setter public Builder valueType(@Nullable String valueType) { + this.valueType = valueType; return this; } @CustomType.Setter public Builder variable(@Nullable String variable) { + this.variable = variable; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisProjectResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisProjectResponse.java index 2aadd77daa3..5e96a7f3354 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisProjectResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisProjectResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.outputs.SsisEnvironmentReferenceResponse; import com.pulumi.mypkg.outputs.SsisParameterResponse; import java.lang.Double; @@ -148,11 +149,13 @@ public Builder(SsisProjectResponse defaults) { @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder environmentRefs(@Nullable List environmentRefs) { + this.environmentRefs = environmentRefs; return this; } @@ -161,21 +164,25 @@ public Builder environmentRefs(SsisEnvironmentReferenceResponse... environmentRe } @CustomType.Setter public Builder folderId(@Nullable Double folderId) { + this.folderId = folderId; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder parameters(@Nullable List parameters) { + this.parameters = parameters; return this; } @@ -184,11 +191,15 @@ public Builder parameters(SsisParameterResponse... parameters) { } @CustomType.Setter public Builder type(String type) { - this.type = Objects.requireNonNull(type); + if (type == null) { + throw new MissingRequiredPropertyException("SsisProjectResponse", "type"); + } + this.type = type; return this; } @CustomType.Setter public Builder version(@Nullable Double version) { + this.version = version; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisVariableResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisVariableResponse.java index 27e6f2cb5b3..386e87ad260 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisVariableResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/SsisVariableResponse.java @@ -130,36 +130,43 @@ public Builder(SsisVariableResponse defaults) { @CustomType.Setter public Builder dataType(@Nullable String dataType) { + this.dataType = dataType; return this; } @CustomType.Setter public Builder description(@Nullable String description) { + this.description = description; return this; } @CustomType.Setter public Builder id(@Nullable Double id) { + this.id = id; return this; } @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } @CustomType.Setter public Builder sensitive(@Nullable Boolean sensitive) { + this.sensitive = sensitive; return this; } @CustomType.Setter public Builder sensitiveValue(@Nullable String sensitiveValue) { + this.sensitiveValue = sensitiveValue; return this; } @CustomType.Setter public Builder value(@Nullable String value) { + this.value = value; return this; } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java index c2db69c7310..00e49d04bb9 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java +++ b/pkg/codegen/testing/test/testdata/output-funcs/java/src/main/java/com/pulumi/mypkg/outputs/StorageAccountKeyResponse.java @@ -4,6 +4,7 @@ package com.pulumi.mypkg.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; @@ -84,22 +85,34 @@ public Builder(StorageAccountKeyResponse defaults) { @CustomType.Setter public Builder creationTime(String creationTime) { - this.creationTime = Objects.requireNonNull(creationTime); + if (creationTime == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "creationTime"); + } + this.creationTime = creationTime; return this; } @CustomType.Setter public Builder keyName(String keyName) { - this.keyName = Objects.requireNonNull(keyName); + if (keyName == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "keyName"); + } + this.keyName = keyName; return this; } @CustomType.Setter public Builder permissions(String permissions) { - this.permissions = Objects.requireNonNull(permissions); + if (permissions == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "permissions"); + } + this.permissions = permissions; return this; } @CustomType.Setter public Builder value(String value) { - this.value = Objects.requireNonNull(value); + if (value == null) { + throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "value"); + } + this.value = value; return this; } public StorageAccountKeyResponse build() { diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/java/src/main/java/com/pulumi/foobar/ModuleResourceArgs.java b/pkg/codegen/testing/test/testdata/plain-and-default/java/src/main/java/com/pulumi/foobar/ModuleResourceArgs.java index e7978cdd3a6..6f3bd7385b1 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/java/src/main/java/com/pulumi/foobar/ModuleResourceArgs.java +++ b/pkg/codegen/testing/test/testdata/plain-and-default/java/src/main/java/com/pulumi/foobar/ModuleResourceArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.foobar.enums.EnumThing; import java.lang.Boolean; import java.lang.Double; diff --git a/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x/outputs/GetPolicyDocumentStatement.java b/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x/outputs/GetPolicyDocumentStatement.java index a52f215ca88..e68d4cd2288 100644 --- a/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x/outputs/GetPolicyDocumentStatement.java +++ b/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x/outputs/GetPolicyDocumentStatement.java @@ -36,6 +36,7 @@ public Builder(GetPolicyDocumentStatement defaults) { @CustomType.Setter public Builder actions(@Nullable List actions) { + this.actions = actions; return this; } diff --git a/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x_iam/outputs/GetPolicyDocumentResult.java b/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x_iam/outputs/GetPolicyDocumentResult.java index 19daaa28de1..bb6a8dcd4e8 100644 --- a/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x_iam/outputs/GetPolicyDocumentResult.java +++ b/pkg/codegen/testing/test/testdata/regress-py-tfbridge-611/java/src/main/java/com/pulumi/aws/x_iam/outputs/GetPolicyDocumentResult.java @@ -5,6 +5,7 @@ import com.pulumi.aws.x.outputs.GetPolicyDocumentStatement; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; import java.util.Objects; @@ -49,16 +50,23 @@ public Builder(GetPolicyDocumentResult defaults) { @CustomType.Setter public Builder id(String id) { - this.id = Objects.requireNonNull(id); + if (id == null) { + throw new MissingRequiredPropertyException("GetPolicyDocumentResult", "id"); + } + this.id = id; return this; } @CustomType.Setter public Builder json(String json) { - this.json = Objects.requireNonNull(json); + if (json == null) { + throw new MissingRequiredPropertyException("GetPolicyDocumentResult", "json"); + } + this.json = json; return this; } @CustomType.Setter public Builder statements(@Nullable List statements) { + this.statements = statements; return this; } diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Chew.java b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Chew.java index 4b99bbfd056..685f6961d70 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Chew.java +++ b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Chew.java @@ -36,6 +36,7 @@ public Builder(Chew defaults) { @CustomType.Setter public Builder owner(@Nullable Dog owner) { + this.owner = owner; return this; } diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Laser.java b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Laser.java index 5204ab996a4..6f6cc9ae2c7 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Laser.java +++ b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Laser.java @@ -50,16 +50,19 @@ public Builder(Laser defaults) { @CustomType.Setter public Builder animal(@Nullable Cat animal) { + this.animal = animal; return this; } @CustomType.Setter public Builder batteries(@Nullable Boolean batteries) { + this.batteries = batteries; return this; } @CustomType.Setter public Builder light(@Nullable Double light) { + this.light = light; return this; } diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Rec.java b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Rec.java index 759f9e4f411..5e56dfd2af4 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Rec.java +++ b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Rec.java @@ -35,6 +35,7 @@ public Builder(Rec defaults) { @CustomType.Setter public Builder rec1(@Nullable Rec rec1) { + this.rec1 = rec1; return this; } diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Toy.java b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Toy.java index 066731d6172..b3e49e31c14 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Toy.java +++ b/pkg/codegen/testing/test/testdata/replace-on-change/java/src/main/java/com/pulumi/example/outputs/Toy.java @@ -49,16 +49,19 @@ public Builder(Toy defaults) { @CustomType.Setter public Builder associated(@Nullable Toy associated) { + this.associated = associated; return this; } @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder wear(@Nullable Double wear) { + this.wear = wear; return this; } diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/java/src/main/java/com/pulumi/example/outputs/Pet.java b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/java/src/main/java/com/pulumi/example/outputs/Pet.java index 2b92122539e..2c7249f56b0 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/java/src/main/java/com/pulumi/example/outputs/Pet.java +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/java/src/main/java/com/pulumi/example/outputs/Pet.java @@ -36,6 +36,7 @@ public Builder(Pet defaults) { @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/java/src/main/java/com/pulumi/example/outputs/Pet.java b/pkg/codegen/testing/test/testdata/resource-args-python/java/src/main/java/com/pulumi/example/outputs/Pet.java index 2b92122539e..2c7249f56b0 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/java/src/main/java/com/pulumi/example/outputs/Pet.java +++ b/pkg/codegen/testing/test/testdata/resource-args-python/java/src/main/java/com/pulumi/example/outputs/Pet.java @@ -36,6 +36,7 @@ public Builder(Pet defaults) { @CustomType.Setter public Builder name(@Nullable String name) { + this.name = name; return this; } diff --git a/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/ResourceArgs.java b/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/ResourceArgs.java index 9014bf1f077..ef107f91dcb 100644 --- a/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/ResourceArgs.java +++ b/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/ResourceArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mypkg.inputs.ConfigArgs; import java.lang.String; import java.util.List; @@ -150,12 +151,24 @@ public Builder fooMap(Map fooMap) { } public ResourceArgs build() { - $.config = Objects.requireNonNull($.config, "expected parameter 'config' to be non-null"); - $.configArray = Objects.requireNonNull($.configArray, "expected parameter 'configArray' to be non-null"); - $.configMap = Objects.requireNonNull($.configMap, "expected parameter 'configMap' to be non-null"); - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); - $.fooArray = Objects.requireNonNull($.fooArray, "expected parameter 'fooArray' to be non-null"); - $.fooMap = Objects.requireNonNull($.fooMap, "expected parameter 'fooMap' to be non-null"); + if ($.config == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "config"); + } + if ($.configArray == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "configArray"); + } + if ($.configMap == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "configMap"); + } + if ($.foo == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "foo"); + } + if ($.fooArray == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "fooArray"); + } + if ($.fooMap == null) { + throw new MissingRequiredPropertyException("ResourceArgs", "fooMap"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/outputs/Config.java b/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/outputs/Config.java index 46676029594..572ad9c7cec 100644 --- a/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/outputs/Config.java +++ b/pkg/codegen/testing/test/testdata/secrets/java/src/main/java/com/pulumi/mypkg/outputs/Config.java @@ -36,6 +36,7 @@ public Builder(Config defaults) { @CustomType.Setter public Builder foo(@Nullable String foo) { + this.foo = foo; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java index cdf5b3e75f0..7654bd52c7c 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/inputs/ContainerArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.enums.ContainerBrightness; import com.pulumi.plant.enums.ContainerColor; import com.pulumi.plant.enums.ContainerSize; @@ -121,7 +122,9 @@ public Builder size(ContainerSize size) { public ContainerArgs build() { $.brightness = Codegen.objectProp("brightness", ContainerBrightness.class).output().arg($.brightness).def(ContainerBrightness.One).getNullable(); - $.size = Objects.requireNonNull($.size, "expected parameter 'size' to be non-null"); + if ($.size == null) { + throw new MissingRequiredPropertyException("ContainerArgs", "size"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java index ec7acf352b4..97a7500b1fd 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/outputs/Container.java @@ -4,6 +4,7 @@ package com.pulumi.plant.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.enums.ContainerBrightness; import com.pulumi.plant.enums.ContainerSize; import java.lang.String; @@ -56,22 +57,28 @@ public Builder(Container defaults) { @CustomType.Setter public Builder brightness(@Nullable ContainerBrightness brightness) { + this.brightness = brightness; return this; } @CustomType.Setter public Builder color(@Nullable String color) { + this.color = color; return this; } @CustomType.Setter public Builder material(@Nullable String material) { + this.material = material; return this; } @CustomType.Setter public Builder size(ContainerSize size) { - this.size = Objects.requireNonNull(size); + if (size == null) { + throw new MissingRequiredPropertyException("Container", "size"); + } + this.size = size; return this; } public Container build() { diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java index 884c98ac146..cb0eeb7f166 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/NurseryArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.tree_v1.enums.RubberTreeVariety; import com.pulumi.plant.tree_v1.enums.TreeSize; import java.lang.String; @@ -127,7 +128,9 @@ public Builder varieties(RubberTreeVariety... varieties) { } public NurseryArgs build() { - $.varieties = Objects.requireNonNull($.varieties, "expected parameter 'varieties' to be non-null"); + if ($.varieties == null) { + throw new MissingRequiredPropertyException("NurseryArgs", "varieties"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java index 474c5f8e68a..bf830d4f02b 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/java/src/main/java/com/pulumi/plant/tree_v1/RubberTreeArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.core.internal.Codegen; +import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.plant.inputs.ContainerArgs; import com.pulumi.plant.tree_v1.enums.Diameter; import com.pulumi.plant.tree_v1.enums.Farm; diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/ComponentArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/ComponentArgs.java index 3f080f87232..cf7eb2c863e 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/ComponentArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/ComponentArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.example.inputs.FooArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -168,9 +169,15 @@ public Builder foo(FooArgs foo) { } public ComponentArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); - $.c = Objects.requireNonNull($.c, "expected parameter 'c' to be non-null"); - $.e = Objects.requireNonNull($.e, "expected parameter 'e' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "a"); + } + if ($.c == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "c"); + } + if ($.e == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "e"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/inputs/FooArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/inputs/FooArgs.java index a90427a0e41..84ea484dbb3 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/inputs/FooArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/inputs/FooArgs.java @@ -4,6 +4,7 @@ package com.pulumi.example.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -118,9 +119,15 @@ public Builder f(@Nullable String f) { } public FooArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); - $.c = Objects.requireNonNull($.c, "expected parameter 'c' to be non-null"); - $.e = Objects.requireNonNull($.e, "expected parameter 'e' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("FooArgs", "a"); + } + if ($.c == null) { + throw new MissingRequiredPropertyException("FooArgs", "c"); + } + if ($.e == null) { + throw new MissingRequiredPropertyException("FooArgs", "e"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/outputs/Foo.java b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/outputs/Foo.java index a056d55d1d6..7c76df01b94 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/outputs/Foo.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/java/src/main/java/com/pulumi/example/outputs/Foo.java @@ -4,6 +4,7 @@ package com.pulumi.example.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -68,31 +69,43 @@ public Builder(Foo defaults) { @CustomType.Setter public Builder a(Boolean a) { - this.a = Objects.requireNonNull(a); + if (a == null) { + throw new MissingRequiredPropertyException("Foo", "a"); + } + this.a = a; return this; } @CustomType.Setter public Builder b(@Nullable Boolean b) { + this.b = b; return this; } @CustomType.Setter public Builder c(Integer c) { - this.c = Objects.requireNonNull(c); + if (c == null) { + throw new MissingRequiredPropertyException("Foo", "c"); + } + this.c = c; return this; } @CustomType.Setter public Builder d(@Nullable Integer d) { + this.d = d; return this; } @CustomType.Setter public Builder e(String e) { - this.e = Objects.requireNonNull(e); + if (e == null) { + throw new MissingRequiredPropertyException("Foo", "e"); + } + this.e = e; return this; } @CustomType.Setter public Builder f(@Nullable String f) { + this.f = f; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/ComponentArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/ComponentArgs.java index 33d8e2ed061..7ab9b327c87 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/ComponentArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/ComponentArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.example.inputs.FooArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -182,9 +183,15 @@ public Builder foo(FooArgs foo) { } public ComponentArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); - $.c = Objects.requireNonNull($.c, "expected parameter 'c' to be non-null"); - $.e = Objects.requireNonNull($.e, "expected parameter 'e' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "a"); + } + if ($.c == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "c"); + } + if ($.e == null) { + throw new MissingRequiredPropertyException("ComponentArgs", "e"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooArgs.java index 82cba2362c7..b7584d707ff 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.example.inputs.FooArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -54,7 +55,9 @@ public Builder foo(FooArgs foo) { } public DoFooArgs build() { - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); + if ($.foo == null) { + throw new MissingRequiredPropertyException("DoFooArgs", "foo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooPlainArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooPlainArgs.java index 1a26e594560..31e9b546b02 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooPlainArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/DoFooPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.example.inputs.Foo; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.Objects; @@ -49,7 +50,9 @@ public Builder foo(Foo foo) { } public DoFooPlainArgs build() { - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); + if ($.foo == null) { + throw new MissingRequiredPropertyException("DoFooPlainArgs", "foo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/Foo.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/Foo.java index 7423c718427..e6458aff2f3 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/Foo.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/Foo.java @@ -4,6 +4,7 @@ package com.pulumi.example.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -118,9 +119,15 @@ public Builder f(@Nullable String f) { } public Foo build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); - $.c = Objects.requireNonNull($.c, "expected parameter 'c' to be non-null"); - $.e = Objects.requireNonNull($.e, "expected parameter 'e' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("Foo", "a"); + } + if ($.c == null) { + throw new MissingRequiredPropertyException("Foo", "c"); + } + if ($.e == null) { + throw new MissingRequiredPropertyException("Foo", "e"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/FooArgs.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/FooArgs.java index a90427a0e41..84ea484dbb3 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/FooArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/inputs/FooArgs.java @@ -4,6 +4,7 @@ package com.pulumi.example.inputs; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -118,9 +119,15 @@ public Builder f(@Nullable String f) { } public FooArgs build() { - $.a = Objects.requireNonNull($.a, "expected parameter 'a' to be non-null"); - $.c = Objects.requireNonNull($.c, "expected parameter 'c' to be non-null"); - $.e = Objects.requireNonNull($.e, "expected parameter 'e' to be non-null"); + if ($.a == null) { + throw new MissingRequiredPropertyException("FooArgs", "a"); + } + if ($.c == null) { + throw new MissingRequiredPropertyException("FooArgs", "c"); + } + if ($.e == null) { + throw new MissingRequiredPropertyException("FooArgs", "e"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/outputs/Foo.java b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/outputs/Foo.java index a056d55d1d6..7c76df01b94 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/outputs/Foo.java +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/java/src/main/java/com/pulumi/example/outputs/Foo.java @@ -4,6 +4,7 @@ package com.pulumi.example.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; @@ -68,31 +69,43 @@ public Builder(Foo defaults) { @CustomType.Setter public Builder a(Boolean a) { - this.a = Objects.requireNonNull(a); + if (a == null) { + throw new MissingRequiredPropertyException("Foo", "a"); + } + this.a = a; return this; } @CustomType.Setter public Builder b(@Nullable Boolean b) { + this.b = b; return this; } @CustomType.Setter public Builder c(Integer c) { - this.c = Objects.requireNonNull(c); + if (c == null) { + throw new MissingRequiredPropertyException("Foo", "c"); + } + this.c = c; return this; } @CustomType.Setter public Builder d(@Nullable Integer d) { + this.d = d; return this; } @CustomType.Setter public Builder e(String e) { - this.e = Objects.requireNonNull(e); + if (e == null) { + throw new MissingRequiredPropertyException("Foo", "e"); + } + this.e = e; return this; } @CustomType.Setter public Builder f(@Nullable String f) { + this.f = f; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java index ecdc93343ee..2dbc4e334d2 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java @@ -36,6 +36,7 @@ public Builder(ArgFunctionResult defaults) { @CustomType.Setter public Builder result(@Nullable Resource result) { + this.result = result; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java index 48f0bd1f4d3..b223d12118d 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder foo(String foo) { } public ObjectWithNodeOptionalInputsArgs build() { - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); + if ($.foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputsArgs", "foo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java index ecdc93343ee..2dbc4e334d2 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java @@ -36,6 +36,7 @@ public Builder(ArgFunctionResult defaults) { @CustomType.Setter public Builder result(@Nullable Resource result) { + this.result = result; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java index ea6d6895576..479f9aa0765 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java @@ -36,6 +36,7 @@ public Builder(ConfigMap defaults) { @CustomType.Setter public Builder config(@Nullable String config) { + this.config = config; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/Object.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/Object.java index 100e2bc2196..81b91e864fa 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/Object.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/Object.java @@ -81,11 +81,13 @@ public Builder(Object defaults) { @CustomType.Setter public Builder bar(@Nullable String bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder configs(@Nullable List configs) { + this.configs = configs; return this; } @@ -94,16 +96,19 @@ public Builder configs(ConfigMap... configs) { } @CustomType.Setter public Builder foo(@Nullable Resource foo) { + this.foo = foo; return this; } @CustomType.Setter public Builder others(@Nullable List> others) { + this.others = others; return this; } @CustomType.Setter public Builder stillOthers(@Nullable Map> stillOthers) { + this.stillOthers = stillOthers; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java index 5da606a2cda..b609dc79fc3 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java @@ -4,6 +4,7 @@ package com.pulumi.example.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,12 +44,16 @@ public Builder(ObjectWithNodeOptionalInputs defaults) { @CustomType.Setter public Builder bar(@Nullable Integer bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder foo(String foo) { - this.foo = Objects.requireNonNull(foo); + if (foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputs", "foo"); + } + this.foo = foo; return this; } public ObjectWithNodeOptionalInputs build() { diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java index 4b9bc77141e..c11a114fc7d 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java @@ -36,6 +36,7 @@ public Builder(SomeOtherObject defaults) { @CustomType.Setter public Builder baz(@Nullable String baz) { + this.baz = baz; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java index 48f0bd1f4d3..b223d12118d 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/inputs/ObjectWithNodeOptionalInputsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -74,7 +75,9 @@ public Builder foo(String foo) { } public ObjectWithNodeOptionalInputsArgs build() { - $.foo = Objects.requireNonNull($.foo, "expected parameter 'foo' to be non-null"); + if ($.foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputsArgs", "foo"); + } return $; } } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java index ecdc93343ee..2dbc4e334d2 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ArgFunctionResult.java @@ -36,6 +36,7 @@ public Builder(ArgFunctionResult defaults) { @CustomType.Setter public Builder result(@Nullable Resource result) { + this.result = result; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java index ea6d6895576..479f9aa0765 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ConfigMap.java @@ -36,6 +36,7 @@ public Builder(ConfigMap defaults) { @CustomType.Setter public Builder config(@Nullable String config) { + this.config = config; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/Object.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/Object.java index 100e2bc2196..81b91e864fa 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/Object.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/Object.java @@ -81,11 +81,13 @@ public Builder(Object defaults) { @CustomType.Setter public Builder bar(@Nullable String bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder configs(@Nullable List configs) { + this.configs = configs; return this; } @@ -94,16 +96,19 @@ public Builder configs(ConfigMap... configs) { } @CustomType.Setter public Builder foo(@Nullable Resource foo) { + this.foo = foo; return this; } @CustomType.Setter public Builder others(@Nullable List> others) { + this.others = others; return this; } @CustomType.Setter public Builder stillOthers(@Nullable Map> stillOthers) { + this.stillOthers = stillOthers; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java index 5da606a2cda..b609dc79fc3 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/ObjectWithNodeOptionalInputs.java @@ -4,6 +4,7 @@ package com.pulumi.example.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -43,12 +44,16 @@ public Builder(ObjectWithNodeOptionalInputs defaults) { @CustomType.Setter public Builder bar(@Nullable Integer bar) { + this.bar = bar; return this; } @CustomType.Setter public Builder foo(String foo) { - this.foo = Objects.requireNonNull(foo); + if (foo == null) { + throw new MissingRequiredPropertyException("ObjectWithNodeOptionalInputs", "foo"); + } + this.foo = foo; return this; } public ObjectWithNodeOptionalInputs build() { diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/OutputOnlyObjectType.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/OutputOnlyObjectType.java index f45c6f69fd4..6804098fac4 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/OutputOnlyObjectType.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/OutputOnlyObjectType.java @@ -36,6 +36,7 @@ public Builder(OutputOnlyObjectType defaults) { @CustomType.Setter public Builder foo(@Nullable String foo) { + this.foo = foo; return this; } diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java index 4b9bc77141e..c11a114fc7d 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/java/src/main/java/com/pulumi/example/outputs/SomeOtherObject.java @@ -36,6 +36,7 @@ public Builder(SomeOtherObject defaults) { @CustomType.Setter public Builder baz(@Nullable String baz) { + this.baz = baz; return this; } diff --git a/sdk/java/pulumi/src/main/java/com/pulumi/exceptions/MissingRequiredPropertyException.java b/sdk/java/pulumi/src/main/java/com/pulumi/exceptions/MissingRequiredPropertyException.java index b23f315b111..dbaf97a474d 100644 --- a/sdk/java/pulumi/src/main/java/com/pulumi/exceptions/MissingRequiredPropertyException.java +++ b/sdk/java/pulumi/src/main/java/com/pulumi/exceptions/MissingRequiredPropertyException.java @@ -7,4 +7,4 @@ public class MissingRequiredPropertyException extends RuntimeException { public MissingRequiredPropertyException(String builderName, String propertyName) { super("Missing required property '" + propertyName + " when constructing '" + builderName + "'"); } -} \ No newline at end of file +}