Interface CreateGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> IoTSiteWiseRequest.Builder,SdkBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGatewayRequest
public static interface CreateGatewayRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<CreateGatewayRequest.Builder,CreateGatewayRequest>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayName(String gatewayName) A unique name for the gateway.default CreateGatewayRequest.BuildergatewayPlatform(Consumer<GatewayPlatform.Builder> gatewayPlatform) The gateway's platform.gatewayPlatform(GatewayPlatform gatewayPlatform) The gateway's platform.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of key-value pairs that contain metadata for the gateway.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.iotsitewise.model.IoTSiteWiseRequest.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
-
gatewayName
A unique name for the gateway.
- Parameters:
gatewayName- A unique name for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
The gateway's platform. You can only specify one platform in a gateway.
- Parameters:
gatewayPlatform- The gateway's platform. You can only specify one platform in a gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
default CreateGatewayRequest.Builder gatewayPlatform(Consumer<GatewayPlatform.Builder> gatewayPlatform) The gateway's platform. You can only specify one platform in a gateway.
This is a convenience method that creates an instance of theGatewayPlatform.Builderavoiding the need to create one manually viaGatewayPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayPlatform(GatewayPlatform).- Parameters:
gatewayPlatform- a consumer that will call methods onGatewayPlatform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- Parameters:
tags- A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-