Class ResourceState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudcontrol.inputs.ResourceState.Builder
-
- Enclosing class:
- ResourceState
public static final class ResourceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ResourceState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceState
build()
ResourceState.Builder
desiredState(com.pulumi.core.Output<java.lang.String> desiredState)
ResourceState.Builder
desiredState(java.lang.String desiredState)
ResourceState.Builder
properties(com.pulumi.core.Output<java.lang.String> properties)
ResourceState.Builder
properties(java.lang.String properties)
ResourceState.Builder
roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
ResourceState.Builder
roleArn(java.lang.String roleArn)
ResourceState.Builder
schema(com.pulumi.core.Output<java.lang.String> schema)
ResourceState.Builder
schema(java.lang.String schema)
ResourceState.Builder
typeName(com.pulumi.core.Output<java.lang.String> typeName)
ResourceState.Builder
typeName(java.lang.String typeName)
ResourceState.Builder
typeVersionId(com.pulumi.core.Output<java.lang.String> typeVersionId)
ResourceState.Builder
typeVersionId(java.lang.String typeVersionId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResourceState defaults)
-
-
Method Detail
-
desiredState
public ResourceState.Builder desiredState(@Nullable com.pulumi.core.Output<java.lang.String> desiredState)
- Parameters:
desiredState
- JSON string matching the CloudFormation resource type schema with desired configuration.- Returns:
- builder
-
desiredState
public ResourceState.Builder desiredState(java.lang.String desiredState)
- Parameters:
desiredState
- JSON string matching the CloudFormation resource type schema with desired configuration.- Returns:
- builder
-
properties
public ResourceState.Builder properties(@Nullable com.pulumi.core.Output<java.lang.String> properties)
- Parameters:
properties
- JSON string matching the CloudFormation resource type schema with current configuration. Underlying attributes can be referenced via the `jsondecode()` function, for example, `jsondecode(data.aws_cloudcontrolapi_resource.example.properties)["example"]`.- Returns:
- builder
-
properties
public ResourceState.Builder properties(java.lang.String properties)
- Parameters:
properties
- JSON string matching the CloudFormation resource type schema with current configuration. Underlying attributes can be referenced via the `jsondecode()` function, for example, `jsondecode(data.aws_cloudcontrolapi_resource.example.properties)["example"]`.- Returns:
- builder
-
roleArn
public ResourceState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn
- Amazon Resource Name (ARN) of the IAM Role to assume for operations.- Returns:
- builder
-
roleArn
public ResourceState.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn
- Amazon Resource Name (ARN) of the IAM Role to assume for operations.- Returns:
- builder
-
schema
public ResourceState.Builder schema(@Nullable com.pulumi.core.Output<java.lang.String> schema)
- Parameters:
schema
- JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `type_name`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.- Returns:
- builder
-
schema
public ResourceState.Builder schema(java.lang.String schema)
- Parameters:
schema
- JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `type_name`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.- Returns:
- builder
-
typeName
public ResourceState.Builder typeName(@Nullable com.pulumi.core.Output<java.lang.String> typeName)
- Parameters:
typeName
- CloudFormation resource type name. For example, `AWS::EC2::VPC`. The following arguments are optional:- Returns:
- builder
-
typeName
public ResourceState.Builder typeName(java.lang.String typeName)
- Parameters:
typeName
- CloudFormation resource type name. For example, `AWS::EC2::VPC`. The following arguments are optional:- Returns:
- builder
-
typeVersionId
public ResourceState.Builder typeVersionId(@Nullable com.pulumi.core.Output<java.lang.String> typeVersionId)
- Parameters:
typeVersionId
- Identifier of the CloudFormation resource type version.- Returns:
- builder
-
typeVersionId
public ResourceState.Builder typeVersionId(java.lang.String typeVersionId)
- Parameters:
typeVersionId
- Identifier of the CloudFormation resource type version.- Returns:
- builder
-
build
public ResourceState build()
-
-