Class UpdateVirtualServiceRequest
- 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.UpdateVirtualServiceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateVirtualServiceRequest.Builder,UpdateVirtualServiceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateVirtualServiceRequest extends AppMeshRequest implements ToCopyableBuilder<UpdateVirtualServiceRequest.Builder,UpdateVirtualServiceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateVirtualServiceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateVirtualServiceRequest.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 virtual service resides in.StringmeshOwner()The Amazon Web Services IAM account ID of the service mesh owner.List<SdkField<?>>sdkFields()static Class<? extends UpdateVirtualServiceRequest.Builder>serializableBuilderClass()VirtualServiceSpecspec()The new virtual service specification to apply.UpdateVirtualServiceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvirtualServiceName()The name of the virtual service to update.-
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 virtual service resides in.
- Returns:
- The name of the service mesh that the virtual service 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.
-
spec
public final VirtualServiceSpec spec()
The new virtual service specification to apply. This overwrites the existing data.
- Returns:
- The new virtual service specification to apply. This overwrites the existing data.
-
virtualServiceName
public final String virtualServiceName()
The name of the virtual service to update.
- Returns:
- The name of the virtual service to update.
-
toBuilder
public UpdateVirtualServiceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateVirtualServiceRequest.Builder,UpdateVirtualServiceRequest>- Specified by:
toBuilderin classAppMeshRequest
-
builder
public static UpdateVirtualServiceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateVirtualServiceRequest.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
-
-