Class CreateBasePathMappingResult

java.lang.Object
com.amazonaws.services.apigateway.model.CreateBasePathMappingResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateBasePathMappingResult 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:
  • Constructor Details

    • CreateBasePathMappingResult

      public CreateBasePathMappingResult()
  • Method Details

    • 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 CreateBasePathMappingResult 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 CreateBasePathMappingResult 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 CreateBasePathMappingResult 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object