@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiStage extends Object implements Serializable, Cloneable, StructuredPojo
API stage name of the associated API stage in a usage plan.
Constructor and Description |
---|
ApiStage() |
Modifier and Type | Method and Description |
---|---|
ApiStage |
addThrottleEntry(String key,
ThrottleSettings value)
Add a single Throttle entry
|
ApiStage |
clearThrottleEntries()
Removes all the entries added into Throttle.
|
ApiStage |
clone() |
boolean |
equals(Object obj) |
String |
getApiId()
API Id of the associated API stage in a usage plan.
|
String |
getStage()
API stage name of the associated API stage in a usage plan.
|
Map<String,ThrottleSettings> |
getThrottle()
Map containing method level throttling information for API stage in a usage plan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiId(String apiId)
API Id of the associated API stage in a usage plan.
|
void |
setStage(String stage)
API stage name of the associated API stage in a usage plan.
|
void |
setThrottle(Map<String,ThrottleSettings> throttle)
Map containing method level throttling information for API stage in a usage plan.
|
String |
toString()
Returns a string representation of this object.
|
ApiStage |
withApiId(String apiId)
API Id of the associated API stage in a usage plan.
|
ApiStage |
withStage(String stage)
API stage name of the associated API stage in a usage plan.
|
ApiStage |
withThrottle(Map<String,ThrottleSettings> throttle)
Map containing method level throttling information for API stage in a usage plan.
|
public void setApiId(String apiId)
API Id of the associated API stage in a usage plan.
apiId
- API Id of the associated API stage in a usage plan.public String getApiId()
API Id of the associated API stage in a usage plan.
public ApiStage withApiId(String apiId)
API Id of the associated API stage in a usage plan.
apiId
- API Id of the associated API stage in a usage plan.public void setStage(String stage)
API stage name of the associated API stage in a usage plan.
stage
- API stage name of the associated API stage in a usage plan.public String getStage()
API stage name of the associated API stage in a usage plan.
public ApiStage withStage(String stage)
API stage name of the associated API stage in a usage plan.
stage
- API stage name of the associated API stage in a usage plan.public Map<String,ThrottleSettings> getThrottle()
Map containing method level throttling information for API stage in a usage plan.
public void setThrottle(Map<String,ThrottleSettings> throttle)
Map containing method level throttling information for API stage in a usage plan.
throttle
- Map containing method level throttling information for API stage in a usage plan.public ApiStage withThrottle(Map<String,ThrottleSettings> throttle)
Map containing method level throttling information for API stage in a usage plan.
throttle
- Map containing method level throttling information for API stage in a usage plan.public ApiStage addThrottleEntry(String key, ThrottleSettings value)
public ApiStage clearThrottleEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.