Interface CreateGatewayRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> IoTSiteWiseRequest.Builder,SdkBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 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.gatewayVersion(String gatewayVersion) The version of the gateway to create.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, sdkFieldNameToField, 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:
 
 - 
gatewayVersion
The version of the gateway to create. Specify
3to create an MQTT-enabled, V3 gateway and2To create a Classic streams, V2 gateway. If the version isn't specified, a Classic streams, V2 gateway is created by default.We recommend creating an MQTT-enabled, V3 gateway for self-hosted gateways. SiteWise Edge gateways on Siemens Industrial Edge should use gateway version
2. For more information on gateway versions, see Self-host a SiteWise Edge gateway with IoT Greengrass V2.- Parameters:
 gatewayVersion- The version of the gateway to create. Specify3to create an MQTT-enabled, V3 gateway and2To create a Classic streams, V2 gateway. If the version isn't specified, a Classic streams, V2 gateway is created by default.We recommend creating an MQTT-enabled, V3 gateway for self-hosted gateways. SiteWise Edge gateways on Siemens Industrial Edge should use gateway version
2. For more information on gateway versions, see Self-host a SiteWise Edge gateway with IoT Greengrass V2.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
 
 
 -