Interface TargetFailure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetFailure.Builder,TargetFailure>,SdkBuilder<TargetFailure.Builder,TargetFailure>,SdkPojo
- Enclosing class:
- TargetFailure
public static interface TargetFailure.Builder extends SdkPojo, CopyableBuilder<TargetFailure.Builder,TargetFailure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetFailure.BuilderfailureCode(String failureCode)The failure code.TargetFailure.BuilderfailureMessage(String failureMessage)The failure message.TargetFailure.Builderid(String id)The ID of the target.TargetFailure.Builderport(Integer port)The port on which the target is listening.-
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, sdkFields
-
-
-
-
Method Detail
-
failureCode
TargetFailure.Builder failureCode(String failureCode)
The failure code.
- Parameters:
failureCode- The failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
TargetFailure.Builder failureMessage(String failureMessage)
The failure message.
- Parameters:
failureMessage- The failure message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
TargetFailure.Builder id(String id)
The ID of the target. If the target type of the target group is
INSTANCE, this is an instance ID. If the target type isIP, this is an IP address. If the target type isLAMBDA, this is the ARN of the Lambda function. If the target type isALB, this is the ARN of the Application Load Balancer.- Parameters:
id- The ID of the target. If the target type of the target group isINSTANCE, this is an instance ID. If the target type isIP, this is an IP address. If the target type isLAMBDA, this is the ARN of the Lambda function. If the target type isALB, this is the ARN of the Application Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
TargetFailure.Builder port(Integer port)
The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.
- Parameters:
port- The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-