Class UpdateRouteRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appmesh.model.AppMeshRequest
-
- software.amazon.awssdk.services.appmesh.model.UpdateRouteRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRouteRequest extends AppMeshRequest implements ToCopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateRouteRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateRouteRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmeshName()The name of the service mesh that the route resides in.StringmeshOwner()The Amazon Web Services IAM account ID of the service mesh owner.StringrouteName()The name of the route to update.List<SdkField<?>>sdkFields()static Class<? extends UpdateRouteRequest.Builder>serializableBuilderClass()RouteSpecspec()The new route specification to apply.UpdateRouteRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvirtualRouterName()The name of the virtual router that the route is associated with.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
- Returns:
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
-
meshName
public final String meshName()
The name of the service mesh that the route resides in.
- Returns:
- The name of the service mesh that the route resides in.
-
meshOwner
public final String meshOwner()
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- Returns:
- The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
-
routeName
public final String routeName()
The name of the route to update.
- Returns:
- The name of the route to update.
-
spec
public final RouteSpec spec()
The new route specification to apply. This overwrites the existing data.
- Returns:
- The new route specification to apply. This overwrites the existing data.
-
virtualRouterName
public final String virtualRouterName()
The name of the virtual router that the route is associated with.
- Returns:
- The name of the virtual router that the route is associated with.
-
toBuilder
public UpdateRouteRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>- Specified by:
toBuilderin classAppMeshRequest
-
builder
public static UpdateRouteRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRouteRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-