Interface ValidationExceptionField.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationExceptionField.Builder,,ValidationExceptionField> SdkBuilder<ValidationExceptionField.Builder,,ValidationExceptionField> SdkPojo
- Enclosing class:
ValidationExceptionField
@Mutable
@NotThreadSafe
public static interface ValidationExceptionField.Builder
extends SdkPojo, CopyableBuilder<ValidationExceptionField.Builder,ValidationExceptionField>
-
Method Summary
Modifier and TypeMethodDescriptionchangeType(String changeType) The change type the failing field applies to, if the field is part of a change request.The entity identifier the failing field applies to, if the field is on a specific entity.entityType(String entityType) The entity type the failing field applies to, if the field is on a specific entity.The name of the request field that failed validation, expressed as a JSON path (for example,Details.DeliveryOptions[0].Type).A human-readable message describing why the field failed validation.The reason the field failed validation.reason(ValidationExceptionReason reason) The reason the field failed validation.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
-
reason
The reason the field failed validation.
- Parameters:
reason- The reason the field failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason the field failed validation.
- Parameters:
reason- The reason the field failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The entity type the failing field applies to, if the field is on a specific entity. For example,
AmiProduct@1.0.- Parameters:
entityType- The entity type the failing field applies to, if the field is on a specific entity. For example,AmiProduct@1.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
The entity identifier the failing field applies to, if the field is on a specific entity.
- Parameters:
entityId- The entity identifier the failing field applies to, if the field is on a specific entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeType
The change type the failing field applies to, if the field is part of a change request. For example,
AddDeliveryOptions.- Parameters:
changeType- The change type the failing field applies to, if the field is part of a change request. For example,AddDeliveryOptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
The name of the request field that failed validation, expressed as a JSON path (for example,
Details.DeliveryOptions[0].Type).- Parameters:
field- The name of the request field that failed validation, expressed as a JSON path (for example,Details.DeliveryOptions[0].Type).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A human-readable message describing why the field failed validation.
- Parameters:
message- A human-readable message describing why the field failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-