Record Class SystemContext.InfrastructureFactories
java.lang.Object
java.lang.Record
com.cloudforgeci.api.core.SystemContext.InfrastructureFactories
- Record Components:
vpc- the VPC factoryalb- the Application Load Balancer factoryefs- the Elastic File System factorylogging- the CloudWatch logging factory
- Enclosing class:
SystemContext
public static record SystemContext.InfrastructureFactories(VpcFactory vpc, AlbFactory alb, EfsFactory efs, LoggingCwFactory logging)
extends Record
Container for infrastructure factories created by the orchestration layer.
This provides a clean interface for accessing infrastructure components.
-
Constructor Summary
ConstructorsConstructorDescriptionInfrastructureFactories(VpcFactory vpc, AlbFactory alb, EfsFactory efs, LoggingCwFactory logging) Creates an instance of aInfrastructureFactoriesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalb()Returns the value of thealbrecord component.efs()Returns the value of theefsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logging()Returns the value of theloggingrecord component.final StringtoString()Returns a string representation of this record class.vpc()Returns the value of thevpcrecord component.
-
Constructor Details
-
InfrastructureFactories
public InfrastructureFactories(VpcFactory vpc, AlbFactory alb, EfsFactory efs, LoggingCwFactory logging) Creates an instance of aInfrastructureFactoriesrecord class.
-
-
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). -
vpc
-
alb
-
efs
-
logging
-