Package com.pulumi.aws.sns.inputs
Class DataProtectionPolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.sns.inputs.DataProtectionPolicyState.Builder
-
- Enclosing class:
- DataProtectionPolicyState
public static final class DataProtectionPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DataProtectionPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataProtectionPolicyState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
DataProtectionPolicyState.Builder
arn(java.lang.String arn)
DataProtectionPolicyState
build()
DataProtectionPolicyState.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
DataProtectionPolicyState.Builder
policy(java.lang.String policy)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DataProtectionPolicyState defaults)
-
-
Method Detail
-
arn
public DataProtectionPolicyState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The ARN of the SNS topic- Returns:
- builder
-
arn
public DataProtectionPolicyState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The ARN of the SNS topic- Returns:
- builder
-
policy
public DataProtectionPolicyState.Builder policy(@Nullable com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy
- The fully-formed AWS policy as JSON. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.- Returns:
- builder
-
policy
public DataProtectionPolicyState.Builder policy(java.lang.String policy)
- Parameters:
policy
- The fully-formed AWS policy as JSON. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.- Returns:
- builder
-
build
public DataProtectionPolicyState build()
-
-