Interface PutTargetsResultEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PutTargetsResultEntry.Builder,PutTargetsResultEntry>,SdkBuilder<PutTargetsResultEntry.Builder,PutTargetsResultEntry>,SdkPojo
- Enclosing class:
- PutTargetsResultEntry
public static interface PutTargetsResultEntry.Builder extends SdkPojo, CopyableBuilder<PutTargetsResultEntry.Builder,PutTargetsResultEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutTargetsResultEntry.BuildererrorCode(String errorCode)The error code that indicates why the target addition failed.PutTargetsResultEntry.BuildererrorMessage(String errorMessage)The error message that explains why the target addition failed.PutTargetsResultEntry.BuildertargetId(String targetId)The ID of the target.-
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
-
targetId
PutTargetsResultEntry.Builder targetId(String targetId)
The ID of the target.
- Parameters:
targetId- The ID of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
PutTargetsResultEntry.Builder errorCode(String errorCode)
The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException, too many requests were made at the same time.- Parameters:
errorCode- The error code that indicates why the target addition failed. If the value isConcurrentModificationException, too many requests were made at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
PutTargetsResultEntry.Builder errorMessage(String errorMessage)
The error message that explains why the target addition failed.
- Parameters:
errorMessage- The error message that explains why the target addition failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-