public ActivityResponse withResult(String result) {
        setResult(result);
        return this;
    }
<p>
Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.
</p>

@param result
       Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ActivityResponse.java