Interface Gateway.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Gateway.Builder,Gateway>,SdkBuilder<Gateway.Builder,Gateway>,SdkPojo
- Enclosing class:
- Gateway
public static interface Gateway.Builder extends SdkPojo, CopyableBuilder<Gateway.Builder,Gateway>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Gateway.BuilderegressCidrBlocks(String... egressCidrBlocks)The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway.Gateway.BuilderegressCidrBlocks(Collection<String> egressCidrBlocks)The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway.Gateway.BuildergatewayArn(String gatewayArn)The Amazon Resource Name (ARN) of the gateway.Gateway.BuildergatewayMessages(Collection<MessageDetail> gatewayMessages)Sets the value of the GatewayMessages property for this object.Gateway.BuildergatewayMessages(Consumer<MessageDetail.Builder>... gatewayMessages)Sets the value of the GatewayMessages property for this object.Gateway.BuildergatewayMessages(MessageDetail... gatewayMessages)Sets the value of the GatewayMessages property for this object.Gateway.BuildergatewayState(String gatewayState)The current status of the gateway.Gateway.BuildergatewayState(GatewayState gatewayState)The current status of the gateway.Gateway.Buildername(String name)The name of the gateway.Gateway.Buildernetworks(Collection<GatewayNetwork> networks)The list of networks in the gateway.Gateway.Buildernetworks(Consumer<GatewayNetwork.Builder>... networks)The list of networks in the gateway.Gateway.Buildernetworks(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 Detail
-
egressCidrBlocks
Gateway.Builder egressCidrBlocks(Collection<String> 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
Gateway.Builder egressCidrBlocks(String... 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
Gateway.Builder gatewayArn(String 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
Gateway.Builder gatewayMessages(Collection<MessageDetail> 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
Gateway.Builder gatewayMessages(MessageDetail... 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
Gateway.Builder gatewayMessages(Consumer<MessageDetail.Builder>... gatewayMessages)
Sets the value of the GatewayMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builderavoiding the need to create one manually viaMessageDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#gatewayMessages(List.) - 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:
#gatewayMessages(java.util.Collection)
-
gatewayState
Gateway.Builder gatewayState(String 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,GatewayState
-
gatewayState
Gateway.Builder gatewayState(GatewayState 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,GatewayState
-
name
Gateway.Builder name(String 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
Gateway.Builder networks(Collection<GatewayNetwork> 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
Gateway.Builder networks(GatewayNetwork... 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
Gateway.Builder networks(Consumer<GatewayNetwork.Builder>... networks)
The list of networks in the gateway. This is a convenience method that creates an instance of theGatewayNetwork.Builderavoiding the need to create one manually viaGatewayNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networks(List.) - 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:
#networks(java.util.Collection)
-
-