Interface GatewaySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GatewaySummary.Builder,
,GatewaySummary> SdkBuilder<GatewaySummary.Builder,
,GatewaySummary> SdkPojo
- Enclosing class:
GatewaySummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date the gateway was created, in Unix epoch time.gatewayCapabilitySummaries
(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status.gatewayCapabilitySummaries
(Consumer<GatewayCapabilitySummary.Builder>... gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status.gatewayCapabilitySummaries
(GatewayCapabilitySummary... gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status.The ID of the gateway device.gatewayName
(String gatewayName) The name of the gateway.default GatewaySummary.Builder
gatewayPlatform
(Consumer<GatewayPlatform.Builder> gatewayPlatform) Sets the value of the GatewayPlatform property for this object.gatewayPlatform
(GatewayPlatform gatewayPlatform) Sets the value of the GatewayPlatform property for this object.gatewayVersion
(String gatewayVersion) The version of the gateway.lastUpdateDate
(Instant lastUpdateDate) The date the gateway was last updated, in Unix epoch time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gatewayId
The ID of the gateway device.
- Parameters:
gatewayId
- The ID of the gateway device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayName
The name of the gateway.
- Parameters:
gatewayName
- The name of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
Sets the value of the GatewayPlatform property for this object.- Parameters:
gatewayPlatform
- The new value for the GatewayPlatform property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
Sets the value of the GatewayPlatform property for this object. This is a convenience method that creates an instance of theGatewayPlatform.Builder
avoiding the need to create one manually viaGatewayPlatform.builder()
.When the
Consumer
completes,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. A value of
3
indicates an MQTT-enabled, V3 gateway, while2
indicates a Classic streams, V2 gateway.- Parameters:
gatewayVersion
- The version of the gateway. A value of3
indicates an MQTT-enabled, V3 gateway, while2
indicates a Classic streams, V2 gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayCapabilitySummaries
GatewaySummary.Builder gatewayCapabilitySummaries(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
- Parameters:
gatewayCapabilitySummaries
- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayCapabilitySummaries
GatewaySummary.Builder gatewayCapabilitySummaries(GatewayCapabilitySummary... gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
- Parameters:
gatewayCapabilitySummaries
- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayCapabilitySummaries
GatewaySummary.Builder gatewayCapabilitySummaries(Consumer<GatewayCapabilitySummary.Builder>... gatewayCapabilitySummaries) A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
This is a convenience method that creates an instance of theGatewayCapabilitySummary.Builder
avoiding the need to create one manually viaGatewayCapabilitySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayCapabilitySummaries(List<GatewayCapabilitySummary>)
.- Parameters:
gatewayCapabilitySummaries
- a consumer that will call methods onGatewayCapabilitySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date the gateway was created, in Unix epoch time.
- Parameters:
creationDate
- The date the gateway was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
The date the gateway was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate
- The date the gateway was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-