@Test void buildThrowsIfCameraRefNull() { Assertions.assertThrows(IllegalStateException.class, () -> builder.build()); }
public CloseSessionOption build() { validate(); return new CloseSessionOption(cameraRef, releaseCameraRef, camera); }
CloseSessionOptionBuilder { public CloseSessionOption build() { validate(); return new CloseSessionOption(cameraRef, releaseCameraRef, camera); } }
CloseSessionOptionBuilder { public CloseSessionOption build() { validate(); return new CloseSessionOption(cameraRef, releaseCameraRef, camera); }  }
CloseSessionOptionBuilder { public CloseSessionOption build() { validate(); return new CloseSessionOption(cameraRef, releaseCameraRef, camera); }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build(); }
CloseSessionOptionBuilder { public CloseSessionOption build() { validate(); return new CloseSessionOption(cameraRef, releaseCameraRef, camera); }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build();  }