Interface ChangeEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChangeEvent.Builder,,ChangeEvent> SdkBuilder<ChangeEvent.Builder,,ChangeEvent> SdkPojo
- Enclosing class:
ChangeEvent
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID where this change event occurred.changeEventType(String changeEventType) The type of change event that occurred, such asDEPLOYMENT.changeEventType(ChangeEventType changeEventType) The type of change event that occurred, such asDEPLOYMENT.The entity (service or resource) that was affected by this change event, including its key attributes.A unique identifier for this change event.The name or description of this change event.The Amazon Web Services region where this change event occurred.The timestamp when this change event occurred.The name of the user who initiated this change event, if available.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
-
timestamp
The timestamp when this change event occurred. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.
- Parameters:
timestamp- The timestamp when this change event occurred. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID where this change event occurred.
- Parameters:
accountId- The Amazon Web Services account ID where this change event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services region where this change event occurred.
- Parameters:
region- The Amazon Web Services region where this change event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity (service or resource) that was affected by this change event, including its key attributes.
This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to. -
AwsAccountIdspecifies the account where this object is in.
Below is an example of a service.
{ "Type": "Service", "Name": "visits-service", "Environment": "petclinic-test" }Below is an example of a resource.
{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table", "Identifier": "Customers" }- Parameters:
entity- The entity (service or resource) that was affected by this change event, including its key attributes.This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to. -
AwsAccountIdspecifies the account where this object is in.
Below is an example of a service.
{ "Type": "Service", "Name": "visits-service", "Environment": "petclinic-test" }Below is an example of a resource.
{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table", "Identifier": "Customers" }-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
changeEventType
The type of change event that occurred, such as
DEPLOYMENT.- Parameters:
changeEventType- The type of change event that occurred, such asDEPLOYMENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeEventType
The type of change event that occurred, such as
DEPLOYMENT.- Parameters:
changeEventType- The type of change event that occurred, such asDEPLOYMENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventId
A unique identifier for this change event. For CloudTrail-based events, this is the CloudTrail event id. For other events, this will be
Unknown.- Parameters:
eventId- A unique identifier for this change event. For CloudTrail-based events, this is the CloudTrail event id. For other events, this will beUnknown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The name of the user who initiated this change event, if available.
- Parameters:
userName- The name of the user who initiated this change event, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventName
The name or description of this change event.
- Parameters:
eventName- The name or description of this change event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-