Interface HealthCheckPathRequestObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthCheckPathRequestObject.Builder,,HealthCheckPathRequestObject> SdkBuilder<HealthCheckPathRequestObject.Builder,,HealthCheckPathRequestObject> SdkPojo
- Enclosing class:
HealthCheckPathRequestObject
@Mutable
@NotThreadSafe
public static interface HealthCheckPathRequestObject.Builder
extends SdkPojo, CopyableBuilder<HealthCheckPathRequestObject.Builder,HealthCheckPathRequestObject>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<HealthCheckPathDestinationRequestObject> destinations) The destinations for the health check path.destinations(Consumer<HealthCheckPathDestinationRequestObject.Builder>... destinations) The destinations for the health check path.destinations(HealthCheckPathDestinationRequestObject... destinations) The destinations for the health check path.The source for the health check path.The source for the health check path.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
-
source
The source for the health check path.
- Parameters:
source- The source for the health check path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default HealthCheckPathRequestObject.Builder source(Consumer<HealthCheckPathSourceRequestObject.Builder> source) The source for the health check path.
This is a convenience method that creates an instance of theHealthCheckPathSourceRequestObject.Builderavoiding the need to create one manually viaHealthCheckPathSourceRequestObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(HealthCheckPathSourceRequestObject).- Parameters:
source- a consumer that will call methods onHealthCheckPathSourceRequestObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
HealthCheckPathRequestObject.Builder destinations(Collection<HealthCheckPathDestinationRequestObject> destinations) The destinations for the health check path.
- Parameters:
destinations- The destinations for the health check path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
HealthCheckPathRequestObject.Builder destinations(HealthCheckPathDestinationRequestObject... destinations) The destinations for the health check path.
- Parameters:
destinations- The destinations for the health check path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
HealthCheckPathRequestObject.Builder destinations(Consumer<HealthCheckPathDestinationRequestObject.Builder>... destinations) The destinations for the health check path.
This is a convenience method that creates an instance of theHealthCheckPathDestinationRequestObject.Builderavoiding the need to create one manually viaHealthCheckPathDestinationRequestObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<HealthCheckPathDestinationRequestObject>).- Parameters:
destinations- a consumer that will call methods onHealthCheckPathDestinationRequestObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-