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
Modifier and TypeMethodDescriptionegressCidrBlocks
(String... egressCidrBlocks) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.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.The name of the gateway.networks
(Collection<GatewayNetwork> networks) The list of networks that you want to add.networks
(Consumer<GatewayNetwork.Builder>... networks) The list of networks that you want to add.networks
(GatewayNetwork... networks) The list of networks that you want to add.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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
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
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 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
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
The list of networks that you want to add. 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:
-
overrideConfiguration
CreateGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-