Class ResourceRecordSetChange
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceRecordSetChange.Builder,ResourceRecordSetChange>
One change to a resource record set in the change history of a hosted zone, with the resource record set that the change wrote or deleted.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ChangeActionaction()The action in the change:CREATE,DELETE, orUPSERT.final StringThe action in the change:CREATE,DELETE, orUPSERT.builder()final StringchangeId()The ID of the change batch that contains the change.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 ChangeHistoryOperationThe Route 53 API operation that submitted the change.final StringThe Route 53 API operation that submitted the change.final StringThe request ID of the call that submitted the change.final ResourceRecordSetThe resource record set that the change wrote or deleted, in the same form thatListResourceRecordSetsreturns.static Class<? extends ResourceRecordSetChange.Builder> final InstantThe date and time, in UTC, when the change batch that contains the change was submitted.final StringThe Amazon Resource Name of the principal that submitted the request.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
-
changeId
The ID of the change batch that contains the change. To get every change in the change batch, specify this ID in
GetHostedZoneChangeBatch.- Returns:
- The ID of the change batch that contains the change. To get every change in the change batch, specify
this ID in
GetHostedZoneChangeBatch.
-
operation
The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnChangeHistoryOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
- See Also:
-
operationAsString
The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnChangeHistoryOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
- See Also:
-
submittedAt
The date and time, in UTC, when the change batch that contains the change was submitted.
- Returns:
- The date and time, in UTC, when the change batch that contains the change was submitted.
-
submittedBy
The Amazon Resource Name of the principal that submitted the request. This element is absent when Route 53 has no principal to record for the change.
- Returns:
- The Amazon Resource Name of the principal that submitted the request. This element is absent when Route 53 has no principal to record for the change.
-
requestId
The request ID of the call that submitted the change. CloudTrail records the same value in
requestID. This element is absent when there was no request.- Returns:
- The request ID of the call that submitted the change. CloudTrail records the same value in
requestID. This element is absent when there was no request.
-
action
The action in the change:
CREATE,DELETE, orUPSERT.If the service returns an enum value that is not available in the current SDK version,
actionwill returnChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action in the change:
CREATE,DELETE, orUPSERT. - See Also:
-
actionAsString
The action in the change:
CREATE,DELETE, orUPSERT.If the service returns an enum value that is not available in the current SDK version,
actionwill returnChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action in the change:
CREATE,DELETE, orUPSERT. - See Also:
-
resourceRecordSet
The resource record set that the change wrote or deleted, in the same form that
ListResourceRecordSetsreturns. For example, the name is in lowercase and ends with a dot. For anUPSERTor aDELETE, the response doesn't contain the values that the resource record set had before the change.- Returns:
- The resource record set that the change wrote or deleted, in the same form that
ListResourceRecordSetsreturns. For example, the name is in lowercase and ends with a dot. For anUPSERTor aDELETE, the response doesn't contain the values that the resource record set had before the change.
-
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<ResourceRecordSetChange.Builder,ResourceRecordSetChange> - 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.
-