public Ami withState(ImageState state) {
        setState(state);
        return this;
    }
@param state
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/Ami.java