You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
The clients build requests by using the [builder pattern](https://en.wikipedia.org/wiki/Builder_pattern).
47
-
For instance, let us imagine the case in which we want to add a fault rule for S3 on the `us-east-1` region.
46
+
The clients accept requests built by using the [builder pattern](https://en.wikipedia.org/wiki/Builder_pattern).
47
+
For instance, let us imagine the case in which you want to add a fault rule for S3 on the `us-east-1` region.
48
48
You first need to use the `FaultRuleRequest` class to build a fault rule request.
49
49
Then, you need to pass such a request object to the `addFaultRules` method of a created `ChaosClient`.
50
50
@@ -58,8 +58,7 @@ var addedRules = client.addFaultRules(request);
58
58
```
59
59
60
60
As a second example, let us look at the necessary code to save and load a Cloud Pod.
61
-
The `PodsClient` exposes two functions, `savePod` and `loadPod`, which expect a `SavePodRequest` and a
62
-
`LoadPodRequest`, respectively.
61
+
Similarly to the `ChaosClient`, the `PodsClient` exposes two functions, `savePod` and `loadPod`, which expect a `SavePodRequest` and a `LoadPodRequest`, respectively.
0 commit comments