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 Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModuleInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleInfo.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logicalIdHierarchy()
A concatenated list of the logical IDs of the module or modules containing the resource.List<SdkField<?>>
sdkFields()
static Class<? extends ModuleInfo.Builder>
serializableBuilderClass()
ModuleInfo.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
typeHierarchy()
A concatenated list of the module type or types containing 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 containing 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 containing 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 containing 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/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
- Returns:
- A concatenated list of the logical IDs of the module or modules containing 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/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
-
toBuilder
public ModuleInfo.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-