@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultRouteInput extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the default route type.
| Constructor and Description |
|---|
DefaultRouteInput() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRouteInput |
clone() |
boolean |
equals(Object obj) |
String |
getActivationState()
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActivationState(String activationState)
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
String |
toString()
Returns a string representation of this object.
|
DefaultRouteInput |
withActivationState(RouteActivationState activationState)
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
DefaultRouteInput |
withActivationState(String activationState)
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
public void setActivationState(String activationState)
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.RouteActivationStatepublic String getActivationState()
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
ACTIVE, traffic is forwarded to this route’s service after the route is created.RouteActivationStatepublic DefaultRouteInput withActivationState(String activationState)
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.RouteActivationStatepublic DefaultRouteInput withActivationState(RouteActivationState activationState)
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.RouteActivationStatepublic String toString()
toString in class ObjectObject.toString()public DefaultRouteInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.