Interface CreateMeshRequest.Builder
-
- All Superinterfaces:
AppMeshRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateMeshRequest.Builder,CreateMeshRequest>,SdkBuilder<CreateMeshRequest.Builder,CreateMeshRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMeshRequest
public static interface CreateMeshRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<CreateMeshRequest.Builder,CreateMeshRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateMeshRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateMeshRequest.BuildermeshName(String meshName)The name to use for the service mesh.CreateMeshRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMeshRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateMeshRequest.Builderspec(Consumer<MeshSpec.Builder> spec)The service mesh specification to apply.CreateMeshRequest.Builderspec(MeshSpec spec)The service mesh specification to apply.CreateMeshRequest.Buildertags(Collection<TagRef> tags)Optional metadata that you can apply to the service mesh to assist with categorization and organization.CreateMeshRequest.Buildertags(Consumer<TagRef.Builder>... tags)Optional metadata that you can apply to the service mesh to assist with categorization and organization.CreateMeshRequest.Buildertags(TagRef... tags)Optional metadata that you can apply to the service mesh to assist with categorization and organization.-
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
CreateMeshRequest.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
CreateMeshRequest.Builder meshName(String meshName)
The name to use for the service mesh.
- Parameters:
meshName- The name to use for the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
CreateMeshRequest.Builder spec(MeshSpec spec)
The service mesh specification to apply.
- Parameters:
spec- The service mesh specification to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
default CreateMeshRequest.Builder spec(Consumer<MeshSpec.Builder> spec)
The service mesh specification to apply.
This is a convenience method that creates an instance of theMeshSpec.Builderavoiding the need to create one manually viaMeshSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(MeshSpec).- Parameters:
spec- a consumer that will call methods onMeshSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spec(MeshSpec)
-
tags
CreateMeshRequest.Builder tags(Collection<TagRef> tags)
Optional metadata that you can apply to the service mesh 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 service mesh 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
CreateMeshRequest.Builder tags(TagRef... tags)
Optional metadata that you can apply to the service mesh 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 service mesh 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
CreateMeshRequest.Builder tags(Consumer<TagRef.Builder>... tags)
Optional metadata that you can apply to the service mesh 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)
-
overrideConfiguration
CreateMeshRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMeshRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-