Class ModuleInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModuleInfo.Builder,ModuleInfo>
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
For more information about modules, see Create reusable resource configurations that can be included across templates with CloudFormation modules in the CloudFormation User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleInfo.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringA concatenated list of the logical IDs of the module or modules that contains the resource.static Class<? extends ModuleInfo.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringA concatenated list of the module type or types that contains the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
typeHierarchy
A concatenated list of the module type or types that contains the resource. Module types are listed starting with the inner-most nested module, and separated by
/.In the following example, the resource was created from a module of type
AWS::First::Example::MODULE, that's nested inside a parent module of typeAWS::Second::Example::MODULE.AWS::First::Example::MODULE/AWS::Second::Example::MODULE- Returns:
- A concatenated list of the module type or types that contains the resource. Module types are listed
starting with the inner-most nested module, and separated by
/.In the following example, the resource was created from a module of type
AWS::First::Example::MODULE, that's nested inside a parent module of typeAWS::Second::Example::MODULE.AWS::First::Example::MODULE/AWS::Second::Example::MODULE
-
logicalIdHierarchy
A concatenated list of the logical IDs of the module or modules that contains the resource. Modules are listed starting with the inner-most nested module, and separated by
/.In the following example, the resource was created from a module,
moduleA, that's nested inside a parent module,moduleB.moduleA/moduleBFor more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.
- Returns:
- A concatenated list of the logical IDs of the module or modules that contains the resource. Modules are
listed starting with the inner-most nested module, and separated by
/.In the following example, the resource was created from a module,
moduleA, that's nested inside a parent module,moduleB.moduleA/moduleBFor more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ModuleInfo.Builder,ModuleInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-