@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingPolicyObjective extends Object implements Serializable, Cloneable, StructuredPojo
An object where you specify the anticipated traffic pattern for an endpoint.
Constructor and Description |
---|
ScalingPolicyObjective() |
Modifier and Type | Method and Description |
---|---|
ScalingPolicyObjective |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxInvocationsPerMinute()
The maximum number of expected requests to your endpoint per minute.
|
Integer |
getMinInvocationsPerMinute()
The minimum number of expected requests to your endpoint per minute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxInvocationsPerMinute(Integer maxInvocationsPerMinute)
The maximum number of expected requests to your endpoint per minute.
|
void |
setMinInvocationsPerMinute(Integer minInvocationsPerMinute)
The minimum number of expected requests to your endpoint per minute.
|
String |
toString()
Returns a string representation of this object.
|
ScalingPolicyObjective |
withMaxInvocationsPerMinute(Integer maxInvocationsPerMinute)
The maximum number of expected requests to your endpoint per minute.
|
ScalingPolicyObjective |
withMinInvocationsPerMinute(Integer minInvocationsPerMinute)
The minimum number of expected requests to your endpoint per minute.
|
public void setMinInvocationsPerMinute(Integer minInvocationsPerMinute)
The minimum number of expected requests to your endpoint per minute.
minInvocationsPerMinute
- The minimum number of expected requests to your endpoint per minute.public Integer getMinInvocationsPerMinute()
The minimum number of expected requests to your endpoint per minute.
public ScalingPolicyObjective withMinInvocationsPerMinute(Integer minInvocationsPerMinute)
The minimum number of expected requests to your endpoint per minute.
minInvocationsPerMinute
- The minimum number of expected requests to your endpoint per minute.public void setMaxInvocationsPerMinute(Integer maxInvocationsPerMinute)
The maximum number of expected requests to your endpoint per minute.
maxInvocationsPerMinute
- The maximum number of expected requests to your endpoint per minute.public Integer getMaxInvocationsPerMinute()
The maximum number of expected requests to your endpoint per minute.
public ScalingPolicyObjective withMaxInvocationsPerMinute(Integer maxInvocationsPerMinute)
The maximum number of expected requests to your endpoint per minute.
maxInvocationsPerMinute
- The maximum number of expected requests to your endpoint per minute.public String toString()
toString
in class Object
Object.toString()
public ScalingPolicyObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.