Interface MeshData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MeshData.Builder,
,MeshData> SdkBuilder<MeshData.Builder,
,MeshData> SdkPojo
- Enclosing class:
MeshData
public static interface MeshData.Builder
extends SdkPojo, CopyableBuilder<MeshData.Builder,MeshData>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the service mesh.default MeshData.Builder
metadata
(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the service mesh.metadata
(ResourceMetadata metadata) The associated metadata for the service mesh.default MeshData.Builder
spec
(Consumer<MeshSpec.Builder> spec) The associated specification for the service mesh.The associated specification for the service mesh.default MeshData.Builder
status
(Consumer<MeshStatus.Builder> status) The status of the service mesh.status
(MeshStatus status) The status of the service mesh.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 Details
-
meshName
The name of the service mesh.
- Parameters:
meshName
- The name of the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the service mesh.
- Parameters:
metadata
- The associated metadata for the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the service mesh.
This is a convenience method that creates an instance of theResourceMetadata.Builder
avoiding the need to create one manually viaResourceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(ResourceMetadata)
.- Parameters:
metadata
- a consumer that will call methods onResourceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spec
The associated specification for the service mesh.
- Parameters:
spec
- The associated specification for the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The associated specification for the service mesh.
This is a convenience method that creates an instance of theMeshSpec.Builder
avoiding the need to create one manually viaMeshSpec.builder()
.When the
Consumer
completes,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:
-
status
The status of the service mesh.
- Parameters:
status
- The status of the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the service mesh.
This is a convenience method that creates an instance of theMeshStatus.Builder
avoiding the need to create one manually viaMeshStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(MeshStatus)
.- Parameters:
status
- a consumer that will call methods onMeshStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-