Package com.pulumi.gcp.osconfig.inputs
Class GuestPoliciesPackageArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageArgs.Builder
-
- Enclosing class:
- GuestPoliciesPackageArgs
public static final class GuestPoliciesPackageArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GuestPoliciesPackageArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestPoliciesPackageArgs
build()
GuestPoliciesPackageArgs.Builder
desiredState(com.pulumi.core.Output<java.lang.String> desiredState)
GuestPoliciesPackageArgs.Builder
desiredState(java.lang.String desiredState)
GuestPoliciesPackageArgs.Builder
manager(com.pulumi.core.Output<java.lang.String> manager)
GuestPoliciesPackageArgs.Builder
manager(java.lang.String manager)
GuestPoliciesPackageArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
GuestPoliciesPackageArgs.Builder
name(java.lang.String name)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GuestPoliciesPackageArgs defaults)
-
-
Method Detail
-
desiredState
public GuestPoliciesPackageArgs.Builder desiredState(@Nullable com.pulumi.core.Output<java.lang.String> desiredState)
- Parameters:
desiredState
- The desiredState the agent should maintain for this package. The default is to ensure the package is installed. Possible values are: `INSTALLED`, `UPDATED`, `REMOVED`.- Returns:
- builder
-
desiredState
public GuestPoliciesPackageArgs.Builder desiredState(java.lang.String desiredState)
- Parameters:
desiredState
- The desiredState the agent should maintain for this package. The default is to ensure the package is installed. Possible values are: `INSTALLED`, `UPDATED`, `REMOVED`.- Returns:
- builder
-
manager
public GuestPoliciesPackageArgs.Builder manager(@Nullable com.pulumi.core.Output<java.lang.String> manager)
- Parameters:
manager
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify ANY, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. Default value is `ANY`. Possible values are: `ANY`, `APT`, `YUM`, `ZYPPER`, `GOO`.- Returns:
- builder
-
manager
public GuestPoliciesPackageArgs.Builder manager(java.lang.String manager)
- Parameters:
manager
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify ANY, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. Default value is `ANY`. Possible values are: `ANY`, `APT`, `YUM`, `ZYPPER`, `GOO`.- Returns:
- builder
-
name
public GuestPoliciesPackageArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.- Returns:
- builder
-
name
public GuestPoliciesPackageArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.- Returns:
- builder
-
build
public GuestPoliciesPackageArgs build()
-
-