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