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.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the service mesh.metadata(ResourceMetadata metadata) The associated metadata for the service mesh.default MeshData.Builderspec(Consumer<MeshSpec.Builder> spec) The associated specification for the service mesh.The associated specification for the service mesh.default MeshData.Builderstatus(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaResourceMetadata.builder().When the
Consumercompletes,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.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:
-
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.Builderavoiding the need to create one manually viaMeshStatus.builder().When the
Consumercompletes,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:
-