Interface CreateVirtualServiceRequest.Builder
- All Superinterfaces:
- AppMeshRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateVirtualServiceRequest.Builder,,- CreateVirtualServiceRequest> - SdkBuilder<CreateVirtualServiceRequest.Builder,,- CreateVirtualServiceRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateVirtualServiceRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the service mesh to create the virtual service in.The Amazon Web Services IAM account ID of the service mesh owner.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The virtual service specification to apply.spec(VirtualServiceSpec spec) The virtual service specification to apply.tags(Collection<TagRef> tags) Optional metadata that you can apply to the virtual service to assist with categorization and organization.tags(Consumer<TagRef.Builder>... tags) Optional metadata that you can apply to the virtual service to assist with categorization and organization.Optional metadata that you can apply to the virtual service to assist with categorization and organization.virtualServiceName(String virtualServiceName) The name to use for the virtual service.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. - Parameters:
- 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:
- Returns a reference to this object so that method calls can be chained together.
 
- 
meshNameThe name of the service mesh to create the virtual service in. - Parameters:
- meshName- The name of the service mesh to create the virtual service in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
meshOwnerThe Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes. - Parameters:
- meshOwner- The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
specThe virtual service specification to apply. - Parameters:
- spec- The virtual service specification to apply.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
specThe virtual service specification to apply. This is a convenience method that creates an instance of theVirtualServiceSpec.Builderavoiding the need to create one manually viaVirtualServiceSpec.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(VirtualServiceSpec).- Parameters:
- spec- a consumer that will call methods on- VirtualServiceSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsOptional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. - Parameters:
- tags- Optional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsOptional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. - Parameters:
- tags- Optional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsOptional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. This is a convenience method that creates an instance of theTagRef.Builderavoiding the need to create one manually viaTagRef.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<TagRef>).- Parameters:
- tags- a consumer that will call methods on- TagRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
virtualServiceNameThe name to use for the virtual service. - Parameters:
- virtualServiceName- The name to use for the virtual service.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateVirtualServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateVirtualServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-