Interface CreateVirtualRouterRequest.Builder
-
- All Superinterfaces:
AppMeshRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateVirtualRouterRequest.Builder,CreateVirtualRouterRequest>,SdkBuilder<CreateVirtualRouterRequest.Builder,CreateVirtualRouterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateVirtualRouterRequest
public static interface CreateVirtualRouterRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<CreateVirtualRouterRequest.Builder,CreateVirtualRouterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateVirtualRouterRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateVirtualRouterRequest.BuildermeshName(String meshName)The name of the service mesh to create the virtual router in.CreateVirtualRouterRequest.BuildermeshOwner(String meshOwner)The Amazon Web Services IAM account ID of the service mesh owner.CreateVirtualRouterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateVirtualRouterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateVirtualRouterRequest.Builderspec(Consumer<VirtualRouterSpec.Builder> spec)The virtual router specification to apply.CreateVirtualRouterRequest.Builderspec(VirtualRouterSpec spec)The virtual router specification to apply.CreateVirtualRouterRequest.Buildertags(Collection<TagRef> tags)Optional metadata that you can apply to the virtual router to assist with categorization and organization.CreateVirtualRouterRequest.Buildertags(Consumer<TagRef.Builder>... tags)Optional metadata that you can apply to the virtual router to assist with categorization and organization.CreateVirtualRouterRequest.Buildertags(TagRef... tags)Optional metadata that you can apply to the virtual router to assist with categorization and organization.CreateVirtualRouterRequest.BuildervirtualRouterName(String virtualRouterName)The name to use for the virtual router.-
Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateVirtualRouterRequest.Builder clientToken(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.
- 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.
-
meshName
CreateVirtualRouterRequest.Builder meshName(String meshName)
The name of the service mesh to create the virtual router in.
- Parameters:
meshName- The name of the service mesh to create the virtual router in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshOwner
CreateVirtualRouterRequest.Builder meshOwner(String 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.
- 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.
-
spec
CreateVirtualRouterRequest.Builder spec(VirtualRouterSpec spec)
The virtual router specification to apply.
- Parameters:
spec- The virtual router specification to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
default CreateVirtualRouterRequest.Builder spec(Consumer<VirtualRouterSpec.Builder> spec)
The virtual router specification to apply.
This is a convenience method that creates an instance of theVirtualRouterSpec.Builderavoiding the need to create one manually viaVirtualRouterSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(VirtualRouterSpec).- Parameters:
spec- a consumer that will call methods onVirtualRouterSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spec(VirtualRouterSpec)
-
tags
CreateVirtualRouterRequest.Builder tags(Collection<TagRef> tags)
Optional metadata that you can apply to the virtual router 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 router 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.
-
tags
CreateVirtualRouterRequest.Builder tags(TagRef... tags)
Optional metadata that you can apply to the virtual router 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 router 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.
-
tags
CreateVirtualRouterRequest.Builder tags(Consumer<TagRef.Builder>... tags)
Optional metadata that you can apply to the virtual router 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 to#tags(List.) - Parameters:
tags- a consumer that will call methods onTagRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
virtualRouterName
CreateVirtualRouterRequest.Builder virtualRouterName(String virtualRouterName)
The name to use for the virtual router.
- Parameters:
virtualRouterName- The name to use for the virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVirtualRouterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVirtualRouterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-