@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BasePathMapping extends Object implements Serializable, Cloneable, StructuredPojo
Represents the base path that callers of the API must provide as part of the URL after the domain name.
Constructor and Description |
---|
BasePathMapping() |
Modifier and Type | Method and 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 string identifier of the associated RestApi.
|
String |
getStage()
The name of the associated stage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 string identifier of the associated RestApi.
|
void |
setStage(String stage)
The name of the associated 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 string identifier of the associated RestApi.
|
BasePathMapping |
withStage(String stage)
The name of the associated stage.
|
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.
basePath
- The base path name that callers of the API must provide as part of the URL after the domain name.public 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(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(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public BasePathMapping withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setStage(String stage)
The name of the associated stage.
stage
- The name of the associated stage.public String getStage()
The name of the associated stage.
public BasePathMapping withStage(String stage)
The name of the associated stage.
stage
- The name of the associated stage.public String toString()
toString
in class Object
Object.toString()
public BasePathMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.