Interface MeshSpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MeshSpec.Builder,,MeshSpec> SdkBuilder<MeshSpec.Builder,,MeshSpec> SdkPojo
- Enclosing class:
MeshSpec
public static interface MeshSpec.Builder
extends SdkPojo, CopyableBuilder<MeshSpec.Builder,MeshSpec>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MeshSpec.BuilderegressFilter(Consumer<EgressFilter.Builder> egressFilter) The egress filter rules for the service mesh.egressFilter(EgressFilter egressFilter) The egress filter rules for the service mesh.default MeshSpec.BuilderserviceDiscovery(Consumer<MeshServiceDiscovery.Builder> serviceDiscovery) Sets the value of the ServiceDiscovery property for this object.serviceDiscovery(MeshServiceDiscovery serviceDiscovery) Sets the value of the ServiceDiscovery property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
egressFilter
The egress filter rules for the service mesh.
- Parameters:
egressFilter- The egress filter rules for the service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressFilter
The egress filter rules for the service mesh.
This is a convenience method that creates an instance of theEgressFilter.Builderavoiding the need to create one manually viaEgressFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toegressFilter(EgressFilter).- Parameters:
egressFilter- a consumer that will call methods onEgressFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceDiscovery
Sets the value of the ServiceDiscovery property for this object.- Parameters:
serviceDiscovery- The new value for the ServiceDiscovery property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDiscovery
Sets the value of the ServiceDiscovery property for this object. This is a convenience method that creates an instance of theMeshServiceDiscovery.Builderavoiding the need to create one manually viaMeshServiceDiscovery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceDiscovery(MeshServiceDiscovery).- Parameters:
serviceDiscovery- a consumer that will call methods onMeshServiceDiscovery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-