Package com.cloudforgeci.api.core
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
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
Returns the value of thevpcrecord component.- Returns:
- the value of the
vpcrecord component
-
alb
Returns the value of thealbrecord component.- Returns:
- the value of the
albrecord component
-
efs
Returns the value of theefsrecord component.- Returns:
- the value of the
efsrecord component
-
logging
Returns the value of theloggingrecord component.- Returns:
- the value of the
loggingrecord component
-