Class GatewayAssociationState.Builder
- java.lang.Object
-
- com.pulumi.aws.directconnect.inputs.GatewayAssociationState.Builder
-
- Enclosing class:
- GatewayAssociationState
public static final class GatewayAssociationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GatewayAssociationState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayAssociationState.BuilderallowedPrefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)GatewayAssociationState.BuilderallowedPrefixes(java.lang.String... allowedPrefixes)GatewayAssociationState.BuilderallowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)GatewayAssociationState.BuilderassociatedGatewayId(com.pulumi.core.Output<java.lang.String> associatedGatewayId)GatewayAssociationState.BuilderassociatedGatewayId(java.lang.String associatedGatewayId)GatewayAssociationState.BuilderassociatedGatewayOwnerAccountId(com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)GatewayAssociationState.BuilderassociatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)GatewayAssociationState.BuilderassociatedGatewayType(com.pulumi.core.Output<java.lang.String> associatedGatewayType)GatewayAssociationState.BuilderassociatedGatewayType(java.lang.String associatedGatewayType)GatewayAssociationStatebuild()GatewayAssociationState.BuilderdxGatewayAssociationId(com.pulumi.core.Output<java.lang.String> dxGatewayAssociationId)GatewayAssociationState.BuilderdxGatewayAssociationId(java.lang.String dxGatewayAssociationId)GatewayAssociationState.BuilderdxGatewayId(com.pulumi.core.Output<java.lang.String> dxGatewayId)GatewayAssociationState.BuilderdxGatewayId(java.lang.String dxGatewayId)GatewayAssociationState.BuilderdxGatewayOwnerAccountId(com.pulumi.core.Output<java.lang.String> dxGatewayOwnerAccountId)GatewayAssociationState.BuilderdxGatewayOwnerAccountId(java.lang.String dxGatewayOwnerAccountId)GatewayAssociationState.BuilderproposalId(com.pulumi.core.Output<java.lang.String> proposalId)GatewayAssociationState.BuilderproposalId(java.lang.String proposalId)GatewayAssociationState.Builderregion(com.pulumi.core.Output<java.lang.String> region)GatewayAssociationState.Builderregion(java.lang.String region)GatewayAssociationState.BuildertransitGatewayAttachmentId(com.pulumi.core.Output<java.lang.String> transitGatewayAttachmentId)GatewayAssociationState.BuildertransitGatewayAttachmentId(java.lang.String transitGatewayAttachmentId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GatewayAssociationState defaults)
-
-
Method Detail
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(java.lang.String... allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationState.Builder associatedGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayId)
- Parameters:
associatedGatewayId- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationState.Builder associatedGatewayId(java.lang.String associatedGatewayId)
- Parameters:
associatedGatewayId- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationState.Builder associatedGatewayOwnerAccountId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationState.Builder associatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayType
public GatewayAssociationState.Builder associatedGatewayType(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayType)
- Parameters:
associatedGatewayType- The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.- Returns:
- builder
-
associatedGatewayType
public GatewayAssociationState.Builder associatedGatewayType(java.lang.String associatedGatewayType)
- Parameters:
associatedGatewayType- The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.- Returns:
- builder
-
dxGatewayAssociationId
public GatewayAssociationState.Builder dxGatewayAssociationId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayAssociationId)
- Parameters:
dxGatewayAssociationId- The ID of the Direct Connect gateway association.- Returns:
- builder
-
dxGatewayAssociationId
public GatewayAssociationState.Builder dxGatewayAssociationId(java.lang.String dxGatewayAssociationId)
- Parameters:
dxGatewayAssociationId- The ID of the Direct Connect gateway association.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationState.Builder dxGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayId)
- Parameters:
dxGatewayId- The ID of the Direct Connect gateway.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationState.Builder dxGatewayId(java.lang.String dxGatewayId)
- Parameters:
dxGatewayId- The ID of the Direct Connect gateway.- Returns:
- builder
-
dxGatewayOwnerAccountId
public GatewayAssociationState.Builder dxGatewayOwnerAccountId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayOwnerAccountId)
- Parameters:
dxGatewayOwnerAccountId- The ID of the AWS account that owns the Direct Connect gateway.- Returns:
- builder
-
dxGatewayOwnerAccountId
public GatewayAssociationState.Builder dxGatewayOwnerAccountId(java.lang.String dxGatewayOwnerAccountId)
- Parameters:
dxGatewayOwnerAccountId- The ID of the AWS account that owns the Direct Connect gateway.- Returns:
- builder
-
proposalId
public GatewayAssociationState.Builder proposalId(@Nullable com.pulumi.core.Output<java.lang.String> proposalId)
- Parameters:
proposalId- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
proposalId
public GatewayAssociationState.Builder proposalId(java.lang.String proposalId)
- Parameters:
proposalId- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
region
public GatewayAssociationState.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 GatewayAssociationState.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
-
transitGatewayAttachmentId
public GatewayAssociationState.Builder transitGatewayAttachmentId(@Nullable com.pulumi.core.Output<java.lang.String> transitGatewayAttachmentId)
- Parameters:
transitGatewayAttachmentId- The ID of the Transit Gateway Attachment when the type is `transitGateway`.- Returns:
- builder
-
transitGatewayAttachmentId
public GatewayAssociationState.Builder transitGatewayAttachmentId(java.lang.String transitGatewayAttachmentId)
- Parameters:
transitGatewayAttachmentId- The ID of the Transit Gateway Attachment when the type is `transitGateway`.- Returns:
- builder
-
build
public GatewayAssociationState build()
-
-