Class BasePathMapping
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.BasePathMapping
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BasePathMapping extends Object implements Serializable, Cloneable
Represents the base path that callers of the API that must provide as part of the URL after the domain name.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasePathMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasePathMapping
clone()
boolean
equals(Object obj)
String
getBasePath()
The base path name that callers of the API must provide as part of the URL after the domain name.String
getRestApiId()
The name of the API.String
getStage()
The name of the API's stage.int
hashCode()
void
setBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.void
setRestApiId(String restApiId)
The name of the API.void
setStage(String stage)
The name of the API's stage.String
toString()
Returns a string representation of this object; useful for testing and debugging.BasePathMapping
withBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.BasePathMapping
withRestApiId(String restApiId)
The name of the API.BasePathMapping
withStage(String stage)
The name of the API's stage.
-
-
-
Method Detail
-
setBasePath
public void setBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
- Parameters:
basePath
- The base path name that callers of the API must provide as part of the URL after the domain name.
-
getBasePath
public String getBasePath()
The base path name that callers of the API must provide as part of the URL after the domain name.
- Returns:
- The base path name that callers of the API must provide as part of the URL after the domain name.
-
withBasePath
public BasePathMapping withBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
- Parameters:
basePath
- The base path name that callers of the API must provide as part of the URL after the domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRestApiId
public void setRestApiId(String restApiId)
The name of the API.
- Parameters:
restApiId
- The name of the API.
-
getRestApiId
public String getRestApiId()
The name of the API.
- Returns:
- The name of the API.
-
withRestApiId
public BasePathMapping withRestApiId(String restApiId)
The name of the API.
- Parameters:
restApiId
- The name of the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStage
public void setStage(String stage)
The name of the API's stage.
- Parameters:
stage
- The name of the API's stage.
-
getStage
public String getStage()
The name of the API's stage.
- Returns:
- The name of the API's stage.
-
withStage
public BasePathMapping withStage(String stage)
The name of the API's stage.
- Parameters:
stage
- The name of the API's stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BasePathMapping clone()
-
-