Interface NetworkTelemetry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkTelemetry.Builder,,NetworkTelemetry> SdkBuilder<NetworkTelemetry.Builder,,NetworkTelemetry> SdkPojo
- Enclosing class:
NetworkTelemetry
@Mutable
@NotThreadSafe
public static interface NetworkTelemetry.Builder
extends SdkPojo, CopyableBuilder<NetworkTelemetry.Builder,NetworkTelemetry>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.The address.The Amazon Web Services Region.coreNetworkId(String coreNetworkId) The ID of a core network.default NetworkTelemetry.Builderhealth(Consumer<ConnectionHealth.Builder> health) The connection health.health(ConnectionHealth health) The connection health.registeredGatewayArn(String registeredGatewayArn) The ARN of the gateway.resourceArn(String resourceArn) The ARN of the resource.resourceId(String resourceId) The ID of the resource.resourceType(String resourceType) The resource type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
registeredGatewayArn
The ARN of the gateway.
- Parameters:
registeredGatewayArn- The ARN of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkId
The ID of a core network.
- Parameters:
coreNetworkId- The ID of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The Amazon Web Services Region.
- Parameters:
awsRegion- The Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID.
- Parameters:
accountId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource.
- Parameters:
resourceId- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN of the resource.
- Parameters:
resourceArn- The ARN of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The address.
- Parameters:
address- The address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The connection health.
- Parameters:
health- The connection health.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
The connection health.
This is a convenience method that creates an instance of theConnectionHealth.Builderavoiding the need to create one manually viaConnectionHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(ConnectionHealth).- Parameters:
health- a consumer that will call methods onConnectionHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-