public class BasePathMapping
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the base path that callers of the API that must provide as part of the URL after the domain name.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
basePath
The base path name that callers of the API must provide as part of the
URL after the domain name.
|
private java.lang.String |
restApiId
The name of the API.
|
private java.lang.String |
stage
The name of the API's stage.
|
Constructor and Description |
---|
BasePathMapping() |
Modifier and Type | Method and Description |
---|---|
BasePathMapping |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBasePath()
The base path name that callers of the API must provide as part of the
URL after the domain name.
|
java.lang.String |
getRestApiId()
The name of the API.
|
java.lang.String |
getStage()
The name of the API's stage.
|
int |
hashCode() |
void |
setBasePath(java.lang.String basePath)
The base path name that callers of the API must provide as part of the
URL after the domain name.
|
void |
setRestApiId(java.lang.String restApiId)
The name of the API.
|
void |
setStage(java.lang.String stage)
The name of the API's stage.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BasePathMapping |
withBasePath(java.lang.String basePath)
The base path name that callers of the API must provide as part of the
URL after the domain name.
|
BasePathMapping |
withRestApiId(java.lang.String restApiId)
The name of the API.
|
BasePathMapping |
withStage(java.lang.String stage)
The name of the API's stage.
|
private java.lang.String basePath
The base path name that callers of the API must provide as part of the URL after the domain name.
private java.lang.String restApiId
The name of the API.
private java.lang.String stage
The name of the API's stage.
public void setBasePath(java.lang.String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
basePath
- The base path name that callers of the API must provide as part of
the URL after the domain name.public java.lang.String getBasePath()
The base path name that callers of the API must provide as part of the URL after the domain name.
public BasePathMapping withBasePath(java.lang.String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
basePath
- The base path name that callers of the API must provide as part of
the URL after the domain name.public void setRestApiId(java.lang.String restApiId)
The name of the API.
restApiId
- The name of the API.public java.lang.String getRestApiId()
The name of the API.
public BasePathMapping withRestApiId(java.lang.String restApiId)
The name of the API.
restApiId
- The name of the API.public void setStage(java.lang.String stage)
The name of the API's stage.
stage
- The name of the API's stage.public java.lang.String getStage()
The name of the API's stage.
public BasePathMapping withStage(java.lang.String stage)
The name of the API's stage.
stage
- The name of the API's stage.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BasePathMapping clone()
clone
in class java.lang.Object