Interface ProtectionError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectionError.Builder,,ProtectionError> SdkBuilder<ProtectionError.Builder,,ProtectionError> SdkPojo
- Enclosing class:
ProtectionError
-
Method Summary
Modifier and TypeMethodDescriptionThe reason that the entry failed.A message that explains why Route 53 couldn't process the entry.recordName(String recordName) The name in the failing entry.recordType(String recordType) The record type in the failing entry.recordType(RRType recordType) The record type in the failing entry.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
-
recordName
The name in the failing entry.
- Parameters:
recordName- The name in the failing entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordType
The record type in the failing entry.
- Parameters:
recordType- The record type in the failing entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordType
The record type in the failing entry.
- Parameters:
recordType- The record type in the failing entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The reason that the entry failed. Valid values include the following:
-
InvalidInputmeans that the entry isn't valid. For example, the name isn't a valid DNS name, the name isn't in the hosted zone, the record type can't be protected, or the same name and type appear more than once in the request. -
ProtectionAlreadyExistsmeans that a protection already exists for the name and type. -
ProtectionNotFoundmeans that no protection exists for the name and type.
- Parameters:
code- The reason that the entry failed. Valid values include the following:-
InvalidInputmeans that the entry isn't valid. For example, the name isn't a valid DNS name, the name isn't in the hosted zone, the record type can't be protected, or the same name and type appear more than once in the request. -
ProtectionAlreadyExistsmeans that a protection already exists for the name and type. -
ProtectionNotFoundmeans that no protection exists for the name and type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
A message that explains why Route 53 couldn't process the entry.
- Parameters:
message- A message that explains why Route 53 couldn't process the entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-