Package com.cloudforgeci.api.core
Record Class SystemContext.S3CloudFrontFactories
java.lang.Object
java.lang.Record
com.cloudforgeci.api.core.SystemContext.S3CloudFrontFactories
- Record Components:
s3- the S3 bucket factorycloudfront- the CloudFront distribution factory
- Enclosing class:
SystemContext
public static record SystemContext.S3CloudFrontFactories(Object s3, Object cloudfront)
extends Record
Container for S3 and CloudFront factories.
-
Constructor Summary
ConstructorsConstructorDescriptionS3CloudFrontFactories(Object s3, Object cloudfront) Creates an instance of aS3CloudFrontFactoriesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecloudfrontrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.s3()Returns the value of thes3record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
S3CloudFrontFactories
Creates an instance of aS3CloudFrontFactoriesrecord class.- Parameters:
s3- the value for thes3record componentcloudfront- the value for thecloudfrontrecord component
-
-
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). -
s3
Returns the value of thes3record component.- Returns:
- the value of the
s3record component
-
cloudfront
Returns the value of thecloudfrontrecord component.- Returns:
- the value of the
cloudfrontrecord component
-