Interface DirectConnectGateway.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DirectConnectGateway.Builder,,- DirectConnectGateway> - SdkBuilder<DirectConnectGateway.Builder,,- DirectConnectGateway> - SdkPojo
- Enclosing class:
- DirectConnectGateway
- 
Method SummaryModifier and TypeMethodDescriptionamazonSideAsn(Long amazonSideAsn) The autonomous system number (AS) for the Amazon side of the connection.directConnectGatewayId(String directConnectGatewayId) The ID of the Direct Connect gateway.directConnectGatewayName(String directConnectGatewayName) The name of the Direct Connect gateway.directConnectGatewayState(String directConnectGatewayState) The state of the Direct Connect gateway.directConnectGatewayState(DirectConnectGatewayState directConnectGatewayState) The state of the Direct Connect gateway.ownerAccount(String ownerAccount) The ID of the Amazon Web Services account that owns the Direct Connect gateway.stateChangeError(String stateChangeError) The error message if the state of an object failed to advance.tags(Collection<Tag> tags) Information about a tag.tags(Consumer<Tag.Builder>... tags) Information about a tag.Information about a tag.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
directConnectGatewayIdThe 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.
 
- 
directConnectGatewayNameThe 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.
 
- 
amazonSideAsnThe autonomous system number (AS) for the Amazon side of the connection. - Parameters:
- amazonSideAsn- The autonomous system number (AS) for the Amazon side of the connection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ownerAccountThe 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.
 
- 
directConnectGatewayStateThe 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:
 
- 
 
- 
directConnectGatewayStateDirectConnectGateway.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:
 
- 
 
- 
stateChangeErrorThe 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.
 
- 
tagsInformation about a tag. - Parameters:
- tags- Information about a tag.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsInformation about a tag. - Parameters:
- tags- Information about a tag.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsInformation about a tag. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-