Class RoutingControl
- java.lang.Object
-
- software.amazon.awssdk.services.route53recoverycontrolconfig.model.RoutingControl
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RoutingControl.Builder,RoutingControl>
@Generated("software.amazon.awssdk:codegen") public final class RoutingControl extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RoutingControl.Builder,RoutingControl>
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRoutingControl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoutingControl.Builderbuilder()StringcontrolPanelArn()The Amazon Resource Name (ARN) of the control panel that includes the routing control.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the routing control.Stringowner()The Amazon Web Services account ID of the routing control owner.StringroutingControlArn()The Amazon Resource Name (ARN) of the routing control.List<SdkField<?>>sdkFields()static Class<? extends RoutingControl.Builder>serializableBuilderClass()Statusstatus()The deployment status of a routing control.StringstatusAsString()The deployment status of a routing control.RoutingControl.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
controlPanelArn
public final String controlPanelArn()
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
- Returns:
- The Amazon Resource Name (ARN) of the control panel that includes the routing control.
-
name
public final String name()
The name of the routing control.
- Returns:
- The name of the routing control.
-
routingControlArn
public final String routingControlArn()
The Amazon Resource Name (ARN) of the routing control.
- Returns:
- The Amazon Resource Name (ARN) of the routing control.
-
status
public final Status status()
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- See Also:
Status
-
owner
public final String 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
public RoutingControl.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RoutingControl.Builder,RoutingControl>
-
builder
public static RoutingControl.Builder builder()
-
serializableBuilderClass
public static Class<? extends RoutingControl.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-