public AlarmAction withSns(SNSTopicPublishAction sns) {
        setSns(sns);
        return this;
    }
@param sns
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/AlarmAction.java