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 not specified, the default is2(Classic streams, V2 gateway).When creating a V3 gateway (
gatewayVersion=3) with theGreengrassV2platform, you must also specify thecoreDeviceOperatingSystemparameter.We recommend creating an MQTT-enabled gateway for self-hosted gateways and Siemens Industrial Edge gateways. For more information on gateway versions, see Use Amazon Web Services IoT SiteWise Edge Edge gateways.
- Parameters:
gatewayVersion- The version of the gateway to create. Specify3to create an MQTT-enabled, V3 gateway and2to create a Classic streams, V2 gateway. If not specified, the default is2(Classic streams, V2 gateway).When creating a V3 gateway (
gatewayVersion=3) with theGreengrassV2platform, you must also specify thecoreDeviceOperatingSystemparameter.We recommend creating an MQTT-enabled gateway for self-hosted gateways and Siemens Industrial Edge gateways. For more information on gateway versions, see Use Amazon Web Services IoT SiteWise Edge Edge gateways.
- 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.
-