Interface CreateGatewayRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGatewayRequest.Builder,CreateGatewayRequest>,MediaConnectRequest.Builder,SdkBuilder<CreateGatewayRequest.Builder,CreateGatewayRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGatewayRequest
public static interface CreateGatewayRequest.Builder extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateGatewayRequest.Builder,CreateGatewayRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateGatewayRequest.BuilderegressCidrBlocks(String... egressCidrBlocks)The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.CreateGatewayRequest.BuilderegressCidrBlocks(Collection<String> egressCidrBlocks)The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.CreateGatewayRequest.Buildername(String name)The name of the gateway.CreateGatewayRequest.Buildernetworks(Collection<GatewayNetwork> networks)The list of networks that you want to add.CreateGatewayRequest.Buildernetworks(Consumer<GatewayNetwork.Builder>... networks)The list of networks that you want to add.CreateGatewayRequest.Buildernetworks(GatewayNetwork... networks)The list of networks that you want to add.CreateGatewayRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateGatewayRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest.Builder
build
-
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
CreateGatewayRequest.Builder egressCidrBlocks(Collection<String> egressCidrBlocks)
The range of IP addresses that are allowed to 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 are allowed to 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
CreateGatewayRequest.Builder egressCidrBlocks(String... egressCidrBlocks)
The range of IP addresses that are allowed to 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 are allowed to 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.
-
name
CreateGatewayRequest.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
CreateGatewayRequest.Builder networks(Collection<GatewayNetwork> networks)
The list of networks that you want to add.- Parameters:
networks- The list of networks that you want to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
CreateGatewayRequest.Builder networks(GatewayNetwork... networks)
The list of networks that you want to add.- Parameters:
networks- The list of networks that you want to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
CreateGatewayRequest.Builder networks(Consumer<GatewayNetwork.Builder>... networks)
The list of networks that you want to add. 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)
-
overrideConfiguration
CreateGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-