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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaGatewayNetwork.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-