Class ModuleInfo
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.ModuleInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModuleInfo.Builder,ModuleInfo>
@Generated("software.amazon.awssdk:codegen") public final class ModuleInfo extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModuleInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogicalIdHierarchy()A concatenated list of the logical IDs of the module or modules that contains the resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModuleInfo.Builder>serializableBuilderClass()ModuleInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtypeHierarchy()A concatenated list of the module type or types that contains the resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
typeHierarchy
public final String 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
public final String 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
public ModuleInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModuleInfo.Builder,ModuleInfo>
-
builder
public static ModuleInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModuleInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-