public static interface MeshData.Builder extends SdkPojo, CopyableBuilder<MeshData.Builder,MeshData>
Modifier and Type | Method and Description |
---|---|
MeshData.Builder |
meshName(String meshName)
The name of the service mesh.
|
default MeshData.Builder |
metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the service mesh.
|
MeshData.Builder |
metadata(ResourceMetadata metadata)
The associated metadata for the service mesh.
|
default MeshData.Builder |
status(Consumer<MeshStatus.Builder> status)
The status of the service mesh.
|
MeshData.Builder |
status(MeshStatus status)
The status of the service mesh.
|
copy
applyMutation, build
MeshData.Builder meshName(String meshName)
The name of the service mesh.
meshName
- The name of the service mesh.MeshData.Builder metadata(ResourceMetadata metadata)
The associated metadata for the service mesh.
metadata
- The associated metadata for the service mesh.default MeshData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the service mesh.
This is a convenience that creates an instance of theResourceMetadata.Builder
avoiding the need to
create one manually via ResourceMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadata(ResourceMetadata)
.metadata
- a consumer that will call methods on ResourceMetadata.Builder
metadata(ResourceMetadata)
MeshData.Builder status(MeshStatus status)
The status of the service mesh.
status
- The status of the service mesh.default MeshData.Builder status(Consumer<MeshStatus.Builder> status)
The status of the service mesh.
This is a convenience that creates an instance of theMeshStatus.Builder
avoiding the need to create
one manually via MeshStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to status(MeshStatus)
.status
- a consumer that will call methods on MeshStatus.Builder
status(MeshStatus)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.