Class WorkloadResourceSettingArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.assuredworkloads.inputs.WorkloadResourceSettingArgs.Builder
-
- Enclosing class:
- WorkloadResourceSettingArgs
public static final class WorkloadResourceSettingArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WorkloadResourceSettingArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadResourceSettingArgs
build()
WorkloadResourceSettingArgs.Builder
resourceId(com.pulumi.core.Output<java.lang.String> resourceId)
WorkloadResourceSettingArgs.Builder
resourceId(java.lang.String resourceId)
WorkloadResourceSettingArgs.Builder
resourceType(com.pulumi.core.Output<java.lang.String> resourceType)
WorkloadResourceSettingArgs.Builder
resourceType(java.lang.String resourceType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkloadResourceSettingArgs defaults)
-
-
Method Detail
-
resourceId
public WorkloadResourceSettingArgs.Builder resourceId(@Nullable com.pulumi.core.Output<java.lang.String> resourceId)
- Parameters:
resourceId
- Resource identifier. For a project this represents project_number. If the project is already taken, the workload creation will fail.- Returns:
- builder
-
resourceId
public WorkloadResourceSettingArgs.Builder resourceId(java.lang.String resourceId)
- Parameters:
resourceId
- Resource identifier. For a project this represents project_number. If the project is already taken, the workload creation will fail.- Returns:
- builder
-
resourceType
public WorkloadResourceSettingArgs.Builder resourceType(@Nullable com.pulumi.core.Output<java.lang.String> resourceType)
- Parameters:
resourceType
- Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED, CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER- Returns:
- builder
-
resourceType
public WorkloadResourceSettingArgs.Builder resourceType(java.lang.String resourceType)
- Parameters:
resourceType
- Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED, CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER- Returns:
- builder
-
build
public WorkloadResourceSettingArgs build()
-
-