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 - The status of the VPC Peering Connection request.
        Returns:
        builder
      • acceptStatus

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

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

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

        public VpcPeeringConnectionState.Builder autoAccept​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> autoAccept)
        Parameters:
        autoAccept - 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 - 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 - The AWS account ID of the target peer VPC. Defaults to the account ID the [AWS provider][1] 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 - The AWS account ID of the target peer VPC. Defaults to the account ID the [AWS provider][1] 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 - The region of the accepter VPC of the VPC Peering Connection. `auto_accept` 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 - The region of the accepter VPC of the VPC Peering Connection. `auto_accept` 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 - The 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 - The ID of the target VPC with which you are creating the VPC Peering Connection.
        Returns:
        builder
      • requester

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

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

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

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

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

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