Record Class CloudFormationTemplateDiff.ResourceChange
java.lang.Object
java.lang.Record
com.cloudforge.core.local.CloudFormationTemplateDiff.ResourceChange
- Enclosing class:
CloudFormationTemplateDiff
public static record CloudFormationTemplateDiff.ResourceChange(CloudFormationTemplateDiff.Action action, String logicalId, String resourceType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResourceChange(CloudFormationTemplateDiff.Action action, String logicalId, String resourceType) Creates an instance of aResourceChangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogicalIdrecord component.Returns the value of theresourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceChange
public ResourceChange(CloudFormationTemplateDiff.Action action, String logicalId, String resourceType) Creates an instance of aResourceChangerecord class.- Parameters:
action- the value for theactionrecord componentlogicalId- the value for thelogicalIdrecord componentresourceType- the value for theresourceTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
logicalId
Returns the value of thelogicalIdrecord component.- Returns:
- the value of the
logicalIdrecord component
-
resourceType
Returns the value of theresourceTyperecord component.- Returns:
- the value of the
resourceTyperecord component
-