Interface Gateway.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Gateway.Builder,
,Gateway> SdkBuilder<Gateway.Builder,
,Gateway> SdkPojo
- Enclosing class:
Gateway
-
Method Summary
Modifier and TypeMethodDescriptionegressCidrBlocks
(String... egressCidrBlocks) The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway.egressCidrBlocks
(Collection<String> egressCidrBlocks) The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway.gatewayArn
(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.gatewayMessages
(Collection<MessageDetail> gatewayMessages) Sets the value of the GatewayMessages property for this object.gatewayMessages
(Consumer<MessageDetail.Builder>... gatewayMessages) Sets the value of the GatewayMessages property for this object.gatewayMessages
(MessageDetail... gatewayMessages) Sets the value of the GatewayMessages property for this object.gatewayState
(String gatewayState) The current status of the gateway.gatewayState
(GatewayState gatewayState) The current status of the gateway.The name of the gateway.networks
(Collection<GatewayNetwork> networks) The list of networks in the gateway.networks
(Consumer<GatewayNetwork.Builder>... networks) The list of networks in the gateway.networks
(GatewayNetwork... networks) The list of networks in the gateway.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 Details
-
egressCidrBlocks
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Parameters:
egressCidrBlocks
- The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressCidrBlocks
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Parameters:
egressCidrBlocks
- The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway.- Parameters:
gatewayArn
- The Amazon Resource Name (ARN) of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayMessages
Sets the value of the GatewayMessages property for this object.- Parameters:
gatewayMessages
- The new value for the GatewayMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayMessages
Sets the value of the GatewayMessages property for this object.- Parameters:
gatewayMessages
- The new value for the GatewayMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayMessages
Sets the value of the GatewayMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builder
avoiding the need to create one manually viaMessageDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayMessages(List<MessageDetail>)
.- Parameters:
gatewayMessages
- a consumer that will call methods onMessageDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayState
The current status of the gateway.- Parameters:
gatewayState
- The current status of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayState
The current status of the gateway.- Parameters:
gatewayState
- The current status of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the gateway. This name can not be modified after the gateway is created.- Parameters:
name
- The name of the gateway. This name can not be modified after the gateway is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
The list of networks in the gateway.- Parameters:
networks
- The list of networks in the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
The list of networks in the gateway.- Parameters:
networks
- The list of networks in the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
The list of networks in the gateway. This is a convenience method that creates an instance of theGatewayNetwork.Builder
avoiding the need to create one manually viaGatewayNetwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworks(List<GatewayNetwork>)
.- Parameters:
networks
- a consumer that will call methods onGatewayNetwork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-