@Test void setCameraRefThrowsOnNull() { Assertions.assertThrows(NullPointerException.class, () -> builder.setCameraRef(null)); }
public CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef) { this.cameraRef = Objects.requireNonNull(cameraRef); return this; }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef) { this.cameraRef = Objects.requireNonNull(cameraRef); return this; } }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef) { this.cameraRef = Objects.requireNonNull(cameraRef); return this; }  }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef) { this.cameraRef = Objects.requireNonNull(cameraRef); return this; }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build(); }
CloseSessionOptionBuilder { public CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef) { this.cameraRef = Objects.requireNonNull(cameraRef); return this; }  CloseSessionOptionBuilder setCameraRef(final EdsCameraRef cameraRef); CloseSessionOptionBuilder setReleaseCameraRef(final boolean releaseCameraRef); CloseSessionOptionBuilder setCamera(final CanonCamera camera); CloseSessionOption build();  }