Interface DirectConnectGateway.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>,SdkBuilder<DirectConnectGateway.Builder,DirectConnectGateway>,SdkPojo
- Enclosing class:
- DirectConnectGateway
public static interface DirectConnectGateway.Builder extends SdkPojo, CopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirectConnectGateway.BuilderamazonSideAsn(Long amazonSideAsn)The autonomous system number (ASN) for the Amazon side of the connection.DirectConnectGateway.BuilderdirectConnectGatewayId(String directConnectGatewayId)The ID of the Direct Connect gateway.DirectConnectGateway.BuilderdirectConnectGatewayName(String directConnectGatewayName)The name of the Direct Connect gateway.DirectConnectGateway.BuilderdirectConnectGatewayState(String directConnectGatewayState)The state of the Direct Connect gateway.DirectConnectGateway.BuilderdirectConnectGatewayState(DirectConnectGatewayState directConnectGatewayState)The state of the Direct Connect gateway.DirectConnectGateway.BuilderownerAccount(String ownerAccount)The ID of the Amazon Web Services account that owns the Direct Connect gateway.DirectConnectGateway.BuilderstateChangeError(String stateChangeError)The error message if the state of an object failed to advance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
directConnectGatewayId
DirectConnectGateway.Builder directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayName
DirectConnectGateway.Builder directConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
- Parameters:
directConnectGatewayName- The name of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonSideAsn
DirectConnectGateway.Builder amazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
- Parameters:
amazonSideAsn- The autonomous system number (ASN) for the Amazon side of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
DirectConnectGateway.Builder ownerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
- Parameters:
ownerAccount- The ID of the Amazon Web Services account that owns the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayState
DirectConnectGateway.Builder directConnectGatewayState(String directConnectGatewayState)
The state of the Direct Connect gateway. The following are the possible values:
-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
- Parameters:
directConnectGatewayState- The state of the Direct Connect gateway. The following are the possible values:-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DirectConnectGatewayState,DirectConnectGatewayState
-
-
directConnectGatewayState
DirectConnectGateway.Builder directConnectGatewayState(DirectConnectGatewayState directConnectGatewayState)
The state of the Direct Connect gateway. The following are the possible values:
-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
- Parameters:
directConnectGatewayState- The state of the Direct Connect gateway. The following are the possible values:-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DirectConnectGatewayState,DirectConnectGatewayState
-
-
stateChangeError
DirectConnectGateway.Builder stateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
- Parameters:
stateChangeError- The error message if the state of an object failed to advance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-