Package com.pulumi.gcp.osconfig.inputs
Class GuestPoliciesRecipeArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArgs.Builder
-
- Enclosing class:
- GuestPoliciesRecipeArgs
public static final class GuestPoliciesRecipeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GuestPoliciesRecipeArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GuestPoliciesRecipeArgs defaults)
-
-
Method Detail
-
artifacts
public GuestPoliciesRecipeArgs.Builder artifacts(@Nullable com.pulumi.core.Output<java.util.List<GuestPoliciesRecipeArtifactArgs>> artifacts)
- Parameters:
artifacts
- Resources available to be used in the steps in the recipe. Structure is documented below.- Returns:
- builder
-
artifacts
public GuestPoliciesRecipeArgs.Builder artifacts(java.util.List<GuestPoliciesRecipeArtifactArgs> artifacts)
- Parameters:
artifacts
- Resources available to be used in the steps in the recipe. Structure is documented below.- Returns:
- builder
-
artifacts
public GuestPoliciesRecipeArgs.Builder artifacts(GuestPoliciesRecipeArtifactArgs... artifacts)
- Parameters:
artifacts
- Resources available to be used in the steps in the recipe. Structure is documented below.- Returns:
- builder
-
desiredState
public GuestPoliciesRecipeArgs.Builder desiredState(@Nullable com.pulumi.core.Output<java.lang.String> desiredState)
- Parameters:
desiredState
- Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. INSTALLED_KEEP_UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected. Default value is `INSTALLED`. Possible values are: `INSTALLED`, `UPDATED`, `REMOVED`.- Returns:
- builder
-
desiredState
public GuestPoliciesRecipeArgs.Builder desiredState(java.lang.String desiredState)
- Parameters:
desiredState
- Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. INSTALLED_KEEP_UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected. Default value is `INSTALLED`. Possible values are: `INSTALLED`, `UPDATED`, `REMOVED`.- Returns:
- builder
-
installSteps
public GuestPoliciesRecipeArgs.Builder installSteps(@Nullable com.pulumi.core.Output<java.util.List<GuestPoliciesRecipeInstallStepArgs>> installSteps)
- Parameters:
installSteps
- Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
installSteps
public GuestPoliciesRecipeArgs.Builder installSteps(java.util.List<GuestPoliciesRecipeInstallStepArgs> installSteps)
- Parameters:
installSteps
- Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
installSteps
public GuestPoliciesRecipeArgs.Builder installSteps(GuestPoliciesRecipeInstallStepArgs... installSteps)
- Parameters:
installSteps
- Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
name
public GuestPoliciesRecipeArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.- Returns:
- builder
-
name
public GuestPoliciesRecipeArgs.Builder name(java.lang.String name)
- Parameters:
name
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.- Returns:
- builder
-
updateSteps
public GuestPoliciesRecipeArgs.Builder updateSteps(@Nullable com.pulumi.core.Output<java.util.List<GuestPoliciesRecipeUpdateStepArgs>> updateSteps)
- Parameters:
updateSteps
- Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
updateSteps
public GuestPoliciesRecipeArgs.Builder updateSteps(java.util.List<GuestPoliciesRecipeUpdateStepArgs> updateSteps)
- Parameters:
updateSteps
- Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
updateSteps
public GuestPoliciesRecipeArgs.Builder updateSteps(GuestPoliciesRecipeUpdateStepArgs... updateSteps)
- Parameters:
updateSteps
- Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.- Returns:
- builder
-
version
public GuestPoliciesRecipeArgs.Builder version(@Nullable com.pulumi.core.Output<java.lang.String> version)
- Parameters:
version
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).- Returns:
- builder
-
version
public GuestPoliciesRecipeArgs.Builder version(java.lang.String version)
- Parameters:
version
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).- Returns:
- builder
-
build
public GuestPoliciesRecipeArgs build()
-
-