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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MeshData.BuildermeshName(String meshName)The name of the service mesh.default MeshData.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata)The associated metadata for the service mesh.MeshData.Buildermetadata(ResourceMetadata metadata)The associated metadata for the service mesh.default MeshData.Builderspec(Consumer<MeshSpec.Builder> spec)The associated specification for the service mesh.MeshData.Builderspec(MeshSpec spec)The associated specification for the service mesh.default MeshData.Builderstatus(Consumer<MeshStatus.Builder> status)The status of the service mesh.MeshData.Builderstatus(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 Detail
-
meshName
MeshData.Builder meshName(String 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
MeshData.Builder metadata(ResourceMetadata 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
default MeshData.Builder metadata(Consumer<ResourceMetadata.Builder> 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:
metadata(ResourceMetadata)
-
spec
MeshData.Builder spec(MeshSpec 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
default MeshData.Builder spec(Consumer<MeshSpec.Builder> 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:
spec(MeshSpec)
-
status
MeshData.Builder status(MeshStatus 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
default MeshData.Builder status(Consumer<MeshStatus.Builder> 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:
status(MeshStatus)
-
-