Class RoutingControl
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RoutingControl.Builder,
RoutingControl>
A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingControl.Builder
builder()
final String
The Amazon Resource Name (ARN) of the control panel where the routing control is located.final String
The name of the control panel where the routing control is located.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
owner()
The Amazon Web Services account ID of the routing control owner.final String
The Amazon Resource Name (ARN) of the routing control.final String
The name of the routing control.final RoutingControlState
The current state of the routing control.final String
The current state of the routing control.static Class
<? extends RoutingControl.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
controlPanelArn
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
- Returns:
- The Amazon Resource Name (ARN) of the control panel where the routing control is located.
-
controlPanelName
The name of the control panel where the routing control is located. Only ASCII characters are supported for control panel names.
- Returns:
- The name of the control panel where the routing control is located. Only ASCII characters are supported for control panel names.
-
routingControlArn
The Amazon Resource Name (ARN) of the routing control.
- Returns:
- The Amazon Resource Name (ARN) of the routing control.
-
routingControlName
The name of the routing control.
- Returns:
- The name of the routing control.
-
routingControlState
The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
If the service returns an enum value that is not available in the current SDK version,
routingControlState
will returnRoutingControlState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroutingControlStateAsString()
.- Returns:
- The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
- See Also:
-
routingControlStateAsString
The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
If the service returns an enum value that is not available in the current SDK version,
routingControlState
will returnRoutingControlState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroutingControlStateAsString()
.- Returns:
- The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
- See Also:
-
owner
The Amazon Web Services account ID of the routing control owner.
- Returns:
- The Amazon Web Services account ID of the routing control owner.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RoutingControl.Builder,
RoutingControl> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-