Class VpcPeeringConnectionState.Builder

  • Enclosing class:
    VpcPeeringConnectionState

    public static final class VpcPeeringConnectionState.Builder
    extends java.lang.Object
    • Method Detail

      • acceptStatus

        public VpcPeeringConnectionState.Builder acceptStatus​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> acceptStatus)
        Parameters:
        acceptStatus - Status of the VPC Peering Connection request.
        Returns:
        builder
      • acceptStatus

        public VpcPeeringConnectionState.Builder acceptStatus​(java.lang.String acceptStatus)
        Parameters:
        acceptStatus - Status of the VPC Peering Connection request.
        Returns:
        builder
      • accepter

        public VpcPeeringConnectionState.Builder accepter​(@Nullable
                                                          com.pulumi.core.Output<VpcPeeringConnectionAccepterArgs> accepter)
        Parameters:
        accepter - Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that accepts the peering connection (a maximum of one). See `accepter` Block below.
        Returns:
        builder
      • accepter

        public VpcPeeringConnectionState.Builder accepter​(VpcPeeringConnectionAccepterArgs accepter)
        Parameters:
        accepter - Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that accepts the peering connection (a maximum of one). See `accepter` Block below.
        Returns:
        builder
      • autoAccept

        public VpcPeeringConnectionState.Builder autoAccept​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> autoAccept)
        Parameters:
        autoAccept - Whether to accept the peering (both VPCs need to be in the same AWS account and region).
        Returns:
        builder
      • autoAccept

        public VpcPeeringConnectionState.Builder autoAccept​(java.lang.Boolean autoAccept)
        Parameters:
        autoAccept - Whether to accept the peering (both VPCs need to be in the same AWS account and region).
        Returns:
        builder
      • peerOwnerId

        public VpcPeeringConnectionState.Builder peerOwnerId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> peerOwnerId)
        Parameters:
        peerOwnerId - AWS account ID of the target peer VPC. Defaults to the account ID the AWS provider is currently connected to, so must be managed if connecting cross-account.
        Returns:
        builder
      • peerOwnerId

        public VpcPeeringConnectionState.Builder peerOwnerId​(java.lang.String peerOwnerId)
        Parameters:
        peerOwnerId - AWS account ID of the target peer VPC. Defaults to the account ID the AWS provider is currently connected to, so must be managed if connecting cross-account.
        Returns:
        builder
      • peerRegion

        public VpcPeeringConnectionState.Builder peerRegion​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> peerRegion)
        Parameters:
        peerRegion - Region of the accepter VPC of the VPC Peering Connection. `autoAccept` must be `false`, and use the `aws.ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
        Returns:
        builder
      • peerRegion

        public VpcPeeringConnectionState.Builder peerRegion​(java.lang.String peerRegion)
        Parameters:
        peerRegion - Region of the accepter VPC of the VPC Peering Connection. `autoAccept` must be `false`, and use the `aws.ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
        Returns:
        builder
      • peerVpcId

        public VpcPeeringConnectionState.Builder peerVpcId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> peerVpcId)
        Parameters:
        peerVpcId - ID of the target VPC with which you are creating the VPC Peering Connection.
        Returns:
        builder
      • peerVpcId

        public VpcPeeringConnectionState.Builder peerVpcId​(java.lang.String peerVpcId)
        Parameters:
        peerVpcId - ID of the target VPC with which you are creating the VPC Peering Connection.
        Returns:
        builder
      • region

        public VpcPeeringConnectionState.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 VpcPeeringConnectionState.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
      • requester

        public VpcPeeringConnectionState.Builder requester​(@Nullable
                                                           com.pulumi.core.Output<VpcPeeringConnectionRequesterArgs> requester)
        Parameters:
        requester - Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that requests the peering connection (a maximum of one). See `requester` Block below.
        Returns:
        builder
      • requester

        public VpcPeeringConnectionState.Builder requester​(VpcPeeringConnectionRequesterArgs requester)
        Parameters:
        requester - Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that requests the peering connection (a maximum of one). See `requester` Block below.
        Returns:
        builder
      • tags

        public VpcPeeringConnectionState.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VpcPeeringConnectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public VpcPeeringConnectionState.Builder tagsAll​(@Nullable
                                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public VpcPeeringConnectionState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcId

        public VpcPeeringConnectionState.Builder vpcId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - ID of the requester VPC.
        Returns:
        builder