@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModuleInfo extends Object implements Serializable, Cloneable
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 on modules, see Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.
Constructor and Description |
---|
ModuleInfo() |
Modifier and Type | Method and Description |
---|---|
ModuleInfo |
clone() |
boolean |
equals(Object obj) |
String |
getLogicalIdHierarchy()
A concantenated list of the logical IDs of the module or modules containing the resource.
|
String |
getTypeHierarchy()
A concantenated list of the the module type or types containing the resource.
|
int |
hashCode() |
void |
setLogicalIdHierarchy(String logicalIdHierarchy)
A concantenated list of the logical IDs of the module or modules containing the resource.
|
void |
setTypeHierarchy(String typeHierarchy)
A concantenated list of the the module type or types containing the resource.
|
String |
toString()
Returns a string representation of this object.
|
ModuleInfo |
withLogicalIdHierarchy(String logicalIdHierarchy)
A concantenated list of the logical IDs of the module or modules containing the resource.
|
ModuleInfo |
withTypeHierarchy(String typeHierarchy)
A concantenated list of the the module type or types containing the resource.
|
public void setTypeHierarchy(String typeHierarchy)
A concantenated list of the 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 is nested inside a parent module of type AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
typeHierarchy
- A concantenated list of the 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 is nested inside a parent module of type
AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
public String getTypeHierarchy()
A concantenated list of the 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 is nested inside a parent module of type AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
/
.
In the following example, the resource was created from a module of type
AWS::First::Example::MODULE
, that is nested inside a parent module of type
AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
public ModuleInfo withTypeHierarchy(String typeHierarchy)
A concantenated list of the 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 is nested inside a parent module of type AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
typeHierarchy
- A concantenated list of the 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 is nested inside a parent module of type
AWS::Second::Example::MODULE
.
AWS::First::Example::MODULE/AWS::Second::Example::MODULE
public void setLogicalIdHierarchy(String logicalIdHierarchy)
A concantenated 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 is nested inside a
parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
logicalIdHierarchy
- A concantenated 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 is nested
inside a parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
public String getLogicalIdHierarchy()
A concantenated 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 is nested inside a
parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
/
.
In the following example, the resource was created from a module, moduleA
, that is nested
inside a parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
public ModuleInfo withLogicalIdHierarchy(String logicalIdHierarchy)
A concantenated 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 is nested inside a
parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
logicalIdHierarchy
- A concantenated 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 is nested
inside a parent module, moduleB
.
moduleA/moduleB
For more information, see Referencing resources in a module in the CloudFormation User Guide.
public String toString()
toString
in class Object
Object.toString()
public ModuleInfo clone()