public class Stage
Represents a single stage in API Gateway.
A stage represents a deployed snapshot of an API. An API must be deployed to a stage before it can be used.
Is is common to have multiple stages representing different points in the
application lifecycle. For example, an application might be deployed to the dev stage
whenever any code changes are made. It might be deployed to the test stages for testing
before release. And finally it might be deployed to the prod stage one it is fully tested
and ready for release.
See here for more information about stages.
| Constructor and Description |
|---|
Stage(java.lang.String name,
boolean deployOnUpdate,
java.util.Map<java.lang.String,java.lang.String> variables,
java.lang.String description)
Represents a single stage in API Gateway.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The name of the stage.
|
boolean |
component2()
Flag controlling whether the API is deployed to the stage every time it is updated.
|
java.util.Map<java.lang.String,java.lang.String> |
component3()
The stage variables;
|
java.lang.String |
component4()
A description of the stage.
|
Stage |
copy(java.lang.String name,
boolean deployOnUpdate,
java.util.Map<java.lang.String,java.lang.String> variables,
java.lang.String description)
Represents a single stage in API Gateway.
|
boolean |
equals(java.lang.Object p) |
boolean |
getDeployOnUpdate()
Flag controlling whether the API is deployed to the stage every time it is updated.
|
java.lang.String |
getDescription()
A description of the stage.
|
java.lang.String |
getName()
The name of the stage.
|
java.util.Map<java.lang.String,java.lang.String> |
getVariables()
The stage variables;
|
int |
hashCode() |
java.lang.String |
toString() |
public Stage(java.lang.String name,
boolean deployOnUpdate,
java.util.Map<java.lang.String,java.lang.String> variables,
java.lang.String description)
Represents a single stage in API Gateway.
A stage represents a deployed snapshot of an API. An API must be deployed to a stage before it can be used.
Is is common to have multiple stages representing different points in the
application lifecycle. For example, an application might be deployed to the dev stage
whenever any code changes are made. It might be deployed to the test stages for testing
before release. And finally it might be deployed to the prod stage one it is fully tested
and ready for release.
See here for more information about stages.
name - The name of the stage.deployOnUpdate - Flag controlling whether the API is deployed to the stage every time it is updated.
If this is true, the API is deployed to the stage whenever mvn deploy is executed.
If this is false, the API is only deployed to the stage when it is created. Subsequent
updates are not deployed automatically and the API is only deployed to the stage by
some manual process.
This is likely to be true for development stages and false for production stages.
variables - The stage variables; these are environment variables that can have different values in each stage.description - A description of the stage.public java.lang.String getName()
The name of the stage.
public boolean getDeployOnUpdate()
Flag controlling whether the API is deployed to the stage every time it is updated.
If this is true, the API is deployed to the stage whenever mvn deploy is executed.
If this is false, the API is only deployed to the stage when it is created. Subsequent
updates are not deployed automatically and the API is only deployed to the stage by
some manual process.
This is likely to be true for development stages and false for production stages.
public java.util.Map<java.lang.String,java.lang.String> getVariables()
The stage variables;
these are environment variables that can have different values in each stage.
public java.lang.String getDescription()
A description of the stage.
public java.lang.String component1()
The name of the stage.
public boolean component2()
Flag controlling whether the API is deployed to the stage every time it is updated.
If this is true, the API is deployed to the stage whenever mvn deploy is executed.
If this is false, the API is only deployed to the stage when it is created. Subsequent
updates are not deployed automatically and the API is only deployed to the stage by
some manual process.
This is likely to be true for development stages and false for production stages.
public java.util.Map<java.lang.String,java.lang.String> component3()
The stage variables;
these are environment variables that can have different values in each stage.
public java.lang.String component4()
A description of the stage.
public Stage copy(java.lang.String name, boolean deployOnUpdate, java.util.Map<java.lang.String,java.lang.String> variables, java.lang.String description)
Represents a single stage in API Gateway.
A stage represents a deployed snapshot of an API. An API must be deployed to a stage before it can be used.
Is is common to have multiple stages representing different points in the
application lifecycle. For example, an application might be deployed to the dev stage
whenever any code changes are made. It might be deployed to the test stages for testing
before release. And finally it might be deployed to the prod stage one it is fully tested
and ready for release.
See here for more information about stages.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)