Record Class CloudIntent
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.spec.CloudIntent
- Record Components:
id- unique name within the spec;WorkloadIntent.clouds()refers to itprovider- the cloud provider;nullwhen the target is named by service profile onlyregion- the provider's region (for exampleus-east-1); may benullserviceProfileUuid- a specific Fabric service profile, ornullto resolve by providerserviceProfileName- a Fabric service-profile name to match, ornullrequired- whether every recommended design must reach it;nullbecomestruemonthlyEgressGb- data leaving this cloud per month, in GB; may benull(not costed)monthlyIngressGb- data sent to this cloud per month, in GB; may benull
public record CloudIntent(String id, CloudProviderType provider, String region, String serviceProfileUuid, String serviceProfileName, Boolean required, Double monthlyEgressGb, Double monthlyIngressGb)
extends Record
A cloud or service provider the design must reach over private interconnect, with the traffic that
drives its cost.
-
Constructor Summary
ConstructorsConstructorDescriptionCloudIntent(String id, CloudProviderType provider, String region, String serviceProfileUuid, String serviceProfileName, Boolean required, Double monthlyEgressGb, Double monthlyIngressGb) Defaultsrequiredtotrue: a cloud named in a spec must be reached unless it says otherwise. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of themonthlyEgressGbrecord component.Returns the value of themonthlyIngressGbrecord component.provider()Returns the value of theproviderrecord component.region()Returns the value of theregionrecord component.required()Returns the value of therequiredrecord component.Returns the value of theserviceProfileNamerecord component.Returns the value of theserviceProfileUuidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CloudIntent
-
-
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). -
id
-
provider
-
region
-
serviceProfileUuid
Returns the value of theserviceProfileUuidrecord component.- Returns:
- the value of the
serviceProfileUuidrecord component
-
serviceProfileName
Returns the value of theserviceProfileNamerecord component.- Returns:
- the value of the
serviceProfileNamerecord component
-
required
-
monthlyEgressGb
Returns the value of themonthlyEgressGbrecord component.- Returns:
- the value of the
monthlyEgressGbrecord component
-
monthlyIngressGb
Returns the value of themonthlyIngressGbrecord component.- Returns:
- the value of the
monthlyIngressGbrecord component
-