Package com.pulumi.aws.sqs.inputs
Class QueuePolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.sqs.inputs.QueuePolicyState.Builder
-
- Enclosing class:
- QueuePolicyState
public static final class QueuePolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(QueuePolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueuePolicyStatebuild()QueuePolicyState.Builderpolicy(PolicyDocumentArgs policy)QueuePolicyState.Builderpolicy(com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs> policy)QueuePolicyState.Builderpolicy(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs>> policy)QueuePolicyState.Builderpolicy(java.lang.String policy)QueuePolicyState.BuilderqueueUrl(com.pulumi.core.Output<java.lang.String> queueUrl)QueuePolicyState.BuilderqueueUrl(java.lang.String queueUrl)QueuePolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)QueuePolicyState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueuePolicyState defaults)
-
-
Method Detail
-
policy
public QueuePolicyState.Builder policy(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs>> policy)
- Parameters:
policy- JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. Ensure that `Version = "2012-10-17"` is set in the policy or AWS may hang in creating the queue.- Returns:
- builder
-
policy
public QueuePolicyState.Builder policy(com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs> policy)
- Parameters:
policy- JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. Ensure that `Version = "2012-10-17"` is set in the policy or AWS may hang in creating the queue.- Returns:
- builder
-
policy
public QueuePolicyState.Builder policy(java.lang.String policy)
- Parameters:
policy- JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. Ensure that `Version = "2012-10-17"` is set in the policy or AWS may hang in creating the queue.- Returns:
- builder
-
policy
public QueuePolicyState.Builder policy(PolicyDocumentArgs policy)
- Parameters:
policy- JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. Ensure that `Version = "2012-10-17"` is set in the policy or AWS may hang in creating the queue.- Returns:
- builder
-
queueUrl
public QueuePolicyState.Builder queueUrl(@Nullable com.pulumi.core.Output<java.lang.String> queueUrl)
- Parameters:
queueUrl- URL of the SQS Queue to which to attach the policy.- Returns:
- builder
-
queueUrl
public QueuePolicyState.Builder queueUrl(java.lang.String queueUrl)
- Parameters:
queueUrl- URL of the SQS Queue to which to attach the policy.- Returns:
- builder
-
region
public QueuePolicyState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public QueuePolicyState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
build
public QueuePolicyState build()
-
-