Interface ResourceRecordSetChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceRecordSetChange.Builder,,ResourceRecordSetChange> SdkBuilder<ResourceRecordSetChange.Builder,,ResourceRecordSetChange> SdkPojo
- Enclosing class:
ResourceRecordSetChange
-
Method Summary
Modifier and TypeMethodDescriptionThe action in the change:CREATE,DELETE, orUPSERT.action(ChangeAction action) The action in the change:CREATE,DELETE, orUPSERT.The ID of the change batch that contains the change.The Route 53 API operation that submitted the change.operation(ChangeHistoryOperation operation) The Route 53 API operation that submitted the change.The request ID of the call that submitted the change.default ResourceRecordSetChange.BuilderresourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet) The resource record set that the change wrote or deleted, in the same form thatListResourceRecordSetsreturns.resourceRecordSet(ResourceRecordSet resourceRecordSet) The resource record set that the change wrote or deleted, in the same form thatListResourceRecordSetsreturns.submittedAt(Instant submittedAt) The date and time, in UTC, when the change batch that contains the change was submitted.submittedBy(String submittedBy) The Amazon Resource Name of the principal that submitted the request.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
-
changeId
The ID of the change batch that contains the change. To get every change in the change batch, specify this ID in
GetHostedZoneChangeBatch.- Parameters:
changeId- The ID of the change batch that contains the change. To get every change in the change batch, specify this ID inGetHostedZoneChangeBatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
- Parameters:
operation- The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
- Parameters:
operation- The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
submittedAt
The date and time, in UTC, when the change batch that contains the change was submitted.
- Parameters:
submittedAt- The date and time, in UTC, when the change batch that contains the change was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
requestId- The request ID of the call that submitted the change. CloudTrail records the same value inrequestID. This element is absent when there was no request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action in the change:
CREATE,DELETE, orUPSERT.- Parameters:
action- The action in the change:CREATE,DELETE, orUPSERT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action in the change:
CREATE,DELETE, orUPSERT.- Parameters:
action- The action in the change:CREATE,DELETE, orUPSERT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Parameters:
resourceRecordSet- The resource record set that the change wrote or deleted, in the same form thatListResourceRecordSetsreturns. 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:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecordSet
default ResourceRecordSetChange.Builder resourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet) The resource record set that the change wrote or deleted, in the same form that
This is a convenience method that creates an instance of theListResourceRecordSetsreturns. 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.ResourceRecordSet.Builderavoiding the need to create one manually viaResourceRecordSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceRecordSet(ResourceRecordSet).- Parameters:
resourceRecordSet- a consumer that will call methods onResourceRecordSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-