Package com.pulumi.automation
Class ProjectTemplate
- java.lang.Object
-
- com.pulumi.automation.ProjectTemplate
-
public class ProjectTemplate extends java.lang.Object
A template used to seed new stacks created from this project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectTemplate.Builder
Builder forProjectTemplate
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectTemplate.Builder
builder()
Returns a new builder forProjectTemplate
.java.util.Map<java.lang.String,ProjectTemplateConfigValue>
config()
Optional template config.java.lang.String
description()
The description of the template.java.lang.String
displayName()
Optional user friendly name of the template.boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isImportant()
Indicates the template is important.java.util.Map<java.lang.String,java.lang.String>
metadata()
Additional metadata for the template.java.lang.String
quickstart()
Optional text to be displayed after template creation.ProjectTemplate.Builder
toBuilder()
Creates a newProjectTemplate.Builder
initialized with the values from this instance.
-
-
-
Method Detail
-
builder
public static ProjectTemplate.Builder builder()
Returns a new builder forProjectTemplate
.- Returns:
- the builder
-
displayName
public java.lang.String displayName()
Optional user friendly name of the template.- Returns:
- the display name
-
description
public java.lang.String description()
The description of the template.- Returns:
- the description
-
quickstart
public java.lang.String quickstart()
Optional text to be displayed after template creation.- Returns:
- the quick start text
-
config
public java.util.Map<java.lang.String,ProjectTemplateConfigValue> config()
Optional template config.- Returns:
- the template config
-
isImportant
public boolean isImportant()
Indicates the template is important.- Returns:
- true if the template is important
-
metadata
public java.util.Map<java.lang.String,java.lang.String> metadata()
Additional metadata for the template.- Returns:
- the metadata
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public ProjectTemplate.Builder toBuilder()
Creates a newProjectTemplate.Builder
initialized with the values from this instance.- Returns:
- a new
ProjectTemplate.Builder
with values copied from this instance
-
-