Class ResourceState.Builder
- java.lang.Object
-
- com.pulumi.aws.resourcegroups.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
groupArn(com.pulumi.core.Output<java.lang.String> groupArn)
ResourceState.Builder
groupArn(java.lang.String groupArn)
ResourceState.Builder
resourceArn(com.pulumi.core.Output<java.lang.String> resourceArn)
ResourceState.Builder
resourceArn(java.lang.String resourceArn)
ResourceState.Builder
resourceType(com.pulumi.core.Output<java.lang.String> resourceType)
ResourceState.Builder
resourceType(java.lang.String resourceType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResourceState defaults)
-
-
Method Detail
-
groupArn
public ResourceState.Builder groupArn(@Nullable com.pulumi.core.Output<java.lang.String> groupArn)
- Parameters:
groupArn
- The name or the ARN of the resource group to add resources to. The following arguments are optional:- Returns:
- builder
-
groupArn
public ResourceState.Builder groupArn(java.lang.String groupArn)
- Parameters:
groupArn
- The name or the ARN of the resource group to add resources to. The following arguments are optional:- Returns:
- builder
-
resourceArn
public ResourceState.Builder resourceArn(@Nullable com.pulumi.core.Output<java.lang.String> resourceArn)
- Parameters:
resourceArn
- The ARN of the resource to be added to the group.- Returns:
- builder
-
resourceArn
public ResourceState.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn
- The ARN of the resource to be added to the group.- Returns:
- builder
-
resourceType
public ResourceState.Builder resourceType(@Nullable com.pulumi.core.Output<java.lang.String> resourceType)
- Parameters:
resourceType
- The resource type of a resource, such as `AWS::EC2::Instance`.- Returns:
- builder
-
resourceType
public ResourceState.Builder resourceType(java.lang.String resourceType)
- Parameters:
resourceType
- The resource type of a resource, such as `AWS::EC2::Instance`.- Returns:
- builder
-
build
public ResourceState build()
-
-