Interface CollectionErrorDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>,SdkBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>,SdkPojo
- Enclosing class:
- CollectionErrorDetail
public static interface CollectionErrorDetail.Builder extends SdkPojo, CopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionErrorDetail.BuildererrorCode(String errorCode)The error code for the request.CollectionErrorDetail.BuildererrorMessage(String errorMessage)A description of the error.CollectionErrorDetail.Builderid(String id)If the request contains collection IDs, the response includes the IDs provided in the request.CollectionErrorDetail.Buildername(String name)If the request contains collection names, the response includes the names provided in the request.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCode
CollectionErrorDetail.Builder errorCode(String errorCode)
The error code for the request. For example,
NOT_FOUND.- Parameters:
errorCode- The error code for the request. For example,NOT_FOUND.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
CollectionErrorDetail.Builder errorMessage(String errorMessage)
A description of the error. For example,
The specified Collection is not found.- Parameters:
errorMessage- A description of the error. For example,The specified Collection is not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CollectionErrorDetail.Builder id(String id)
If the request contains collection IDs, the response includes the IDs provided in the request.
- Parameters:
id- If the request contains collection IDs, the response includes the IDs provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CollectionErrorDetail.Builder name(String name)
If the request contains collection names, the response includes the names provided in the request.
- Parameters:
name- If the request contains collection names, the response includes the names provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-