Class UpdateRouteResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse
-
- software.amazon.awssdk.services.migrationhubrefactorspaces.model.UpdateRouteResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateRouteResponse.Builder,UpdateRouteResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRouteResponse extends MigrationHubRefactorSpacesResponse implements ToCopyableBuilder<UpdateRouteResponse.Builder,UpdateRouteResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateRouteResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The ID of the application in which the route is being updated.Stringarn()The Amazon Resource Name (ARN) of the route.static UpdateRouteResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTime()A timestamp that indicates when the route was last updated.StringrouteId()The unique identifier of the route.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateRouteResponse.Builder>serializableBuilderClass()StringserviceId()The ID of service in which the route was created.RouteStatestate()The current state of the route.StringstateAsString()The current state of the route.UpdateRouteResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
applicationId
public final String applicationId()
The ID of the application in which the route is being updated.
- Returns:
- The ID of the application in which the route is being updated.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.- Returns:
- The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
A timestamp that indicates when the route was last updated.
- Returns:
- A timestamp that indicates when the route was last updated.
-
routeId
public final String routeId()
The unique identifier of the route.
- Returns:
- The unique identifier of the route.
-
serviceId
public final String serviceId()
The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
- Returns:
- The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
-
state
public final RouteState state()
The current state of the route.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the route.
- See Also:
RouteState
-
stateAsString
public final String stateAsString()
The current state of the route.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the route.
- See Also:
RouteState
-
toBuilder
public UpdateRouteResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateRouteResponse.Builder,UpdateRouteResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateRouteResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRouteResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-