Record Class LocalDeploymentPipelineResult
java.lang.Object
java.lang.Record
com.cloudforge.core.local.LocalDeploymentPipelineResult
public record LocalDeploymentPipelineResult(TemplateAdaptationResult adaptation, LocalDeployResult deployment)
extends Record
Combined outcome of template adaptation and local CloudFormation deploy.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDeploymentPipelineResult(TemplateAdaptationResult adaptation, LocalDeployResult deployment) Creates an instance of aLocalDeploymentPipelineResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadaptationrecord component.Returns the value of thedeploymentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalDeploymentPipelineResult
public LocalDeploymentPipelineResult(TemplateAdaptationResult adaptation, LocalDeployResult deployment) Creates an instance of aLocalDeploymentPipelineResultrecord class.- Parameters:
adaptation- the value for theadaptationrecord componentdeployment- the value for thedeploymentrecord 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). -
adaptation
Returns the value of theadaptationrecord component.- Returns:
- the value of the
adaptationrecord component
-
deployment
Returns the value of thedeploymentrecord component.- Returns:
- the value of the
deploymentrecord component
-