Package com.pulumi.aws.redshift
Class ResourcePolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.ResourcePolicyArgs.Builder
-
- Enclosing class:
- ResourcePolicyArgs
public static final class ResourcePolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ResourcePolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcePolicyArgs
build()
ResourcePolicyArgs.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
ResourcePolicyArgs.Builder
policy(java.lang.String policy)
ResourcePolicyArgs.Builder
resourceArn(com.pulumi.core.Output<java.lang.String> resourceArn)
ResourcePolicyArgs.Builder
resourceArn(java.lang.String resourceArn)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResourcePolicyArgs defaults)
-
-
Method Detail
-
policy
public ResourcePolicyArgs.Builder policy(com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy
- The content of the resource policy being updated.- Returns:
- builder
-
policy
public ResourcePolicyArgs.Builder policy(java.lang.String policy)
- Parameters:
policy
- The content of the resource policy being updated.- Returns:
- builder
-
resourceArn
public ResourcePolicyArgs.Builder resourceArn(com.pulumi.core.Output<java.lang.String> resourceArn)
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the account to create or update a resource policy for.- Returns:
- builder
-
resourceArn
public ResourcePolicyArgs.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the account to create or update a resource policy for.- Returns:
- builder
-
build
public ResourcePolicyArgs build()
-
-