Interface DescribeGatewayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGatewayResponse.Builder,,DescribeGatewayResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeGatewayResponse.Builder,,DescribeGatewayResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGatewayResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate(Instant creationDate) The date the gateway was created, in Unix epoch time.gatewayArn(String gatewayArn) The ARN of the gateway, which has the following format.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 DescribeGatewayResponse.BuildergatewayPlatform(Consumer<GatewayPlatform.Builder> gatewayPlatform) The gateway's platform.gatewayPlatform(GatewayPlatform gatewayPlatform) The gateway's platform.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
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
gatewayArn
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}- Parameters:
gatewayArn- The ARN of the gateway, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
The gateway's platform.
- Parameters:
gatewayPlatform- The gateway's platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayPlatform
default DescribeGatewayResponse.Builder gatewayPlatform(Consumer<GatewayPlatform.Builder> gatewayPlatform) The gateway's platform.
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. A value of
3indicates an MQTT-enabled, V3 gateway, while2indicates a Classic streams, V2 gateway.- Parameters:
gatewayVersion- The version of the gateway. A value of3indicates an MQTT-enabled, V3 gateway, while2indicates a Classic streams, V2 gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayCapabilitySummaries
DescribeGatewayResponse.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
DescribeGatewayResponse.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
DescribeGatewayResponse.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.Builderavoiding the need to create one manually viaGatewayCapabilitySummary.builder().When the
Consumercompletes,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.
-