Class ResourceRecordSetProtection
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceRecordSetProtection.Builder,ResourceRecordSetProtection>
A protection for the resource record sets in a hosted zone that have the specified name and type. While the
protection exists, Route 53 rejects ChangeResourceRecordSets requests that create, update, or delete
those resource record sets.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcomment()The comment that was specified when the protection was created, if any.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the protected resource record sets.final RRTypeThe DNS record type of the protected resource record sets.final StringThe DNS record type of the protected resource record sets.static Class<? extends ResourceRecordSetProtection.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
recordName
The name of the protected resource record sets.
- Returns:
- The name of the protected resource record sets.
-
recordType
The DNS record type of the protected resource record sets.
If the service returns an enum value that is not available in the current SDK version,
recordTypewill returnRRType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordTypeAsString().- Returns:
- The DNS record type of the protected resource record sets.
- See Also:
-
recordTypeAsString
The DNS record type of the protected resource record sets.
If the service returns an enum value that is not available in the current SDK version,
recordTypewill returnRRType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordTypeAsString().- Returns:
- The DNS record type of the protected resource record sets.
- See Also:
-
comment
The comment that was specified when the protection was created, if any.
- Returns:
- The comment that was specified when the protection was created, if any.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceRecordSetProtection.Builder,ResourceRecordSetProtection> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-